session_token
Module0x34a2…c82c
- Move path
- 0xbc3d…e5f9::session_token
- Functions
- 87 public, 1 entry
- Structs
- 4
- Friend modules
- None
session_token
- access_policy19
- attributes18
- collection19
- composable_nft28
- composable_svg27
- composable_url10
- creators16
- display_info14
- frozen_pub1
- mint_cap15
- mint_event3
- mint_pass12
- mint_supply19
- nft18
- nft_bag28
- nft_protocol5
- p2p_list8
- p2p_list_domain13
- plugins14
- royalty29
- royalty_strategy_bps23
- session_token8
- supply27
- svg13
- symbol10
- tags11
- transfer_allowlist6
- transfer_allowlist_domain13
- transfer_token5
- url7
Functions8
- public fun assert_field_auth<T0: drop, T1: store + key>(&SessionToken<T1>,&borrow_request::BorrowRequest<T0, T1>)
- public fun assert_parent_auth<T0: drop, T1: store + key>(&SessionToken<T1>,&borrow_request::BorrowRequest<T0, T1>)
- public fun confirm<T0: drop, T1: store + key>(&SessionToken<T1>,&mut borrow_request::BorrowRequest<T0, T1>)
- public entry fun enforce<T0, T1>(&mut request::Policy<request::WithNft<T0, T1>>,&request::PolicyCap)
- public fun issue_session_token_field<T0: store + key, T1: store>(&mut Kiosk,typed_id::TypedID<T0>,address,u64)
Structs4
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- SessionToken<phantom T0>storekey
id UID nft_id ID field Option<TypeName> expiry_ms u64 timeout_id ID entity address - SessionTokenRuledrop
dummy_field bool - TimeOut<phantom T0>storekey
id UID expiry_ms u64 access_token ID - TimeOutDfKeycopydropstore
nft_id ID
Constants1
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 998 | u64 | Abort code | issue_session_tokenissue_session_token_fielddropconfirmand 2 more |