Add storage IPFS hash to the storage list permanently
STRING_ARRAY[0][0] text: the string text to add to the storage list ID:31
Batch Add and Enable Plugin Operation
pluginList: the array of the plugins ID:15
Batch Add Member Operation
address[] memberAddressArray: the array of the address to add as member
uint256[] memberRoleArray: the array of the role of the member to add
string[] memberNameArray: the array of the name of the member to add
ID:7
Batch Add Emergency Agent Operation
pluginList: the array of the plugins ID:12
Batch Add Voting Rules
votingRuleList: the array of the voting rules ID:19
Batch Add Withdrawable Balance Operation
addressArray: the array of the address to add withdrawable balance
amountArray: the array of the amount to add withdrawable balance ID:17
Batch Burn Token Operation
uint256[] tokenClassArray: the array of the token class index to burn token from
uint256[] amountArray: the array of the amount of the token to burn
ID:5
Batch Burn tokens and Refund
uint256[] tokenClassArray: the array of the token class index to burn tokens from
uint256[] amountArray: the array of the amount of the token to burn
uint256[] priceArray: the price of each token class to burn ID:30
Batch Burn Token From Addr A Operation
address[] fromAddressArray: the array of the address to burn token from
uint256[] tokenClassArray: the array of the token class index to burn token from
uint256[] amountArray: the array of the amount of the token to burn
ID:6
Batch Change Member Name Operation
address[] memberAddressArray: the array of the address to change name of as member
string[] memberNameArray: the array of the name of the member to change
ID:11
Batch Change Member Role Operation
address[] memberAddressArray: the array of the address to change role of as member
uint256[] memberRoleArray: the array of the role of the member to change
ID:10
Batch Create Token Class Operation
string[] nameArray: the array of the name of the token class to create
uint256[] tokenIndexArray: the array of the token index of the token class to create
uint256[] votingWeightArray: the array of the voting weight of the token class to create
uint256[] dividendWeightArray: the array of the dividend weight of the token class to create
ID:2
Batch Disable Plugin Operation
uint256[] pluginIndexArray: the array of the plugins index to disable
bool[] isBeforeOperationArray: the array of the flag to indicate if the plugin is before operation ID:14
Batch Enable Plugin Operation
uint256[] pluginIndexArray: the array of the plugins index to enable
bool[] isBeforeOperationArray: the array of the flag to indicate if the plugin is before operation ID:13
Batch Mint Token Operation
address[] toAddressArray: the array of the address to mint new token to
uint256[] tokenClassArray: the array of the token class index to mint new token from
uint256[] amountArray: the array of the amount of the token to mint
ID: 1
Batch Pay to Mint Tokens Operation
address[] addressArray: the array of the address to mint tokens
uint256[] tokenClassArray: the array of the token class index to mint tokens
uint256[] amountArray: the array of the amount to mint tokens
uint256[] priceArray: the price of each token class to mint
uint256[1] dividendableFlag: the flag to indicate if the payment is dividendable. 1 for yes (pay for purchase), 0 for no (pay for investment) ID:20
Pay some cash to transfer tokens (can be used as product coins)
address[] toAddressArray: the array of the address to transfer token to
uint256[] tokenClassArray: the array of the token class index to transfer token from
uint256[] amountArray: the array of the amount of the token to transfer
uint256[] priceArray: the price of each token class to transfer @ param UINT256_2DARRAY[3] uint256[1] dividendableFlag: the flag to indicate if the payment is dividendable. 1 for yes (pay for purchase), 0 for no (pay for investment) ID:21
Batch Reduce Withdrawable Balance Operation
addressArray: the array of the address to substract withdrawable balance
amountArray: the array of the amount to substract withdrawable balance ID:18
Batch Resume Member Operation
address[] memberAddressArray: the array of the address to reinstate as member
ID:9
Batch Set Parameter Operation
parameterNameArray: the array of the parameter name
uint256[] parameterValueArray: the array of the parameter value ID:16
Batch Suspend Member Operation
address[] memberAddressArray: the array of the address to suspend as member
ID:8
Batch Transfer Token Operation
address[] toAddressArray: the array of the address to transfer token to
uint256[] tokenClassArray: the array of the token class index to transfer token from
uint256[] amountArray: the array of the amount of the token to transfer
ID:3
Batch Transfer Token From Addr A to Addr B Operation
address[] fromAddressArray (source): the array of the address to transfer token from
address[] toAddressArray (target): the array of the address to transfer token to
uint256[] tokenClassArray: the array of the token class index to transfer token from
uint256[] amountArray: the array of the amount of the token to transfer
ID:4
Call a contract with the given abi
address contractAddress: the address of the contract to call
abi the encodedWithSignature abi of the function to call
uint256 the value to send to the contract ID:25
Call emergency agents to handle emergency situations
address[] addressArray: the array of the emergency agents index to call ID:24
Accepting current DARCs to be upgraded from the old contract address
The address of the old contract ID:36
Emergency mode termination. Emergency agents cannot do anything after this operation ID:34
Execute a program that has been voted and approved ID:33
Calculate the dividends and offer to token holders by adding the dividends to the withdrawable balance of each token holder
ID:27
Pay some cash
amount: the amount of cash to pay
paymentType: the type of cash to pay, 0 for ethers/matic/original tokens 1 for USDT, 2 for USDC (right now only 0 is supported), 3 for DAI ...
dividendable: the flag to indicate if the payment is dividendable, 0 for no (pay for investment), 1 for yes (pay for purchase) ID:26
Reserved ID 23 DO NOT USE ID:23
Reserved ID 28 DO NOT USE ID:28
Set the approval for all transfer operations by address
address: the address to set approval for all transfer operations ADDRESS_2DARRAY[0][0] targetAddress ID:29
Invalid Operation ID: 0
Upgrade the contract to a new contract address
The address of the new contract ID:35
Upgrade the contract to the latest version ID:37
Vote for a voting pending program
voteArray: the array of the vote for each program ID:32
Generated using TypeDoc
Notice
Add an array of address as emergency agents (can be used as product NFTs with a new unique token class)
Param
address[] The array of the address to add as emergency agents ID:22