Static
Readonly
ACCOUNT_Static
Readonly
MIN_Static
decodeStatic
findThe Cargo IDL program
Stats Definition Account key
Mint key
Sequence ID of the Cargo Type Account
Static
initInitialize a new Cargo Type Account
InstructionReturn
Object for initCargoType instruction
Input struct
Key authorized for this instruction
Mint key
Profile with required Cargo Permissions
Cargo Program
Stats Definition Account
Stats Definition Sequence ID
Static
initInitialize a new cargo type with seq_id = definition.seq_id + 1
InstructionReturn
Object containing function parameters
Input struct
Key authorized to use this instruction
Profile with required Cargo Permissions
Cargo Program
Stats Definition Account
Cargo Type Mint
Static
initInitializes a new Cargo Type Account with the same Mint as an old one. Updates stats if new values are provided, otherwise copies from old Cargo Type Account.
InstructionReturn
Object containing parameters
Input struct
Key authorized to use this instruction
Mint account
Old Cargo Type Account
Profile with required Cargo permissions
Cargo program
Stats Definition Account
Generated using TypeDoc
Finds PDA for Cargo Type Account
Returns
PDA key & bump