swap
Module0x7713…9f9d
- Move path
- 0xaec9…5faa::swap
- Functions
- 136 public, 0 entry
- Structs
- 3
- Friend modules
- None
Functions13
- public fun end_swap_router<T0, T1>(RouterCap<T0, T1>,&protocol_fee::ProtocolFeeConfig,&nft::NftConfig,&mut treasury::Treasury,address,&Clock): Coin<T1>
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- ROUTERdrop
dummy_field bool coin_in Coin<T0> coin_out Coin<T1> first_swap RouterMetadata previous_swap RouterMetadata final_swap RouterMetadata - RouterMetadatacopydrop
typeName vector<u8> amount u64
Constants1
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | "" // interpreted as UTF8 string | vector<u8> | Value | begin_swap_router |