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 bisonai

List organizations

yarn cli delegator organizationList

Insert new reporter

yarn cli delegator reporterInsert \
      --address ${address} \
      --organizationId ${organizationId}
  • example

yarn cli delegator reporterInsert --address 0xab --organizationId 10

List reporters

yarn cli delegator reporterList

Insert new contract

  • example

List contracts

Insert new function

  • example

List functions

Connect contract with reporter

List reporters

Last updated