assign functions to role. must be called by contract's admin
target contract's address
admin's ONT ID.This id must be registered.
role name
array of function name
publicKey's id, use the pk to varify tx
Address to pay for the gas.
Gas price
Gas limit
assign role to ONT IDs. must be called by contract's admin
target contract's address
admin's ONT ID.This id must be registered.
role's name
array of ONT ID
admin's pk id.use to varify tx.
Address to pay for the gas.
Gas price
Gas limit
delegate role to others. Can't delegate repeatedly。
target contract's address
ONT ID of user that wants to delegate role.This id must be registered.
ONT ID of user that will receive role.This id must be registered.
role name
time of delegate period in second
= 1 for now.
The number of user's publick in the DDO.
Address to pay for the gas.
Gas price
Gas limit
Creates transaction that initialize the admin of some contract.
Admin's ONT ID
Address to pay for the gas.
Gas price
Gas limit
Transfer the authority to new admin
Uer's contract address
New admin's ONT ID. This id must be registered.
Original admin's public key id. Use this pk to varify tx.
Address to pay for the gas.
Gas price
Gas limit
verify the user's token of target contract
user's target contract address
caller's ONT ID.This id must be registered.
the function to call
publicKey's id, use this pk to varify tx
Address to pay for the gas.
Gas price
Gas limit
role's owner can withdraw the delegate in advance
target contract's address
ONT ID of role's owner.This id must be registered.
ONT ID of role's agent.This id must be registered.
role's name
The number of user's public key in the DDO
Address to pay for the gas.
Gas price
Gas limit
Generated using TypeDoc
Address of auth contract.