Delegator
Register organization, reporters, contracts, functions, and connect them together to create your white list rules
Insert new organization
yarn cli delegator organizationInsert \
--name ${orgName}example
yarn cli delegator organizationInsert --name bisonaiList organizations
yarn cli delegator organizationListInsert new reporter
yarn cli delegator reporterInsert \
--address ${address} \
--organizationId ${organizationId}example
yarn cli delegator reporterInsert --address 0xab --organizationId 10List reporters
yarn cli delegator reporterListInsert new contract
yarn cli delegator contractInsert \
--address ${address}example
yarn cli delegator contractInsert --address 0x23List contracts
yarn cli delegator contractListInsert new function
yarn cli delegator functionInsert \
--name ${functionSignature} \
--contractId ${contractId}example
yarn cli delegator functionInsert --name "submit(int256,uint256)" --contractId 15List functions
yarn cli delegator functionListConnect contract with reporter
yarn cli delegator contractConnect \
--contractId 1 \
--reporterId 1List reporters
yarn cli delegator reporterListLast updated