marginpy.generated_client.types.utp_config module

class UTPConfigJSON

Bases: TypedDict

utp_program_id: str
margin_requirement_deposit_buffer: WrappedI80F48JSON
class UTPConfig(utp_program_id: 'PublicKey', margin_requirement_deposit_buffer: 'wrapped_i80f48.WrappedI80F48')

Bases: object

layout: ClassVar = <CStruct>
utp_program_id: PublicKey
margin_requirement_deposit_buffer: wrapped_i80f48.WrappedI80F48
classmethod from_decoded(obj: Container) UTPConfig
to_encodable() dict[str, Any]
to_json() UTPConfigJSON
classmethod from_json(obj: UTPConfigJSON) UTPConfig