Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Currency

Fully qualified path: pragma_lib::types::Currency

[derive(Serde, Drop, Copy, starknet::Store)]
struct Currency {
    id: felt252,
    decimals: u32,
    is_abstract_currency: bool,
    starknet_address: ContractAddress,
    ethereum_address: ContractAddress,
}

Members

id

Fully qualified path: pragma_lib::types::Currency::id

id: felt252

decimals

Fully qualified path: pragma_lib::types::Currency::decimals

decimals: u32

is_abstract_currency

Fully qualified path: pragma_lib::types::Currency::is_abstract_currency

is_abstract_currency: bool

starknet_address

Fully qualified path: pragma_lib::types::Currency::starknet_address

starknet_address: ContractAddress

ethereum_address

Fully qualified path: pragma_lib::types::Currency::ethereum_address

ethereum_address: ContractAddress