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

API

session_token

Module0x34a2…c82c
Move path
0xbc3d…e5f9::session_token
Functions
87 public, 1 entry
Structs
4
Friend modules
None
session_token

Bytecode81 lines

The on-chain disassembly. Offsets are bytecode positions within each function.

// Move bytecode v6
module bc3df36be17f27ac98e3c839b2589db8475fa07b20657b08e8891e3aaf5ee5f9.session_token {
use e2c7a6843cb13d9549a9d2dc1c266b572ead0b4b9f090e7c3c46de2714102b43::borrow_request;
use e2c7a6843cb13d9549a9d2dc1c266b572ead0b4b9f090e7c3c46de2714102b43::request;
use ed6c6fe0732be937f4379bc0b471f0f6bfbe0e8741968009e0f01e6de3d59f32::typed_id;
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000001::type_name;
use 0000000000000000000000000000000000000000000000000000000000000002::kiosk;
use 0000000000000000000000000000000000000000000000000000000000000002::object;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
 
struct SessionToken<phantom Ty0> has store, key {
id: UID,
nft_id: ID,
field: Option<TypeName>,
expiry_ms: u64,
timeout_id: ID,
entity: address
}
 
struct SessionTokenRule has drop {
dummy_field: bool
}
 
struct TimeOutDfKey has copy, drop, store {
nft_id: ID
}
 
struct TimeOut<phantom Ty0> has store, key {
id: UID,
expiry_ms: u64,
access_token: ID
}
 
public issue_session_token<Ty0: store + key>(Arg0: &mut Kiosk, Arg1: TypedID<Ty0>, Arg2: address, Arg3: u64, Arg4: &mut TxContext): ID {
B0:
0LdConst[0](u64: 998)
1Abort
}
 
public issue_session_token_field<Ty0: store + key, Ty1: store>(Arg0: &mut Kiosk, Arg1: TypedID<Ty0>, Arg2: address, Arg3: u64, Arg4: &mut TxContext) {
B0:
0LdConst[0](u64: 998)
1Abort
}
 
entry public enforce<Ty0, Ty1>(Arg0: &mut Policy<WithNft<Ty0, Ty1>>, Arg1: &PolicyCap) {
B0:
0LdConst[0](u64: 998)
1Abort
}
 
public drop<Ty0, Ty1>(Arg0: &mut Policy<WithNft<Ty0, Ty1>>, Arg1: &PolicyCap) {
B0:
0LdConst[0](u64: 998)
1Abort
}
 
public confirm<Ty0: drop, Ty1: store + key>(Arg0: &SessionToken<Ty1>, Arg1: &mut BorrowRequest<Ty0, Ty1>) {
B0:
0LdConst[0](u64: 998)
1Abort
}
 
public assert_field_auth<Ty0: drop, Ty1: store + key>(Arg0: &SessionToken<Ty1>, Arg1: &BorrowRequest<Ty0, Ty1>) {
B0:
0LdConst[0](u64: 998)
1Abort
}
 
public assert_parent_auth<Ty0: drop, Ty1: store + key>(Arg0: &SessionToken<Ty1>, Arg1: &BorrowRequest<Ty0, Ty1>) {
B0:
0LdConst[0](u64: 998)
1Abort
}
 
Constants [
0 => u64: 998
]
}