forwarding_address
Module0x0000…0002
- Move path
- 0x0000…0002::forwarding_address
- Functions
- 10 public, 0 entry
- Structs
- 1
- Friend modules
- None
forwarding_address
- accumulator18
- accumulator_metadata2
- accumulator_settlement8
- address10
- address_alias5
- allowance40
- authenticator_state13
- bag10
- balance18
- bcs30
- bls1238143
- borrow4
- clock3
- coin54
- coin_registry43
- config11
- deny_list21
- derived_object3
- display14
- display_registry18
- dynamic_field19
- dynamic_object_field15
- ecdsa_k13
- ecdsa_r12
- ecvrf1
- ed255191
- event3
- forwarding_address1
- funds_accumulator12
- groth1610
- group_ops23
- hash2
- hex3
- hmac1
- kiosk41
- kiosk_extension14
- linked_table19
- math7
- nitro_attestation11
- object32
- object_bag11
- object_table10
- package26
- party5
- pay8
- poseidon2
- priority_queue8
- protocol_config1
- prover0
- random20
- rangeproofs3
- ristretto25518
- scratch18
- sui2
- table10
- table_vec12
- token45
- transfer16
- transfer_policy18
- tx_context19
- types1
- url4
- vdf4
- vec_map20
- vec_set11
- versioned7
- zklogin_verified_id9
- zklogin_verified_issuer6
Bytecode36 lines
The on-chain disassembly. Offsets are instruction numbers within each function.
// Move bytecode v7
module 2.forwarding_address {
use 0000000000000000000000000000000000000000000000000000000000000002::object;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
struct ForwardingAddressRegistry has key {
id: UID
}
create(Arg0: &TxContext) {
B0:
0MoveLoc[0](Arg0: &TxContext)
1Call tx_context::sender(&TxContext): address
2LdConst[2](address: 0x00..)
3Eq
4BrFalse(6)
B1:
5Branch(8)
B2:
6LdU64(13835058162656346113)
7Abort
B3:
8Call object::forwarding_address_registry(): UID
9Pack[0](ForwardingAddressRegistry)
10Call transfer::share_object<ForwardingAddressRegistry>(ForwardingAddressRegistry)
11Ret
}
Constants [
0 => vector<u8>: "ENotSystemAddress" // interpreted as UTF8 string
1 => vector<u8>: "Only the system can create the forwarding address registry." // interpreted as UTF8 string
2 => address: 0x0000000000000000000000000000000000000000000000000000000000000000
]
}