Distributor
Config
Key | Type | Description |
| CanonicalAddr | Contract address of Gov |
| CanonicalAddr | Contract address of ANC token |
| Vec<CanonicalAddr> | List of addresses permissioned to spend ANC in Distributor |
| Uint128 | Maximum amount of ANC spendable per spend event |
InstantiateMsg
Key | Type | Description |
| String | Contract address of Gov |
| String | Contract address of ANC token |
| Vec<String> | List of addresses permissioned to spend ANC in Distributor |
| Uint128 | Maximum amount of ANC spendable per spend event |
ExecuteMsg
UpdateConfig
UpdateConfig
Updates the Distributor contract configuration. Can only be issued by the Gov contract.
Key | Type | Description |
| Uint128 | Maximum amount of ANC spendable per spend event |
* = optional
Spend
Spend
Spends ANC in Distributor. Can only be issued by whitelisted addresses.
Key | Type | Description |
| String | Recipient address of ANC spend |
| Uint128 | ANC amount to receive |
AddDistributor
AddDistributor
Adds a new ANC distribution contract to the whitelist. Can only be issued by the Gov contract.
Key | Type | Description |
| String | Contract address of ANC distribution contract to add |
RemoveDistributor
RemoveDistributor
Removes a ANC distribution contract from the whitelist. Can only be issued by the Gov contract.
Key | Type | Description |
| String | Contract address of ANC distribution contract to remove |
QueryMsg
Config
Config
Gets the Distributor contract configuration.
Key | Type | Description |
ConfigResponse
ConfigResponse
Key | Type | Description |
| String | Contract address of Gov |
| String | Contract address of ANC Token |
| Vec<String> | List of addresses permissioned to spend ANC in Distributor |
| Uint128 | Maximum amount of ANC spendable per spend event |
Last updated