Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

allowance

Module0x0000…0002
Move path
0x0000…0002::allowance
Functions
4027 public, 2 entry
Structs
9
Friend modules
None
allowance

Functions40

Structs9

key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.

Constants39

Constants are shown the way the code loads them. Bytecode does not keep their names.

IndexValueTypeUseUsed in
0"ENotSpender" // interpreted as UTF8 stringvector<u8>Value
1"Transaction sender is not this allowance's spender" // interpreted as UTF8 stringvector<u8>Value
2"EWrongApp" // interpreted as UTF8 stringvector<u8>Value
3"Allowance is not bound to this app" // interpreted as UTF8 stringvector<u8>Value
4"EExpired" // interpreted as UTF8 stringvector<u8>Value
5"Allowance has expired" // interpreted as UTF8 stringvector<u8>Value
6"EExceedsLifetimeCap" // interpreted as UTF8 stringvector<u8>Value
7"Spend would exceed the lifetime cap" // interpreted as UTF8 stringvector<u8>Value
8"EExceedsRateLimit" // interpreted as UTF8 stringvector<u8>Value
9"Spend would exceed the current rate-limit window" // interpreted as UTF8 stringvector<u8>Value
10"ENoLimit" // interpreted as UTF8 stringvector<u8>Value
11"Allowance must have a lifetime cap or a rate limit" // interpreted as UTF8 stringvector<u8>Value
12"EWrongAllowance" // interpreted as UTF8 stringvector<u8>Value
13"Withdrawal was issued for a different allowance" // interpreted as UTF8 stringvector<u8>Value
14"EBadRateLimit" // interpreted as UTF8 stringvector<u8>Value
15"Rate limit needs a positive period and limit" // interpreted as UTF8 stringvector<u8>Value
16"ENotStarted" // interpreted as UTF8 stringvector<u8>Value
17"Allowance is not active yet; it has a future start timestamp" // interpreted as UTF8 stringvector<u8>Value
18"EHasApp" // interpreted as UTF8 stringvector<u8>Value
19"App-bound allowance: spend through `app_balance_spend`" // interpreted as UTF8 stringvector<u8>Value
20"EWrongFunder" // interpreted as UTF8 stringvector<u8>Value
21"Withdrawal debits a different address than this allowance's funder" // interpreted as UTF8 stringvector<u8>Value
22"EWrongCap" // interpreted as UTF8 stringvector<u8>Value
23"Cap does not match this allowance" // interpreted as UTF8 stringvector<u8>Value
24"ENameTooLong" // interpreted as UTF8 stringvector<u8>Value
25"Name exceeds the 128-byte limit" // interpreted as UTF8 stringvector<u8>Value
26"EZeroLifetimeCap" // interpreted as UTF8 stringvector<u8>Value
27"Lifetime cap must be greater than zero" // interpreted as UTF8 stringvector<u8>Value
28"EBadTimeWindow" // interpreted as UTF8 stringvector<u8>Value
29"Expiration must be after the start time" // interpreted as UTF8 stringvector<u8>Value
30"ENoExpiration" // interpreted as UTF8 stringvector<u8>Value
31"Allowance must have an expiration or a rate limit" // interpreted as UTF8 stringvector<u8>Value
32"ENotEnabled" // interpreted as UTF8 stringvector<u8>Value
33"Allowances are not enabled" // interpreted as UTF8 stringvector<u8>Value
34"ESponsorWithdrawalNotEnabled" // interpreted as UTF8 stringvector<u8>Value
35"Sponsor allowance withdrawals are not enabled" // interpreted as UTF8 stringvector<u8>Value
36128u64Valuenew_settings
3786400000u64Valuecivil_from_ms
38"enable_allowances" // interpreted as UTF8 stringvector<u8>Valuenew_settings