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

API

payment

Module0x5580…2003
Move path
0xd22b…08f0::payment
Functions
1613 public, 0 entry
Structs
4
Friend modules
None
payment

Functions16

Structs4

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

  • No fields

  • No fields

  • versionu8
    domaindomain::Domain
    yearsu8
    base_amountu64
    discounts_appliedVecMap<String, u64>
    metadataVecMap<String, String>
  • TransactionEventcopydropstore
    appTypeName
    domaindomain::Domain
    yearsu8
    request_data_versionu8
    base_amountu64
    discounts_appliedVecMap<String, u64>
    metadataVecMap<String, String>
    is_renewalbool
    currencyTypeName
    currency_amountu64

Constants20

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

IndexValueTypeUseUsed in
0"ENotMultipleDiscountsAllowed" // interpreted as UTF8 stringvector<u8>Value
1"Multiple discounts are not allowed" // interpreted as UTF8 stringvector<u8>Value
2"ENotSupportedType" // interpreted as UTF8 stringvector<u8>Value
3"Renewal is not supported in this function call. Call `renew` instead." // interpreted as UTF8 stringvector<u8>Value
4"ERecordNotFound" // interpreted as UTF8 stringvector<u8>Value
5"Tries to renew a name that does not exist in the registry (has expired + has been burned)" // interpreted as UTF8 stringvector<u8>Value
6"ERecordExpired" // interpreted as UTF8 stringvector<u8>Value
7"Tries to renew an expired name (post grace period)." // interpreted as UTF8 stringvector<u8>Value
8"EReceiptDomainMissmatch" // interpreted as UTF8 stringvector<u8>Value
9"The receipt domain does not match the domain of the NFT." // interpreted as UTF8 stringvector<u8>Value
10"EVersionMismatch" // interpreted as UTF8 stringvector<u8>Value
11"Version mismatch. The payment intent is not of the correct version for this package." // interpreted as UTF8 stringvector<u8>Value
12"EInvalidDiscountPercentage" // interpreted as UTF8 stringvector<u8>Value
13"Discount range is [0, 100]." // interpreted as UTF8 stringvector<u8>Value
14"ECannotRenewSubdomain" // interpreted as UTF8 stringvector<u8>Value
15"Cannot renew a subdomain using the payment system." // interpreted as UTF8 stringvector<u8>Value
16"EDiscountAlreadyApplied" // interpreted as UTF8 stringvector<u8>Value
17"This discount key has already been applied to the payment intent." // interpreted as UTF8 stringvector<u8>Value
18"ECannotExceedMaxYears" // interpreted as UTF8 stringvector<u8>Value
19"Cannot exceed the maximum number of years." // interpreted as UTF8 stringvector<u8>Value