mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-23 23:05:18 +00:00
add authorizations for x/gov (#1569)
This commit is contained in:
parent
9b0a348239
commit
99890b9c84
3
.github/scripts/seed-protonet.sh
vendored
3
.github/scripts/seed-protonet.sh
vendored
@ -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}
|
||||
|
228
ci/env/kava-protonet/genesis.json
vendored
228
ci/env/kava-protonet/genesis.json
vendored
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user