Initialisation Instructions
[Role] Instruction
[SuperAdmin] Init
Create the Token accounts for:
Deposit Account
PendingDeposit Account
Treasury Account
Insurance Account
Tier1/Tier2/Tier3 Prize Account
Create LatestEpoch account.
LatestEpoch.index = 0
LatestEpoch.state = ENDED
// These will be later used to authorize super admin, admin and investor for their allowed instructions.
LatestEpoch.pubkeys = { super_admin, admin, investor, nezha_vrf_progam_id }
Note, once the nezha_vrf_progam_id is injected into the Game Contract it cannot be changed. It will always reference the Draw Contract.
[Admin] FranciumInit
Initialize the accounts needed by the Francium protocol.
Last updated