add authorizations for x/gov (#1569)

This commit is contained in:
Draco 2023-04-20 16:43:33 -04:00 committed by GitHub
parent 9b0a348239
commit 99890b9c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 230 additions and 1 deletions

View File

@ -23,6 +23,9 @@ echo "sweet ocean blush coil mobile ten floor sample nuclear power legend where
# fund evm-contract-deployer account (using issuance)
kava tx issuance issue 200000000ukava kava1van3znl6597xgwwh46jgquutnqkwvwszjg04fz --from dev-wallet --gas-prices 0.5ukava -y
# fund 5k kava to x/community account (using issuance)
kava tx issuance issue 5000000000ukava kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5 --from dev-wallet --gas-prices 0.5ukava -y
# deploy and fund USDC ERC20 contract
MULTICHAIN_USDC_CONTRACT_DEPLOY=$(npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" deploy-erc20 "USD Coin" USDC 6)
MULTICHAIN_USDC_CONTRACT_ADDRESS=${MULTICHAIN_USDC_CONTRACT_DEPLOY: -42}

View File

@ -232,7 +232,233 @@
]
},
"authz": {
"authorization": []
"authorization": [
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.bank.v1beta1.MsgMultiSend"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.bank.v1beta1.MsgSend"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.distribution.v1beta1.MsgFundCommunityPool"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.staking.v1beta1.MsgBeginRedelegate"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.staking.v1beta1.MsgDelegate"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/cosmos.staking.v1beta1.MsgUndelegate"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.cdp.v1beta1.MsgCreateCDP"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.cdp.v1beta1.MsgDeposit"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.cdp.v1beta1.MsgDrawDebt"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.cdp.v1beta1.MsgRepayDebt"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.cdp.v1beta1.MsgWithdraw"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.hard.v1beta1.MsgBorrow"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.hard.v1beta1.MsgDeposit"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.hard.v1beta1.MsgRepay"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.hard.v1beta1.MsgWithdraw"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.liquid.v1beta1.MsgBurnDerivative"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.liquid.v1beta1.MsgMintDerivative"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.swap.v1beta1.MsgDeposit"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.swap.v1beta1.MsgSwapExactForTokens"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.swap.v1beta1.MsgSwapForExactTokens"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
},
{
"authorization": {
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/kava.swap.v1beta1.MsgWithdraw"
},
"expiration": null,
"grantee": "kava10d07y265gmmuvt4z0w9aw880jnsr700jxh8cq5",
"granter": "kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5"
}
]
},
"bank": {
"params": {