[Role] Instruction
Initialises the VRF account in Switchboard
Note, both roles are required to sign the instruction because Admin holds the account funds to pay for invoking Switchboard.
Calls Switchboard and registers a callback.
Consumes the response from Switchboard. Note, the VRF address is hardcoded so it can only be read from the agreed account.
Change the authorized key of any of SuperAdmin, Admin.
This is updated as NezhaVRFProgramState.pubkeys.<key_type> = value
Last updated 2 years ago