position
Module0x67b3…928a
- Move path
- 0x3492…c267::position
- Functions
- 198 public, 0 entry
- Structs
- 3
- Friend modules
- pool
position
Functions19
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- POSITIONdrop
dummy_field bool - Positionstorekey
id UID pool_id ID lower_tick i32::I32 upper_tick i32::I32 fee_rate u64 liquidity u128 fee_growth_coin_a u128 fee_growth_coin_b u128 token_a_fee u64 token_b_fee u64 name String coin_type_a String coin_type_b String description String image_url String position_index u128 reward_infos vector<PositionRewardInfo> - PositionRewardInfocopydropstore
reward_growth_inside_last u128 coins_owed_reward u64
Constants23
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | "name" // interpreted as UTF8 string | vector<u8> | Value | init |
| 1 | "id" // interpreted as UTF8 string | vector<u8> | Value | init |
| 2 | "pool" // interpreted as UTF8 string | vector<u8> | Value | init |
| 3 | "coin_a" // interpreted as UTF8 string | vector<u8> | Value | init |
| 4 | "coin_b" // interpreted as UTF8 string | vector<u8> | Value | init |
| 5 | "link" // interpreted as UTF8 string | vector<u8> | Value | init |
| 6 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 7 | "description" // interpreted as UTF8 string | vector<u8> | Value | init |
| 8 | "project_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 9 | "creator" // interpreted as UTF8 string | vector<u8> | Value | init |
| 10 | "{name}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 11 | "{id}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 12 | "{pool_id}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 13 | "{coin_type_a}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 14 | "{coin_type_b}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 15 | "https://trade.bluefin.io/spot-nft/id={id}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 16 | "{image_url}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 17 | "{description}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 18 | "https://trade.bluefin.io" // interpreted as UTF8 string | vector<u8> | Value | init |
| 19 | "Bluefin" // interpreted as UTF8 string | vector<u8> | Value | init |
| 20 | "Bluefin Position, " // interpreted as UTF8 string | vector<u8> | Value | create_position_name |
| 21 | "This NFT represents a liquidity position of a Bluefin " // interpreted as UTF8 string | vector<u8> | Value | create_position_description |
| 22 | " pool. The owner of this NFT can modify or redeem the position" // interpreted as UTF8 string | vector<u8> | Value | create_position_description |