@ocap/proto 1.31.0 → 1.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"nested":{"ocap":{"nested":{"StatusCode":{"values":{"OK":0,"INVALID_NONCE":1,"INVALID_SIGNATURE":2,"INVALID_SENDER_STATE":3,"INVALID_RECEIVER_STATE":4,"INSUFFICIENT_DATA":5,"INSUFFICIENT_FUND":6,"INVALID_OWNER":7,"INVALID_TX":8,"UNSUPPORTED_TX":9,"EXPIRED_TX":10,"TOO_MANY_TXS":11,"INVALID_LOCK_STATUS":12,"INVALID_REQUEST":13,"INVALID_MONIKER":16,"INVALID_PASSPHRASE":17,"INVALID_MULTISIG":20,"INVALID_WALLET":21,"INVALID_CHAIN_ID":22,"CONSENSUS_RPC_ERROR":24,"STORAGE_RPC_ERROR":25,"NOENT":26,"ACCOUNT_MIGRATED":27,"RPC_CONNECTION_ERROR":28,"UNSUPPORTED_STAKE":30,"INSUFFICIENT_STAKE":31,"INVALID_STAKE_STATE":32,"EXPIRED_WALLET_TOKEN":33,"BANNED_UNSTAKE":34,"INVALID_ASSET":35,"INVALID_TX_SIZE":36,"INVALID_SIGNER_STATE":37,"INVALID_FORGE_STATE":38,"EXPIRED_ASSET":39,"UNTRANSFERRABLE_ASSET":40,"READONLY_ASSET":41,"CONSUMED_ASSET":42,"INVALID_DEPOSIT_VALUE":43,"EXCEED_DEPOSIT_CAP":44,"INVALID_DEPOSIT_TARGET":45,"INVALID_DEPOSITOR":46,"INVALID_WITHDRAWER":47,"INVALID_EXPIRY_DATE":49,"INVALID_CUSTODIAN":51,"INSUFFICIENT_GAS":52,"INVALID_SWAP":53,"INVALID_HASHKEY":54,"INVALID_DELEGATION":55,"INSUFFICIENT_DELEGATION":56,"INVALID_DELEGATION_RULE":57,"INVALID_DELEGATION_TYPE_URL":58,"SENDER_NOT_AUTHORIZED":59,"PROTOCOL_NOT_RUNNING":60,"PROTOCOL_NOT_PAUSED":61,"PROTOCOL_NOT_ACTIVATED":62,"INVALID_DEACTIVATION":63,"SENDER_WITHDRAW_ITEMS_FULL":64,"WITHDRAW_ITEM_MISSING":65,"INVALID_WITHDRAW_TX":66,"INVALID_CHAIN_TYPE":67,"INVALID_TIME":68,"INVALID_SUBSCRIBE":69,"INVALID_DID_TYPE":70,"INVALID_CANDIDATE_STATE":71,"VALIDATOR_NOT_FOUND":72,"VALIDATOR_NOT_CHANGED":73,"INVALID_FACTORY_STATE":74,"INVALID_FACTORY_PROPS":75,"INVALID_FACTORY_INPUT":76,"INVALID_TOKEN":77,"INVALID_ROLLUP":78,"INVALID_BLOCK":79,"FORBIDDEN":403,"INTERNAL":500,"TIMEOUT":504}},"KeyType":{"values":{"ED25519":0,"SECP256K1":1,"ETHEREUM":2,"PASSKEY":3}},"HashType":{"values":{"KECCAK":0,"SHA3":1,"SHA2":2,"KECCAK_384":6,"SHA3_384":7,"KECCAK_512":13,"SHA3_512":14}},"EncodingType":{"values":{"BASE16":0,"BASE58":1}},"RoleType":{"values":{"ROLE_ACCOUNT":0,"ROLE_NODE":1,"ROLE_DEVICE":2,"ROLE_APPLICATION":3,"ROLE_SMART_CONTRACT":4,"ROLE_BOT":5,"ROLE_ASSET":6,"ROLE_STAKE":7,"ROLE_VALIDATOR":8,"ROLE_GROUP":9,"ROLE_TX":10,"ROLE_TETHER":11,"ROLE_SWAP":12,"ROLE_DELEGATION":13,"ROLE_VC":14,"ROLE_BLOCKLET":15,"ROLE_STORE":16,"ROLE_TOKEN":17,"ROLE_FACTORY":18,"ROLE_ROLLUP":19,"ROLE_STORAGE":20,"ROLE_ANY":63}},"UpgradeType":{"values":{"CONFIG_APP":0,"CONFIG_FORGE":1,"CONFIG_DFS":2,"CONFIG_CONSENSUS":3,"CONFIG_P2P":4,"EXE_APP":10,"EXE_FORGE":11,"EXE_DFS":12,"EXE_CONSENSUS":13,"EXE_P2P":14}},"UpgradeAction":{"values":{"VERIFY":0,"BACKUP":1,"REPLACE":2,"RESTART_APP":10,"RESTART_DFS":11,"RESTART_CONSENSUS":12,"RESTART_P2P":13,"RESTART_FORGE":14,"ROLLBACK_IF_FAIL":30,"RESTART_ALL_IF_FAIL":31,"CRASH_IF_FAIL":33,"DROP_ADDRESS_BOOK":50}},"StateType":{"values":{"STATE_ACCOUNT":0,"STATE_ASSET":1,"STATE_CHANNEL":2,"STATE_FORGE":3,"STATE_STAKE":4}},"StakeType":{"values":{"STAKE_NODE":0,"STAKE_USER":1,"STAKE_ASSET":2,"STAKE_CHAIN":3}},"ProtocolStatus":{"values":{"RUNNING":0,"PAUSED":1,"TERMINATED":2}},"BigUint":{"fields":{"value":{"type":"bytes","id":1}}},"BigSint":{"fields":{"value":{"type":"bytes","id":1},"minus":{"type":"bool","id":2}}},"TokenSymbol":{"fields":{"address":{"type":"string","id":1},"symbol":{"type":"string","id":2},"decimal":{"type":"int32","id":3},"unit":{"type":"string","id":4}}},"TokenInfo":{"fields":{"address":{"type":"string","id":1},"symbol":{"type":"string","id":2},"decimal":{"type":"int32","id":3},"unit":{"type":"string","id":4},"name":{"type":"string","id":5},"description":{"type":"string","id":6},"icon":{"type":"string","id":7},"maxTotalSupply":{"type":"string","id":8},"metadata":{"type":"google.protobuf.Any","id":9},"website":{"type":"string","id":10},"spenders":{"rule":"repeated","type":"string","id":11},"minters":{"rule":"repeated","type":"string","id":12},"type":{"type":"string","id":13}}},"WalletType":{"fields":{"pk":{"type":"KeyType","id":1},"hash":{"type":"HashType","id":2},"address":{"type":"EncodingType","id":3},"role":{"type":"RoleType","id":4}}},"WalletInfo":{"fields":{"type":{"type":"WalletType","id":1,"options":{"deprecated":true}},"sk":{"type":"bytes","id":2},"pk":{"type":"bytes","id":3},"address":{"type":"string","id":4}}},"ChainInfo":{"fields":{"id":{"type":"string","id":1},"network":{"type":"string","id":2},"moniker":{"type":"string","id":3},"consensusVersion":{"type":"string","id":4},"synced":{"type":"bool","id":5},"appHash":{"type":"bytes","id":6},"blockHash":{"type":"bytes","id":7},"blockHeight":{"type":"string","id":8},"blockTime":{"type":"google.protobuf.Timestamp","id":9},"address":{"type":"string","id":10},"votingPower":{"type":"string","id":11},"totalTxs":{"type":"string","id":12},"version":{"type":"string","id":13},"forgeAppsVersion":{"keyType":"string","type":"string","id":15},"supportedTxs":{"rule":"repeated","type":"string","id":16}}},"NodeInfo":{"fields":{"id":{"type":"string","id":1},"network":{"type":"string","id":2},"moniker":{"type":"string","id":3},"consensusVersion":{"type":"string","id":4},"synced":{"type":"bool","id":5},"appHash":{"type":"bytes","id":6},"blockHash":{"type":"bytes","id":7},"blockHeight":{"type":"string","id":8},"blockTime":{"type":"google.protobuf.Timestamp","id":9},"address":{"type":"string","id":10},"votingPower":{"type":"string","id":11},"totalTxs":{"type":"string","id":12},"version":{"type":"string","id":13},"forgeAppsVersion":{"keyType":"string","type":"string","id":15},"supportedTxs":{"rule":"repeated","type":"string","id":16},"ip":{"type":"string","id":17},"geoInfo":{"type":"GeoInfo","id":18},"p2pAddress":{"type":"string","id":19}}},"Validator":{"fields":{"address":{"type":"string","id":1},"power":{"type":"string","id":2}}},"ConsensusParams":{"fields":{"maxBytes":{"type":"string","id":1},"maxGas":{"type":"string","id":2},"maxValidators":{"type":"uint32","id":3},"maxCandidates":{"type":"uint32","id":4},"pubKeyTypes":{"rule":"repeated","type":"string","id":5},"validators":{"rule":"repeated","type":"Validator","id":6},"validatorChanged":{"type":"bool","id":7},"paramChanged":{"type":"bool","id":8}}},"UpgradeTask":{"fields":{"type":{"type":"UpgradeType","id":1},"dataHash":{"type":"string","id":2},"actions":{"rule":"repeated","type":"UpgradeAction","id":4}}},"UpgradeTasks":{"fields":{"item":{"rule":"repeated","type":"UpgradeTask","id":1}}},"Multisig":{"fields":{"signer":{"type":"string","id":1},"pk":{"type":"bytes","id":2},"signature":{"type":"bytes","id":3},"delegator":{"type":"string","id":4},"extra":{"type":"string","id":5},"data":{"type":"google.protobuf.Any","id":15}}},"Transaction":{"fields":{"from":{"type":"string","id":1},"nonce":{"type":"uint64","id":2},"chainId":{"type":"string","id":3},"pk":{"type":"bytes","id":4},"gas":{"type":"uint32","id":5},"delegator":{"type":"string","id":6},"signature":{"type":"bytes","id":13},"signatures":{"rule":"repeated","type":"Multisig","id":14},"itx":{"type":"google.protobuf.Any","id":15},"receipts":{"rule":"repeated","type":"TransactionReceipt","id":16},"serviceFee":{"type":"string","id":17}}},"TransactionInfo":{"fields":{"tx":{"type":"Transaction","id":1},"height":{"type":"string","id":2},"index":{"type":"uint32","id":3},"hash":{"type":"string","id":4},"tags":{"rule":"repeated","type":"vendor.KVPair","id":5},"code":{"type":"StatusCode","id":6},"time":{"type":"google.protobuf.Timestamp","id":7},"receipts":{"rule":"repeated","type":"TransactionReceipt","id":8},"sender":{"type":"string","id":9},"receiver":{"type":"string","id":10},"tokenSymbols":{"rule":"repeated","type":"TokenSymbol","id":22}}},"TransactionReceipt":{"fields":{"address":{"type":"string","id":1},"changes":{"rule":"repeated","type":"ReceiptChange","id":2}}},"ReceiptChange":{"fields":{"target":{"type":"string","id":1},"action":{"type":"string","id":2},"value":{"type":"string","id":3}}},"TokenInput":{"fields":{"address":{"type":"string","id":1},"value":{"type":"string","id":2}}},"TransactionInput":{"fields":{"owner":{"type":"string","id":1},"tokens":{"rule":"repeated","type":"TokenInput","id":2},"assets":{"rule":"repeated","type":"string","id":3}}},"VariableInput":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"description":{"type":"string","id":3},"required":{"type":"bool","id":4}}},"DelegateConfig":{"fields":{"deltaInterval":{"type":"uint32","id":1},"typeUrls":{"rule":"repeated","type":"string","id":2}}},"VaultConfig":{"fields":{"slashedStake":{"type":"string","id":1},"txFee":{"type":"string","id":2},"txGas":{"rule":"repeated","type":"string","id":3}}},"TxFeeConfig":{"fields":{"typeUrl":{"type":"string","id":1},"fee":{"type":"string","id":2}}},"TxGasConfig":{"fields":{"price":{"type":"uint64","id":1},"createState":{"type":"uint64","id":2},"updateState":{"type":"uint64","id":3},"dataStorage":{"type":"uint64","id":4},"minStake":{"type":"string","id":5},"maxStake":{"type":"string","id":6},"stakeLockPeriod":{"type":"uint64","id":7}}},"TxStakeConfig":{"fields":{"createToken":{"type":"uint64","id":1},"createTokenLockPeriod":{"type":"uint64","id":2}}},"TransactionConfig":{"fields":{"maxAssetSize":{"type":"uint32","id":1},"maxListSize":{"type":"uint32","id":2},"maxMultisig":{"type":"uint32","id":3},"delegate":{"type":"DelegateConfig","id":4},"txFee":{"rule":"repeated","type":"TxFeeConfig","id":5},"txGas":{"type":"TxGasConfig","id":6},"txStake":{"type":"TxStakeConfig","id":7}}},"BlockInfo":{"fields":{"height":{"type":"string","id":1},"numTxs":{"type":"uint32","id":2},"time":{"type":"google.protobuf.Timestamp","id":3},"appHash":{"type":"bytes","id":4},"proposer":{"type":"bytes","id":5},"txs":{"rule":"repeated","type":"TransactionInfo","id":6},"totalTxs":{"type":"string","id":7},"invalidTxs":{"rule":"repeated","type":"TransactionInfo","id":8},"txsHashes":{"rule":"repeated","type":"string","id":9},"invalidTxsHashes":{"rule":"repeated","type":"string","id":10},"consensusHash":{"type":"bytes","id":11},"dataHash":{"type":"bytes","id":12},"evidenceHash":{"type":"bytes","id":13},"lastCommitHash":{"type":"bytes","id":14},"lastResultsHash":{"type":"bytes","id":15},"nextValidatorsHash":{"type":"bytes","id":16},"validatorsHash":{"type":"bytes","id":17},"version":{"type":"vendor.Version","id":18},"lastBlockId":{"type":"vendor.BlockID","id":19}}},"BlockInfoSimple":{"fields":{"height":{"type":"string","id":1},"numTxs":{"type":"uint32","id":2},"time":{"type":"google.protobuf.Timestamp","id":3},"appHash":{"type":"bytes","id":4},"proposer":{"type":"bytes","id":5},"totalTxs":{"type":"string","id":6},"txsHashes":{"rule":"repeated","type":"string","id":7},"invalidTxsHashes":{"rule":"repeated","type":"string","id":8},"consensusHash":{"type":"bytes","id":9},"dataHash":{"type":"bytes","id":10},"evidenceHash":{"type":"bytes","id":11},"lastCommitHash":{"type":"bytes","id":12},"lastResultsHash":{"type":"bytes","id":13},"nextValidatorsHash":{"type":"bytes","id":14},"validatorsHash":{"type":"bytes","id":15},"version":{"type":"vendor.Version","id":16},"lastBlockId":{"type":"vendor.BlockID","id":17}}},"StateContext":{"fields":{"genesisTx":{"type":"string","id":1},"renaissanceTx":{"type":"string","id":2},"genesisTime":{"type":"google.protobuf.Timestamp","id":3},"renaissanceTime":{"type":"google.protobuf.Timestamp","id":4}}},"StakeSummary":{"fields":{"totalStakes":{"type":"BigUint","id":1},"totalUnstakes":{"type":"BigUint","id":2},"context":{"type":"StateContext","id":3}}},"UnconfirmedTxs":{"fields":{"nTxs":{"type":"uint32","id":1},"txs":{"rule":"repeated","type":"Transaction","id":2}}},"NetInfo":{"fields":{"listening":{"type":"bool","id":1},"listeners":{"rule":"repeated","type":"string","id":2},"nPeers":{"type":"uint32","id":3},"peers":{"rule":"repeated","type":"PeerInfo","id":4}}},"GeoInfo":{"fields":{"city":{"type":"string","id":1},"country":{"type":"string","id":2},"latitude":{"type":"float","id":3},"longitude":{"type":"float","id":4}}},"PeerInfo":{"fields":{"id":{"type":"string","id":1},"network":{"type":"string","id":2},"consensusVersion":{"type":"string","id":3},"moniker":{"type":"string","id":4},"ip":{"type":"string","id":5},"geoInfo":{"type":"GeoInfo","id":6}}},"ValidatorsInfo":{"fields":{"blockHeight":{"type":"string","id":1},"validators":{"rule":"repeated","type":"ValidatorInfo","id":2}}},"ValidatorInfo":{"fields":{"address":{"type":"string","id":1},"pubKey":{"type":"vendor.PubKey","id":2},"votingPower":{"type":"string","id":3},"proposerPriority":{"type":"string","id":4},"name":{"type":"string","id":5},"geoInfo":{"type":"GeoInfo","id":6}}},"ForgeToken":{"fields":{"name":{"type":"string","id":1},"symbol":{"type":"string","id":2},"unit":{"type":"string","id":3},"description":{"type":"string","id":4},"icon":{"type":"bytes","id":5},"decimal":{"type":"uint32","id":6},"initialSupply":{"type":"string","id":7},"totalSupply":{"type":"string","id":8},"inflationRate":{"type":"uint32","id":9},"address":{"type":"string","id":10}}},"UpgradeInfo":{"fields":{"height":{"type":"string","id":1},"version":{"type":"string","id":2}}},"WithdrawItem":{"fields":{"hash":{"type":"string","id":1},"value":{"type":"BigUint","id":2}}},"AccountConfig":{"fields":{"address":{"type":"string","id":1},"pk":{"type":"bytes","id":2},"balance":{"type":"BigUint","id":3}}},"Evidence":{"fields":{"hash":{"type":"string","id":1}}},"NFTEndpoint":{"fields":{"id":{"type":"string","id":1},"scope":{"type":"string","id":2}}},"NFTDisplay":{"fields":{"type":{"type":"string","id":1},"content":{"type":"string","id":2}}},"NFTIssuer":{"fields":{"id":{"type":"string","id":1},"pk":{"type":"string","id":2},"name":{"type":"string","id":3}}},"AssetFactoryHook":{"fields":{"name":{"type":"string","id":1},"type":{"type":"string","id":2},"hook":{"type":"string","id":3}}},"IndexedTokenInput":{"fields":{"address":{"type":"string","id":1},"value":{"type":"string","id":2},"decimal":{"type":"int32","id":3},"unit":{"type":"string","id":4},"symbol":{"type":"string","id":5}}},"IndexedFactoryInput":{"fields":{"value":{"type":"string","id":1},"tokens":{"rule":"repeated","type":"IndexedTokenInput","id":2},"assets":{"rule":"repeated","type":"string","id":3},"variables":{"rule":"repeated","type":"VariableInput","id":4}}},"RollupValidator":{"fields":{"pk":{"type":"string","id":1},"address":{"type":"string","id":2},"endpoint":{"type":"string","id":3}}},"RollupSignature":{"fields":{"signer":{"type":"string","id":1},"signature":{"type":"string","id":2}}},"ForeignToken":{"fields":{"type":{"type":"string","id":1},"contractAddress":{"type":"string","id":2},"chainType":{"type":"string","id":3},"chainName":{"type":"string","id":4},"chainId":{"type":"int32","id":5}}},"RevokedStake":{"fields":{"tokens":{"rule":"repeated","type":"TokenInput","id":1},"assets":{"rule":"repeated","type":"string","id":2}}},"ForgeStats":{"fields":{"numBlocks":{"rule":"repeated","type":"string","id":1},"numTxs":{"rule":"repeated","type":"string","id":2},"numStakes":{"rule":"repeated","type":"BigUint","id":3},"numValidators":{"rule":"repeated","type":"uint32","id":4},"numAccountMigrateTxs":{"rule":"repeated","type":"string","id":5},"numCreateAssetTxs":{"rule":"repeated","type":"string","id":6},"numConsensusUpgradeTxs":{"rule":"repeated","type":"uint32","id":7},"numDeclareTxs":{"rule":"repeated","type":"string","id":8},"numDeclareFileTxs":{"rule":"repeated","type":"string","id":9},"numExchangeTxs":{"rule":"repeated","type":"string","id":10},"numStakeTxs":{"rule":"repeated","type":"string","id":11},"numSysUpgradeTxs":{"rule":"repeated","type":"uint32","id":12},"numTransferTxs":{"rule":"repeated","type":"string","id":13},"numUpdateAssetTxs":{"rule":"repeated","type":"string","id":14},"numConsumeAssetTxs":{"rule":"repeated","type":"string","id":15},"tps":{"rule":"repeated","type":"uint32","id":16},"maxTps":{"type":"uint32","id":17},"avgTps":{"type":"uint32","id":18},"avgBlockTime":{"type":"float","id":19}}},"GasEstimate":{"fields":{"max":{"type":"string","id":1}}},"RateLimit":{"fields":{"interval":{"type":"uint64","id":1},"anchor":{"type":"uint64","id":3}}},"TokenLimit":{"fields":{"address":{"type":"string","id":1},"to":{"rule":"repeated","type":"string","id":2},"txCount":{"type":"uint32","id":3},"txAllowance":{"type":"string","id":4},"totalAllowance":{"type":"string","id":5},"validUntil":{"type":"uint64","id":6},"rate":{"type":"RateLimit","id":7},"txSent":{"type":"uint32","id":8},"spentAllowance":{"type":"string","id":9},"lastTx":{"type":"uint64","id":10},"decimal":{"type":"uint32","id":11},"symbol":{"type":"string","id":12},"maxPerTx":{"type":"string","id":13},"windowLimit":{"type":"string","id":14},"windowSeconds":{"type":"uint64","id":15},"windowStart":{"type":"uint64","id":16},"windowSpent":{"type":"string","id":17},"coSignAllowance":{"type":"string","id":18},"coSignRequired":{"type":"bool","id":19},"requirePinnedPayee":{"type":"bool","id":20},"notifyBeforeDebit":{"type":"bool","id":21},"notifyLeadSeconds":{"type":"uint64","id":22}}},"AssetLimit":{"fields":{"address":{"rule":"repeated","type":"string","id":1},"to":{"rule":"repeated","type":"string","id":2},"txCount":{"type":"uint32","id":3},"validUntil":{"type":"uint64","id":4},"rate":{"type":"RateLimit","id":5},"txSent":{"type":"uint32","id":6},"lastTx":{"type":"uint64","id":7}}},"DelegateLimit":{"fields":{"tokens":{"rule":"repeated","type":"TokenLimit","id":1},"assets":{"rule":"repeated","type":"AssetLimit","id":2},"unlimited":{"type":"bool","id":3}}},"CurveConfig":{"fields":{"type":{"type":"string","id":1},"basePrice":{"type":"string","id":2},"slope":{"type":"string","id":3},"fixedPrice":{"type":"string","id":4},"constant":{"type":"uint32","id":5}}},"AccountState":{"fields":{"balance":{"type":"BigUint","id":1},"nonce":{"type":"string","id":2},"numTxs":{"type":"string","id":3},"address":{"type":"string","id":4},"pk":{"type":"bytes","id":5},"type":{"type":"WalletType","id":6,"options":{"deprecated":true}},"moniker":{"type":"string","id":7},"context":{"type":"StateContext","id":8},"issuer":{"type":"string","id":9},"gasBalance":{"type":"BigUint","id":10},"migratedTo":{"rule":"repeated","type":"string","id":13},"migratedFrom":{"rule":"repeated","type":"string","id":14},"numAssets":{"type":"string","id":15,"options":{"deprecated":true}},"tokens":{"rule":"repeated","type":"IndexedTokenInput","id":21},"data":{"type":"google.protobuf.Any","id":50}}},"AssetState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"moniker":{"type":"string","id":3},"readonly":{"type":"bool","id":4},"transferrable":{"type":"bool","id":5},"ttl":{"type":"uint32","id":6},"consumedTime":{"type":"google.protobuf.Timestamp","id":7},"issuer":{"type":"string","id":8},"parent":{"type":"string","id":9},"endpoint":{"type":"NFTEndpoint","id":10},"display":{"type":"NFTDisplay","id":11},"tags":{"rule":"repeated","type":"string","id":12},"context":{"type":"StateContext","id":14},"data":{"type":"google.protobuf.Any","id":50}}},"ForgeState":{"fields":{"address":{"type":"string","id":1},"consensus":{"type":"ConsensusParams","id":2},"tasks":{"keyType":"uint64","type":"UpgradeTasks","id":3},"version":{"type":"string","id":4},"token":{"type":"ForgeToken","id":5},"txConfig":{"type":"TransactionConfig","id":6},"upgradeInfo":{"type":"UpgradeInfo","id":7},"accountConfig":{"rule":"repeated","type":"AccountConfig","id":8},"vaults":{"type":"VaultConfig","id":9},"reservedSymbols":{"rule":"repeated","type":"string","id":10},"data":{"type":"google.protobuf.Any","id":2047}}},"RootState":{"fields":{"address":{"type":"string","id":1},"account":{"type":"bytes","id":2},"asset":{"type":"bytes","id":3},"receipt":{"type":"bytes","id":4},"protocol":{"type":"bytes","id":5},"governance":{"type":"bytes","id":6},"custom":{"type":"bytes","id":7}}},"DelegateOpState":{"fields":{"rule":{"type":"string","id":1,"options":{"deprecated":true}},"numTxs":{"type":"uint64","id":2,"options":{"deprecated":true}},"numTxsDelta":{"type":"uint64","id":3,"options":{"deprecated":true}},"balance":{"type":"BigUint","id":4,"options":{"deprecated":true}},"balanceDelta":{"type":"BigUint","id":5,"options":{"deprecated":true}},"limit":{"type":"DelegateLimit","id":6}}},"DelegateState":{"fields":{"address":{"type":"string","id":1},"ops":{"keyType":"string","type":"DelegateOpState","id":2},"from":{"type":"string","id":3},"to":{"type":"string","id":4},"deny":{"rule":"repeated","type":"string","id":5},"validUntil":{"type":"uint64","id":6},"context":{"type":"StateContext","id":14},"data":{"type":"google.protobuf.Any","id":15}}},"TokenState":{"fields":{"address":{"type":"string","id":1},"issuer":{"type":"string","id":2},"name":{"type":"string","id":3},"description":{"type":"string","id":4},"symbol":{"type":"string","id":5},"unit":{"type":"string","id":6},"decimal":{"type":"uint32","id":7},"icon":{"type":"string","id":8},"totalSupply":{"type":"string","id":9},"foreignToken":{"type":"ForeignToken","id":10},"tokenFactoryAddress":{"type":"string","id":11},"initialSupply":{"type":"string","id":12},"maxTotalSupply":{"type":"string","id":13},"metadata":{"type":"google.protobuf.Any","id":14},"context":{"type":"StateContext","id":15},"website":{"type":"string","id":16},"spenders":{"rule":"repeated","type":"string","id":17},"minters":{"rule":"repeated","type":"string","id":18},"type":{"type":"string","id":19},"data":{"type":"google.protobuf.Any","id":20}}},"AssetFactoryState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"name":{"type":"string","id":3},"description":{"type":"string","id":4},"settlement":{"type":"string","id":5},"limit":{"type":"uint32","id":6},"trustedIssuers":{"rule":"repeated","type":"string","id":7},"input":{"type":"IndexedFactoryInput","id":8},"output":{"type":"CreateAssetTx","id":9},"hooks":{"rule":"repeated","type":"AssetFactoryHook","id":10},"data":{"type":"google.protobuf.Any","id":11},"context":{"type":"StateContext","id":12},"balance":{"type":"BigUint","id":13},"tokens":{"rule":"repeated","type":"IndexedTokenInput","id":14},"numMinted":{"type":"uint32","id":15},"display":{"type":"NFTDisplay","id":16},"lastSettlement":{"type":"google.protobuf.Timestamp","id":17}}},"StakeState":{"fields":{"address":{"type":"string","id":1},"sender":{"type":"string","id":2},"receiver":{"type":"string","id":3},"tokens":{"rule":"repeated","type":"IndexedTokenInput","id":4},"assets":{"rule":"repeated","type":"string","id":5},"revocable":{"type":"bool","id":6},"message":{"type":"string","id":7},"revokeWaitingPeriod":{"type":"uint32","id":8},"revokedTokens":{"rule":"repeated","type":"IndexedTokenInput","id":9},"revokedAssets":{"rule":"repeated","type":"string","id":10},"slashers":{"rule":"repeated","type":"string","id":11},"nonce":{"type":"string","id":12},"context":{"type":"StateContext","id":30},"data":{"type":"google.protobuf.Any","id":50}}},"RollupState":{"fields":{"address":{"type":"string","id":1},"tokenAddress":{"type":"string","id":2},"vaultAddress":{"type":"string","id":3},"contractAddress":{"type":"string","id":4},"seedValidators":{"rule":"repeated","type":"RollupValidator","id":5},"validators":{"rule":"repeated","type":"RollupValidator","id":6},"minStakeAmount":{"type":"string","id":7},"maxStakeAmount":{"type":"string","id":8},"minSignerCount":{"type":"uint32","id":9},"maxSignerCount":{"type":"uint32","id":10},"minBlockSize":{"type":"uint32","id":11},"maxBlockSize":{"type":"uint32","id":12},"minBlockInterval":{"type":"uint32","id":13},"minBlockConfirmation":{"type":"uint32","id":14},"issuer":{"type":"string","id":17},"depositFeeRate":{"type":"uint32","id":18},"withdrawFeeRate":{"type":"uint32","id":19},"proposerFeeShare":{"type":"uint32","id":20},"publisherFeeShare":{"type":"uint32","id":21},"minDepositAmount":{"type":"string","id":22},"minWithdrawAmount":{"type":"string","id":23},"blockHeight":{"type":"uint64","id":24},"blockHash":{"type":"string","id":25},"tokenInfo":{"type":"IndexedTokenInput","id":26},"totalDepositAmount":{"type":"string","id":27},"totalWithdrawAmount":{"type":"string","id":28},"maxDepositAmount":{"type":"string","id":29},"maxWithdrawAmount":{"type":"string","id":30},"minDepositFee":{"type":"string","id":31},"maxDepositFee":{"type":"string","id":32},"minWithdrawFee":{"type":"string","id":33},"maxWithdrawFee":{"type":"string","id":34},"paused":{"type":"bool","id":35},"foreignToken":{"type":"ForeignToken","id":36},"leaveWaitingPeriod":{"type":"uint32","id":37},"publishWaitingPeriod":{"type":"uint32","id":38},"publishSlashRate":{"type":"uint32","id":39},"migrateHistory":{"rule":"repeated","type":"string","id":40},"closed":{"type":"bool","id":41},"vaultHistory":{"rule":"repeated","type":"string","id":42},"context":{"type":"StateContext","id":43},"data":{"type":"google.protobuf.Any","id":50}}},"RollupBlock":{"fields":{"hash":{"type":"string","id":1},"height":{"type":"uint64","id":2},"merkleRoot":{"type":"string","id":3},"previousHash":{"type":"string","id":4},"txsHash":{"type":"string","id":5},"txs":{"rule":"repeated","type":"string","id":6},"proposer":{"type":"string","id":7},"signatures":{"rule":"repeated","type":"Multisig","id":8},"rollup":{"type":"string","id":10},"mintedAmount":{"type":"string","id":11},"burnedAmount":{"type":"string","id":12},"rewardAmount":{"type":"string","id":13},"minReward":{"type":"string","id":14},"governance":{"type":"bool","id":15},"context":{"type":"StateContext","id":30},"data":{"type":"google.protobuf.Any","id":50}}},"EvidenceState":{"fields":{"hash":{"type":"string","id":1},"data":{"type":"string","id":2},"context":{"type":"StateContext","id":30}}},"TokenFactoryState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"tokenAddress":{"type":"string","id":3},"reserveAddress":{"type":"string","id":4},"curve":{"type":"CurveConfig","id":5},"currentSupply":{"type":"string","id":6},"reserveBalance":{"type":"string","id":7},"feeRate":{"type":"int32","id":8},"status":{"type":"string","id":9},"token":{"type":"TokenState","id":10},"reserveToken":{"type":"TokenState","id":11},"context":{"type":"StateContext","id":30},"data":{"type":"google.protobuf.Any","id":50}}},"AccountMigrateTx":{"fields":{"pk":{"type":"bytes","id":1},"type":{"type":"WalletType","id":2,"options":{"deprecated":true}},"address":{"type":"string","id":3},"data":{"type":"google.protobuf.Any","id":15}}},"DeclareTx":{"fields":{"moniker":{"type":"string","id":1},"issuer":{"type":"string","id":2},"data":{"type":"google.protobuf.Any","id":15}}},"DelegateOp":{"fields":{"typeUrl":{"type":"string","id":1},"rules":{"rule":"repeated","type":"string","id":2,"options":{"deprecated":true}},"limit":{"type":"DelegateLimit","id":3}}},"DelegateTx":{"fields":{"address":{"type":"string","id":1},"to":{"type":"string","id":2},"ops":{"rule":"repeated","type":"DelegateOp","id":3},"deny":{"rule":"repeated","type":"string","id":4},"validUntil":{"type":"uint64","id":5},"data":{"type":"google.protobuf.Any","id":15}}},"RevokeDelegateTx":{"fields":{"address":{"type":"string","id":1},"to":{"type":"string","id":2},"typeUrls":{"rule":"repeated","type":"string","id":3},"data":{"type":"google.protobuf.Any","id":15}}},"UpgradeNodeTx":{"fields":{"height":{"type":"uint64","id":1},"version":{"type":"string","id":2},"override":{"type":"bool","id":3}}},"ExchangeInfo":{"fields":{"value":{"type":"BigUint","id":1},"assets":{"rule":"repeated","type":"string","id":2}}},"ExchangeInfoV2":{"fields":{"value":{"type":"BigUint","id":1},"assets":{"rule":"repeated","type":"string","id":2},"tokens":{"rule":"repeated","type":"TokenInput","id":3}}},"ExchangeTx":{"fields":{"to":{"type":"string","id":1},"sender":{"type":"ExchangeInfo","id":2},"receiver":{"type":"ExchangeInfo","id":3},"expiredAt":{"type":"google.protobuf.Timestamp","id":4},"data":{"type":"google.protobuf.Any","id":15}}},"ExchangeV2Tx":{"fields":{"to":{"type":"string","id":1},"sender":{"type":"ExchangeInfoV2","id":2},"receiver":{"type":"ExchangeInfoV2","id":3},"expiredAt":{"type":"google.protobuf.Timestamp","id":4},"data":{"type":"google.protobuf.Any","id":15}}},"TransferTx":{"fields":{"to":{"type":"string","id":1},"value":{"type":"BigUint","id":2},"assets":{"rule":"repeated","type":"string","id":3},"data":{"type":"google.protobuf.Any","id":15}}},"TransferV2Tx":{"fields":{"to":{"type":"string","id":1},"value":{"type":"BigUint","id":2},"assets":{"rule":"repeated","type":"string","id":3},"tokens":{"rule":"repeated","type":"TokenInput","id":4},"data":{"type":"google.protobuf.Any","id":15}}},"TransferV3Tx":{"fields":{"inputs":{"rule":"repeated","type":"TransactionInput","id":1},"outputs":{"rule":"repeated","type":"TransactionInput","id":2},"data":{"type":"google.protobuf.Any","id":15}}},"CreateTokenTx":{"fields":{"name":{"type":"string","id":1},"description":{"type":"string","id":2},"symbol":{"type":"string","id":3},"unit":{"type":"string","id":4},"decimal":{"type":"int32","id":5},"icon":{"type":"string","id":6},"totalSupply":{"type":"string","id":7},"address":{"type":"string","id":8},"initialSupply":{"type":"string","id":9},"maxTotalSupply":{"type":"string","id":10},"foreignToken":{"type":"ForeignToken","id":16},"spenders":{"rule":"repeated","type":"string","id":17},"data":{"type":"google.protobuf.Any","id":20}}},"AssetFactoryInput":{"fields":{"value":{"type":"string","id":1},"tokens":{"rule":"repeated","type":"TokenInput","id":2},"assets":{"rule":"repeated","type":"string","id":3},"variables":{"rule":"repeated","type":"VariableInput","id":4}}},"AcquireAssetV2Tx":{"fields":{"factory":{"type":"string","id":1},"address":{"type":"string","id":2},"assets":{"rule":"repeated","type":"string","id":3},"variables":{"rule":"repeated","type":"VariableInput","id":4},"issuer":{"type":"NFTIssuer","id":5},"data":{"type":"google.protobuf.Any","id":15}}},"AcquireAssetV3Tx":{"fields":{"factory":{"type":"string","id":1},"address":{"type":"string","id":2},"inputs":{"rule":"repeated","type":"TransactionInput","id":3},"owner":{"type":"string","id":4},"variables":{"rule":"repeated","type":"VariableInput","id":5},"issuer":{"type":"NFTIssuer","id":6},"data":{"type":"google.protobuf.Any","id":15}}},"MintAssetTx":{"fields":{"factory":{"type":"string","id":1},"address":{"type":"string","id":2},"assets":{"rule":"repeated","type":"string","id":3},"variables":{"rule":"repeated","type":"VariableInput","id":4},"owner":{"type":"string","id":5},"data":{"type":"google.protobuf.Any","id":15}}},"CreateAssetTx":{"fields":{"moniker":{"type":"string","id":1},"data":{"type":"google.protobuf.Any","id":2},"readonly":{"type":"bool","id":3},"transferrable":{"type":"bool","id":4},"ttl":{"type":"uint32","id":5},"parent":{"type":"string","id":6},"address":{"type":"string","id":7},"issuer":{"type":"string","id":8},"endpoint":{"type":"NFTEndpoint","id":9},"display":{"type":"NFTDisplay","id":10},"tags":{"rule":"repeated","type":"string","id":11}}},"UpdateAssetTx":{"fields":{"address":{"type":"string","id":1},"moniker":{"type":"string","id":2},"consumed":{"type":"bool","id":3},"data":{"type":"google.protobuf.Any","id":15}}},"ConsumeAssetTx":{"fields":{"address":{"type":"string","id":1},"data":{"type":"google.protobuf.Any","id":15}}},"CreateFactoryTx":{"fields":{"name":{"type":"string","id":1},"description":{"type":"string","id":2},"settlement":{"type":"string","id":3},"limit":{"type":"uint32","id":4},"trustedIssuers":{"rule":"repeated","type":"string","id":5},"input":{"type":"AssetFactoryInput","id":6},"output":{"type":"CreateAssetTx","id":7},"hooks":{"rule":"repeated","type":"AssetFactoryHook","id":8},"address":{"type":"string","id":9},"display":{"type":"NFTDisplay","id":10},"data":{"type":"google.protobuf.Any","id":15}}},"StakeTx":{"fields":{"address":{"type":"string","id":1},"receiver":{"type":"string","id":2},"inputs":{"rule":"repeated","type":"TransactionInput","id":3},"locked":{"type":"bool","id":4},"message":{"type":"string","id":5},"revokeWaitingPeriod":{"type":"uint32","id":6},"slashers":{"rule":"repeated","type":"string","id":7},"nonce":{"type":"string","id":8},"data":{"type":"google.protobuf.Any","id":50}}},"RevokeStakeTx":{"fields":{"address":{"type":"string","id":1},"outputs":{"rule":"repeated","type":"TransactionInput","id":2},"data":{"type":"google.protobuf.Any","id":50}}},"ClaimStakeTx":{"fields":{"address":{"type":"string","id":1},"evidence":{"type":"Evidence","id":2},"data":{"type":"google.protobuf.Any","id":50}}},"SlashStakeTx":{"fields":{"address":{"type":"string","id":1},"outputs":{"rule":"repeated","type":"TransactionInput","id":2},"message":{"type":"string","id":3},"data":{"type":"google.protobuf.Any","id":50}}},"ReturnStakeTx":{"fields":{"address":{"type":"string","id":1},"outputs":{"rule":"repeated","type":"TransactionInput","id":2},"message":{"type":"string","id":3},"data":{"type":"google.protobuf.Any","id":50}}},"CreateRollupTx":{"fields":{"address":{"type":"string","id":1},"tokenAddress":{"type":"string","id":2},"vaultAddress":{"type":"string","id":3},"contractAddress":{"type":"string","id":4},"seedValidators":{"rule":"repeated","type":"RollupValidator","id":5},"minStakeAmount":{"type":"string","id":6},"maxStakeAmount":{"type":"string","id":7},"minSignerCount":{"type":"uint32","id":8},"maxSignerCount":{"type":"uint32","id":9},"minBlockSize":{"type":"uint32","id":10},"maxBlockSize":{"type":"uint32","id":11},"minBlockInterval":{"type":"uint32","id":12},"minBlockConfirmation":{"type":"uint32","id":13},"foreignChainType":{"type":"string","id":14},"foreignChainId":{"type":"string","id":15},"depositFeeRate":{"type":"uint32","id":16},"withdrawFeeRate":{"type":"uint32","id":17},"proposerFeeShare":{"type":"uint32","id":18},"minDepositAmount":{"type":"string","id":19},"minWithdrawAmount":{"type":"string","id":20},"maxDepositAmount":{"type":"string","id":21},"maxWithdrawAmount":{"type":"string","id":22},"minDepositFee":{"type":"string","id":23},"maxDepositFee":{"type":"string","id":24},"minWithdrawFee":{"type":"string","id":25},"maxWithdrawFee":{"type":"string","id":26},"paused":{"type":"bool","id":27},"leaveWaitingPeriod":{"type":"uint32","id":28},"publisherFeeShare":{"type":"uint32","id":29},"publishWaitingPeriod":{"type":"uint32","id":30},"publishSlashRate":{"type":"uint32","id":31},"data":{"type":"google.protobuf.Any","id":50}}},"UpdateRollupTx":{"fields":{"minStakeAmount":{"type":"string","id":1},"maxStakeAmount":{"type":"string","id":2},"minSignerCount":{"type":"uint32","id":3},"maxSignerCount":{"type":"uint32","id":4},"minBlockSize":{"type":"uint32","id":5},"maxBlockSize":{"type":"uint32","id":6},"minBlockInterval":{"type":"uint32","id":7},"minBlockConfirmation":{"type":"uint32","id":8},"depositFeeRate":{"type":"uint32","id":9},"withdrawFeeRate":{"type":"uint32","id":10},"proposerFeeShare":{"type":"uint32","id":11},"minDepositAmount":{"type":"string","id":12},"minWithdrawAmount":{"type":"string","id":13},"maxDepositAmount":{"type":"string","id":14},"maxWithdrawAmount":{"type":"string","id":15},"minDepositFee":{"type":"string","id":16},"maxDepositFee":{"type":"string","id":17},"minWithdrawFee":{"type":"string","id":18},"maxWithdrawFee":{"type":"string","id":19},"publisherFeeShare":{"type":"uint32","id":20},"leaveWaitingPeriod":{"type":"uint32","id":21},"publishWaitingPeriod":{"type":"uint32","id":22},"publishSlashRate":{"type":"uint32","id":23},"rollup":{"type":"string","id":40},"data":{"type":"google.protobuf.Any","id":50}}},"JoinRollupTx":{"fields":{"rollup":{"type":"string","id":1},"endpoint":{"type":"string","id":2},"evidence":{"type":"Evidence","id":3},"signatures":{"rule":"repeated","type":"Multisig","id":4},"data":{"type":"google.protobuf.Any","id":50}}},"LeaveRollupTx":{"fields":{"rollup":{"type":"string","id":1},"evidence":{"type":"Evidence","id":2},"signatures":{"rule":"repeated","type":"Multisig","id":3},"data":{"type":"google.protobuf.Any","id":50}}},"CreateRollupBlockTx":{"fields":{"hash":{"type":"string","id":1},"height":{"type":"uint64","id":2},"merkleRoot":{"type":"string","id":3},"previousHash":{"type":"string","id":4},"txsHash":{"type":"string","id":5},"txs":{"rule":"repeated","type":"string","id":6},"proposer":{"type":"string","id":7},"signatures":{"rule":"repeated","type":"Multisig","id":8},"rollup":{"type":"string","id":10},"minReward":{"type":"string","id":11},"governance":{"type":"bool","id":12},"data":{"type":"google.protobuf.Any","id":50}}},"ClaimBlockRewardTx":{"fields":{"rollup":{"type":"string","id":1},"blockHeight":{"type":"uint64","id":2},"blockHash":{"type":"string","id":3},"evidence":{"type":"Evidence","id":4},"publisher":{"type":"string","id":5},"data":{"type":"google.protobuf.Any","id":50}}},"PauseRollupTx":{"fields":{"rollup":{"type":"string","id":1},"data":{"type":"google.protobuf.Any","id":10}}},"ResumeRollupTx":{"fields":{"rollup":{"type":"string","id":1},"data":{"type":"google.protobuf.Any","id":10}}},"CloseRollupTx":{"fields":{"rollup":{"type":"string","id":1},"message":{"type":"string","id":2},"data":{"type":"google.protobuf.Any","id":10}}},"MigrateRollupTx":{"fields":{"rollup":{"type":"string","id":1},"to":{"type":"string","id":2},"type":{"type":"string","id":3},"message":{"type":"string","id":4},"data":{"type":"google.protobuf.Any","id":10}}},"DepositTokenV2Tx":{"fields":{"token":{"type":"TokenInput","id":1},"to":{"type":"string","id":2},"proposer":{"type":"string","id":3},"evidence":{"type":"Evidence","id":4},"rollup":{"type":"string","id":5},"actualFee":{"type":"string","id":7},"data":{"type":"google.protobuf.Any","id":15}}},"WithdrawTokenV2Tx":{"fields":{"token":{"type":"TokenInput","id":1},"to":{"type":"string","id":2},"rollup":{"type":"string","id":3},"proposer":{"type":"string","id":5},"maxFee":{"type":"string","id":6},"actualFee":{"type":"string","id":7},"data":{"type":"google.protobuf.Any","id":15}}},"CreateTokenFactoryTx":{"fields":{"address":{"type":"string","id":1},"feeRate":{"type":"uint32","id":2},"token":{"type":"TokenInfo","id":3},"reserveAddress":{"type":"string","id":4},"curve":{"type":"CurveConfig","id":5},"data":{"type":"google.protobuf.Any","id":50}}},"UpdateTokenFactoryTx":{"fields":{"address":{"type":"string","id":1},"feeRate":{"type":"uint32","id":2},"token":{"type":"TokenInfo","id":3},"data":{"type":"google.protobuf.Any","id":50}}},"MintTokenTx":{"fields":{"tokenFactory":{"type":"string","id":1},"amount":{"type":"string","id":2},"inputs":{"rule":"repeated","type":"TransactionInput","id":3},"receiver":{"type":"string","id":4},"data":{"type":"google.protobuf.Any","id":50}}},"BurnTokenTx":{"fields":{"tokenFactory":{"type":"string","id":1},"inputs":{"rule":"repeated","type":"TransactionInput","id":2},"minReserve":{"type":"string","id":3},"receiver":{"type":"string","id":4},"data":{"type":"google.protobuf.Any","id":50}}},"ItxStub":{"oneofs":{"value":{"oneof":["declare","delegate","revokeDelegate","accountMigrate","createAsset","updateAsset","consumeAsset","exchange","exchangeV2","transfer","transferV2","transferV3","createToken","depositToken","withdrawToken","createTokenFactory","updateTokenFactory","mintToken","burnToken","createFactory","acquireAssetV2","acquireAssetV3","mintAsset","stake","revokeStake","claimStake","slashStake","returnStake","upgradeNode","createRollup","updateRollup","joinRollup","leaveRollup","createRollupBlock","claimBlockReward","pauseRollup","resumeRollup","migrateRollup","closeRollup"]}},"fields":{"declare":{"type":"DeclareTx","id":1},"delegate":{"type":"DelegateTx","id":2},"revokeDelegate":{"type":"RevokeDelegateTx","id":3},"accountMigrate":{"type":"AccountMigrateTx","id":4},"createAsset":{"type":"CreateAssetTx","id":5},"updateAsset":{"type":"UpdateAssetTx","id":6},"consumeAsset":{"type":"ConsumeAssetTx","id":7},"exchange":{"type":"ExchangeTx","id":10},"exchangeV2":{"type":"ExchangeV2Tx","id":12},"transfer":{"type":"TransferTx","id":13},"transferV2":{"type":"TransferV2Tx","id":14},"transferV3":{"type":"TransferV3Tx","id":15},"createToken":{"type":"CreateTokenTx","id":20},"depositToken":{"type":"DepositTokenV2Tx","id":21},"withdrawToken":{"type":"WithdrawTokenV2Tx","id":22},"createTokenFactory":{"type":"CreateTokenFactoryTx","id":23},"updateTokenFactory":{"type":"UpdateTokenFactoryTx","id":24},"mintToken":{"type":"MintTokenTx","id":25},"burnToken":{"type":"BurnTokenTx","id":26},"createFactory":{"type":"CreateFactoryTx","id":30},"acquireAssetV2":{"type":"AcquireAssetV2Tx","id":31},"acquireAssetV3":{"type":"AcquireAssetV3Tx","id":32},"mintAsset":{"type":"MintAssetTx","id":33},"stake":{"type":"StakeTx","id":40},"revokeStake":{"type":"RevokeStakeTx","id":41},"claimStake":{"type":"ClaimStakeTx","id":42},"slashStake":{"type":"SlashStakeTx","id":43},"returnStake":{"type":"ReturnStakeTx","id":44},"upgradeNode":{"type":"UpgradeNodeTx","id":49},"createRollup":{"type":"CreateRollupTx","id":50},"updateRollup":{"type":"UpdateRollupTx","id":51},"joinRollup":{"type":"JoinRollupTx","id":52},"leaveRollup":{"type":"LeaveRollupTx","id":53},"createRollupBlock":{"type":"CreateRollupBlockTx","id":54},"claimBlockReward":{"type":"ClaimBlockRewardTx","id":55},"pauseRollup":{"type":"PauseRollupTx","id":56},"resumeRollup":{"type":"ResumeRollupTx","id":57},"migrateRollup":{"type":"MigrateRollupTx","id":58},"closeRollup":{"type":"CloseRollupTx","id":60}}},"PageOrder":{"fields":{"field":{"type":"string","id":1},"type":{"type":"string","id":2}}},"Page":{"fields":{"cursor":{"type":"string","id":1},"size":{"type":"uint32","id":2},"order":{"rule":"repeated","type":"PageOrder","id":3}}},"TypeFilter":{"fields":{"types":{"rule":"repeated","type":"string","id":1}}},"AssetFilter":{"fields":{"assets":{"rule":"repeated","type":"string","id":1}}},"FactoryFilter":{"fields":{"factories":{"rule":"repeated","type":"string","id":1}}},"DelegationFilter":{"fields":{"delegations":{"rule":"repeated","type":"string","id":1}}},"TokenFilter":{"fields":{"tokens":{"rule":"repeated","type":"string","id":1}}},"StakeFilter":{"fields":{"stakes":{"rule":"repeated","type":"string","id":1}}},"AccountFilter":{"fields":{"accounts":{"rule":"repeated","type":"string","id":1}}},"TxFilter":{"fields":{"txs":{"rule":"repeated","type":"string","id":1}}},"RollupFilter":{"fields":{"rollups":{"rule":"repeated","type":"string","id":1}}},"ValidatorFilter":{"fields":{"validators":{"rule":"repeated","type":"string","id":1}}},"TokenFactoryFilter":{"fields":{"tokenFactories":{"rule":"repeated","type":"string","id":1}}},"TimeFilter":{"fields":{"startDateTime":{"type":"string","id":1},"endDateTime":{"type":"string","id":2},"field":{"type":"string","id":3}}},"Direction":{"values":{"MUTUAL":0,"ONE_WAY":1,"UNION":2}},"AddressFilter":{"fields":{"sender":{"type":"string","id":1},"receiver":{"type":"string","id":2},"direction":{"type":"Direction","id":3}}},"PageInfo":{"fields":{"cursor":{"type":"string","id":1},"next":{"type":"bool","id":2},"total":{"type":"uint32","id":3}}},"TokenMeta":{"fields":{"address":{"type":"string","id":1},"balance":{"type":"string","id":2},"decimal":{"type":"int32","id":3},"unit":{"type":"string","id":4},"symbol":{"type":"string","id":5}}},"Validity":{"values":{"BOTH":0,"VALID":1,"INVALID":2}},"ValidityFilter":{"fields":{"validity":{"type":"Validity","id":1}}},"RangeFilter":{"fields":{"from":{"type":"string","id":1},"to":{"type":"string","id":2}}},"AccountToken":{"fields":{"address":{"type":"string","id":1},"symbol":{"type":"string","id":2},"balance":{"type":"string","id":3},"decimal":{"type":"uint32","id":4}}},"ByDay":{"fields":{"startDate":{"type":"string","id":1},"endDate":{"type":"string","id":2}}},"ByHour":{"fields":{"date":{"type":"string","id":1}}},"IndexedTransaction":{"fields":{"hash":{"type":"string","id":1},"sender":{"type":"string","id":2},"receiver":{"type":"string","id":3},"time":{"type":"string","id":4},"type":{"type":"string","id":5},"tx":{"type":"Transaction","id":6},"valid":{"type":"bool","id":20},"code":{"type":"StatusCode","id":21},"tokenSymbols":{"rule":"repeated","type":"TokenMeta","id":22},"receipts":{"rule":"repeated","type":"TransactionReceipt","id":16}}},"IndexedAccountState":{"fields":{"address":{"type":"string","id":1},"balance":{"type":"BigUint","id":2},"numAssets":{"type":"string","id":3},"numTxs":{"type":"string","id":4},"nonce":{"type":"string","id":5},"genesisTime":{"type":"string","id":6},"renaissanceTime":{"type":"string","id":7},"moniker":{"type":"string","id":8},"migratedFrom":{"type":"string","id":9},"migratedTo":{"type":"string","id":10},"totalReceivedStakes":{"type":"BigUint","id":11},"totalStakes":{"type":"BigUint","id":12},"totalUnstakes":{"type":"BigUint","id":13},"recentNumTxs":{"rule":"repeated","type":"string","id":14},"tokens":{"rule":"repeated","type":"TokenMeta","id":15}}},"IndexedAssetState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"genesisTime":{"type":"string","id":3},"renaissanceTime":{"type":"string","id":4},"moniker":{"type":"string","id":5},"readonly":{"type":"bool","id":6},"consumedTime":{"type":"string","id":7},"issuer":{"type":"string","id":8},"parent":{"type":"string","id":9},"transferrable":{"type":"bool","id":10},"ttl":{"type":"string","id":11},"display":{"type":"NFTDisplay","id":12},"endpoint":{"type":"NFTEndpoint","id":13},"tags":{"rule":"repeated","type":"string","id":14},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedBlock":{"fields":{"height":{"type":"string","id":1},"time":{"type":"string","id":2},"proposer":{"type":"string","id":3},"numTxs":{"type":"string","id":4},"numInvalidTxs":{"type":"string","id":5}}},"IndexedTokenState":{"fields":{"name":{"type":"string","id":1},"description":{"type":"string","id":2},"symbol":{"type":"string","id":3},"unit":{"type":"string","id":4},"decimal":{"type":"int32","id":5},"issuer":{"type":"string","id":6},"icon":{"type":"string","id":7},"totalSupply":{"type":"string","id":8},"address":{"type":"string","id":9},"genesisTime":{"type":"string","id":10},"renaissanceTime":{"type":"string","id":11},"foreignToken":{"type":"ForeignToken","id":13},"tokenFactoryAddress":{"type":"string","id":14},"maxTotalSupply":{"type":"string","id":15},"initialSupply":{"type":"string","id":16},"metadata":{"type":"google.protobuf.Any","id":17},"website":{"type":"string","id":18},"spenders":{"rule":"repeated","type":"string","id":19},"minters":{"rule":"repeated","type":"string","id":20},"type":{"type":"string","id":21},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedTokenFactoryState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"tokenAddress":{"type":"string","id":3},"reserveAddress":{"type":"string","id":4},"curve":{"type":"CurveConfig","id":5},"feeRate":{"type":"int32","id":6},"currentSupply":{"type":"string","id":7},"reserveBalance":{"type":"string","id":8},"status":{"type":"string","id":9},"genesisTime":{"type":"string","id":10},"renaissanceTime":{"type":"string","id":11},"token":{"type":"IndexedTokenInput","id":12},"reserveToken":{"type":"IndexedTokenInput","id":13},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedFactoryState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"name":{"type":"string","id":3},"description":{"type":"string","id":4},"settlement":{"type":"string","id":5},"limit":{"type":"string","id":6},"trustedIssuers":{"rule":"repeated","type":"string","id":7},"input":{"type":"IndexedFactoryInput","id":8},"output":{"type":"CreateAssetTx","id":9},"hooks":{"rule":"repeated","type":"AssetFactoryHook","id":10},"data":{"type":"google.protobuf.Any","id":11},"balance":{"type":"string","id":13},"tokens":{"rule":"repeated","type":"TokenMeta","id":14},"numMinted":{"type":"uint32","id":15},"lastSettlement":{"type":"string","id":16},"genesisTime":{"type":"string","id":17},"renaissanceTime":{"type":"string","id":18},"display":{"type":"NFTDisplay","id":19}}},"IndexedStakeState":{"fields":{"address":{"type":"string","id":1},"sender":{"type":"string","id":2},"receiver":{"type":"string","id":3},"tokens":{"rule":"repeated","type":"TokenMeta","id":4},"assets":{"rule":"repeated","type":"string","id":5},"revocable":{"type":"bool","id":6},"genesisTime":{"type":"string","id":7},"renaissanceTime":{"type":"string","id":8},"message":{"type":"string","id":9},"revokeWaitingPeriod":{"type":"uint32","id":10},"revokedTokens":{"rule":"repeated","type":"TokenMeta","id":11},"revokedAssets":{"rule":"repeated","type":"string","id":12},"slashers":{"rule":"repeated","type":"string","id":13},"nonce":{"type":"string","id":14},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedRollupState":{"fields":{"address":{"type":"string","id":1},"tokenAddress":{"type":"string","id":2},"vaultAddress":{"type":"string","id":3},"contractAddress":{"type":"string","id":4},"seedValidators":{"rule":"repeated","type":"RollupValidator","id":5},"validators":{"rule":"repeated","type":"RollupValidator","id":6},"minStakeAmount":{"type":"string","id":7},"maxStakeAmount":{"type":"string","id":8},"minSignerCount":{"type":"uint32","id":9},"maxSignerCount":{"type":"uint32","id":10},"minBlockSize":{"type":"uint32","id":11},"maxBlockSize":{"type":"uint32","id":12},"minBlockInterval":{"type":"uint32","id":13},"genesisTime":{"type":"string","id":16},"renaissanceTime":{"type":"string","id":17},"tokenInfo":{"type":"IndexedTokenInput","id":18},"issuer":{"type":"string","id":19},"depositFeeRate":{"type":"uint32","id":20},"withdrawFeeRate":{"type":"uint32","id":21},"proposerFeeShare":{"type":"uint32","id":22},"minDepositAmount":{"type":"string","id":23},"minWithdrawAmount":{"type":"string","id":24},"blockHeight":{"type":"uint64","id":25},"blockHash":{"type":"string","id":26},"minBlockConfirmation":{"type":"uint32","id":27},"totalDepositAmount":{"type":"string","id":28},"totalWithdrawAmount":{"type":"string","id":29},"maxDepositAmount":{"type":"string","id":30},"maxWithdrawAmount":{"type":"string","id":31},"minDepositFee":{"type":"string","id":32},"maxDepositFee":{"type":"string","id":33},"minWithdrawFee":{"type":"string","id":34},"maxWithdrawFee":{"type":"string","id":35},"paused":{"type":"bool","id":36},"foreignToken":{"type":"ForeignToken","id":37},"leaveWaitingPeriod":{"type":"uint32","id":38},"publisherFeeShare":{"type":"uint32","id":39},"publishWaitingPeriod":{"type":"uint32","id":40},"publishSlashRate":{"type":"uint32","id":41},"migrateHistory":{"rule":"repeated","type":"string","id":42},"closed":{"type":"bool","id":43},"vaultHistory":{"rule":"repeated","type":"string","id":44},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedRollupBlock":{"fields":{"hash":{"type":"string","id":1},"height":{"type":"uint64","id":2},"merkleRoot":{"type":"string","id":3},"previousHash":{"type":"string","id":4},"txsHash":{"type":"string","id":5},"txs":{"rule":"repeated","type":"string","id":6},"proposer":{"type":"string","id":7},"signatures":{"rule":"repeated","type":"Multisig","id":8},"genesisTime":{"type":"string","id":10},"renaissanceTime":{"type":"string","id":11},"rollup":{"type":"string","id":12},"mintedAmount":{"type":"string","id":13},"burnedAmount":{"type":"string","id":14},"rewardAmount":{"type":"string","id":15},"governance":{"type":"bool","id":16},"tokenInfo":{"type":"IndexedTokenInput","id":18},"data":{"type":"google.protobuf.Any","id":50}}},"SearchResult":{"fields":{"type":{"type":"string","id":1},"id":{"type":"string","id":2},"title":{"type":"string","id":3},"subtitle":{"type":"string","id":4},"description":{"type":"string","id":5},"tags":{"rule":"repeated","type":"string","id":6},"timestamp":{"type":"string","id":7}}},"IndexedRollupValidator":{"fields":{"pk":{"type":"string","id":1},"address":{"type":"string","id":2},"moniker":{"type":"string","id":3},"endpoint":{"type":"string","id":4},"joinTime":{"type":"string","id":5},"leaveTime":{"type":"string","id":6},"genesisTime":{"type":"string","id":7},"renaissanceTime":{"type":"string","id":8},"totalStake":{"type":"string","id":9},"revokedStake":{"type":"string","id":10},"availableStake":{"type":"string","id":11},"totalGain":{"type":"string","id":12},"proposedBlockCount":{"type":"uint64","id":13},"verifiedBlockCount":{"type":"uint64","id":14},"latestBlockHeight":{"type":"uint64","id":15},"latestBlockHash":{"type":"string","id":16},"rollup":{"type":"string","id":17}}},"IndexedDelegationState":{"fields":{"address":{"type":"string","id":1},"from":{"type":"string","id":2},"to":{"type":"string","id":3},"genesisTime":{"type":"string","id":4},"renaissanceTime":{"type":"string","id":5},"ops":{"keyType":"string","type":"DelegateOpState","id":6},"data":{"type":"google.protobuf.Any","id":7}}},"TokenFlowDirection":{"values":{"IN":0,"OUT":1}},"IndexedTokenFlow":{"fields":{"value":{"type":"string","id":1},"hash":{"type":"string","id":2},"from":{"type":"string","id":3},"to":{"type":"string","id":4}}},"VerifyAccountRiskResult":{"fields":{"isRisky":{"type":"bool","id":1},"reason":{"type":"string","id":2},"data":{"type":"BalanceRisky","id":3}},"nested":{"BalanceRisky":{"fields":{"address":{"type":"string","id":1},"balance":{"type":"string","id":2},"transferIn":{"type":"string","id":3},"transferOut":{"type":"string","id":4},"accountCount":{"type":"uint32","id":5},"txCount":{"type":"uint32","id":6}}}}},"TokenDistribution":{"fields":{"tokenAddress":{"type":"string","id":1},"txTime":{"type":"string","id":2},"account":{"type":"string","id":3},"gas":{"type":"string","id":4},"fee":{"type":"string","id":5},"slashedVault":{"type":"string","id":6},"stake":{"type":"string","id":7},"revokedStake":{"type":"string","id":8},"gasStake":{"type":"string","id":9}}}}},"google":{"nested":{"protobuf":{"nested":{"Timestamp":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}}}}}},"vendor":{"nested":{"KVPair":{"fields":{"key":{"type":"bytes","id":1},"value":{"type":"bytes","id":2}}},"BlockParams":{"fields":{"maxBytes":{"type":"int64","id":1},"maxGas":{"type":"int64","id":2}}},"EvidenceParams":{"fields":{"maxAge":{"type":"int64","id":1}}},"ValidatorParams":{"fields":{"pubKeyTypes":{"rule":"repeated","type":"string","id":1}}},"ConsensusParams":{"fields":{"block":{"type":"BlockParams","id":1},"evidence":{"type":"EvidenceParams","id":2},"validator":{"type":"ValidatorParams","id":3}}},"LastCommitInfo":{"fields":{"round":{"type":"int32","id":1},"votes":{"rule":"repeated","type":"VoteInfo","id":2}}},"Version":{"fields":{"Block":{"type":"uint64","id":1},"App":{"type":"uint64","id":2}}},"BlockID":{"fields":{"hash":{"type":"bytes","id":1},"partsHeader":{"type":"PartSetHeader","id":2}}},"PartSetHeader":{"fields":{"total":{"type":"int32","id":1},"hash":{"type":"bytes","id":2}}},"Validator":{"fields":{"address":{"type":"bytes","id":1},"power":{"type":"int64","id":3}}},"ValidatorUpdate":{"fields":{"pubKey":{"type":"PubKey","id":1},"power":{"type":"int64","id":2}}},"VoteInfo":{"fields":{"validator":{"type":"Validator","id":1},"signedLastBlock":{"type":"bool","id":2}}},"PubKey":{"fields":{"type":{"type":"string","id":1},"data":{"type":"bytes","id":2}}},"Evidence":{"fields":{"type":{"type":"string","id":1},"validator":{"type":"Validator","id":2},"height":{"type":"int64","id":3},"time":{"type":"google.protobuf.Timestamp","id":4},"totalVotingPower":{"type":"int64","id":5}}},"Header":{"fields":{"version":{"type":"Version","id":1},"chainId":{"type":"string","id":2},"height":{"type":"int64","id":3},"time":{"type":"google.protobuf.Timestamp","id":4},"numTxs":{"type":"int64","id":5},"totalTxs":{"type":"int64","id":6},"lastBlockId":{"type":"BlockID","id":7},"lastCommitHash":{"type":"bytes","id":8},"dataHash":{"type":"bytes","id":9},"validatorsHash":{"type":"bytes","id":10},"nextValidatorsHash":{"type":"bytes","id":11},"consensusHash":{"type":"bytes","id":12},"appHash":{"type":"bytes","id":13},"lastResultsHash":{"type":"bytes","id":14},"evidenceHash":{"type":"bytes","id":15},"proposerAddress":{"type":"bytes","id":16}}},"RequestBeginBlock":{"fields":{"hash":{"type":"bytes","id":1},"header":{"type":"Header","id":2},"lastCommitInfo":{"type":"LastCommitInfo","id":3},"byzantineValidators":{"rule":"repeated","type":"Evidence","id":4}}},"RequestEndBlock":{"fields":{"height":{"type":"int64","id":1}}}}}}}
1
+ {"nested":{"ocap":{"nested":{"StatusCode":{"values":{"OK":0,"INVALID_NONCE":1,"INVALID_SIGNATURE":2,"INVALID_SENDER_STATE":3,"INVALID_RECEIVER_STATE":4,"INSUFFICIENT_DATA":5,"INSUFFICIENT_FUND":6,"INVALID_OWNER":7,"INVALID_TX":8,"UNSUPPORTED_TX":9,"EXPIRED_TX":10,"TOO_MANY_TXS":11,"INVALID_LOCK_STATUS":12,"INVALID_REQUEST":13,"INVALID_MONIKER":16,"INVALID_PASSPHRASE":17,"INVALID_MULTISIG":20,"INVALID_WALLET":21,"INVALID_CHAIN_ID":22,"CONSENSUS_RPC_ERROR":24,"STORAGE_RPC_ERROR":25,"NOENT":26,"ACCOUNT_MIGRATED":27,"RPC_CONNECTION_ERROR":28,"UNSUPPORTED_STAKE":30,"INSUFFICIENT_STAKE":31,"INVALID_STAKE_STATE":32,"EXPIRED_WALLET_TOKEN":33,"BANNED_UNSTAKE":34,"INVALID_ASSET":35,"INVALID_TX_SIZE":36,"INVALID_SIGNER_STATE":37,"INVALID_FORGE_STATE":38,"EXPIRED_ASSET":39,"UNTRANSFERRABLE_ASSET":40,"READONLY_ASSET":41,"CONSUMED_ASSET":42,"INVALID_DEPOSIT_VALUE":43,"EXCEED_DEPOSIT_CAP":44,"INVALID_DEPOSIT_TARGET":45,"INVALID_DEPOSITOR":46,"INVALID_WITHDRAWER":47,"INVALID_EXPIRY_DATE":49,"INVALID_CUSTODIAN":51,"INSUFFICIENT_GAS":52,"INVALID_SWAP":53,"INVALID_HASHKEY":54,"INVALID_DELEGATION":55,"INSUFFICIENT_DELEGATION":56,"INVALID_DELEGATION_RULE":57,"INVALID_DELEGATION_TYPE_URL":58,"SENDER_NOT_AUTHORIZED":59,"PROTOCOL_NOT_RUNNING":60,"PROTOCOL_NOT_PAUSED":61,"PROTOCOL_NOT_ACTIVATED":62,"INVALID_DEACTIVATION":63,"SENDER_WITHDRAW_ITEMS_FULL":64,"WITHDRAW_ITEM_MISSING":65,"INVALID_WITHDRAW_TX":66,"INVALID_CHAIN_TYPE":67,"INVALID_TIME":68,"INVALID_SUBSCRIBE":69,"INVALID_DID_TYPE":70,"INVALID_CANDIDATE_STATE":71,"VALIDATOR_NOT_FOUND":72,"VALIDATOR_NOT_CHANGED":73,"INVALID_FACTORY_STATE":74,"INVALID_FACTORY_PROPS":75,"INVALID_FACTORY_INPUT":76,"INVALID_TOKEN":77,"INVALID_ROLLUP":78,"INVALID_BLOCK":79,"FORBIDDEN":403,"INTERNAL":500,"TIMEOUT":504}},"KeyType":{"values":{"ED25519":0,"SECP256K1":1,"ETHEREUM":2,"PASSKEY":3}},"HashType":{"values":{"KECCAK":0,"SHA3":1,"SHA2":2,"KECCAK_384":6,"SHA3_384":7,"KECCAK_512":13,"SHA3_512":14}},"EncodingType":{"values":{"BASE16":0,"BASE58":1}},"RoleType":{"values":{"ROLE_ACCOUNT":0,"ROLE_NODE":1,"ROLE_DEVICE":2,"ROLE_APPLICATION":3,"ROLE_SMART_CONTRACT":4,"ROLE_BOT":5,"ROLE_ASSET":6,"ROLE_STAKE":7,"ROLE_VALIDATOR":8,"ROLE_GROUP":9,"ROLE_TX":10,"ROLE_TETHER":11,"ROLE_SWAP":12,"ROLE_DELEGATION":13,"ROLE_VC":14,"ROLE_BLOCKLET":15,"ROLE_STORE":16,"ROLE_TOKEN":17,"ROLE_FACTORY":18,"ROLE_ROLLUP":19,"ROLE_STORAGE":20,"ROLE_ANY":63}},"UpgradeType":{"values":{"CONFIG_APP":0,"CONFIG_FORGE":1,"CONFIG_DFS":2,"CONFIG_CONSENSUS":3,"CONFIG_P2P":4,"EXE_APP":10,"EXE_FORGE":11,"EXE_DFS":12,"EXE_CONSENSUS":13,"EXE_P2P":14}},"UpgradeAction":{"values":{"VERIFY":0,"BACKUP":1,"REPLACE":2,"RESTART_APP":10,"RESTART_DFS":11,"RESTART_CONSENSUS":12,"RESTART_P2P":13,"RESTART_FORGE":14,"ROLLBACK_IF_FAIL":30,"RESTART_ALL_IF_FAIL":31,"CRASH_IF_FAIL":33,"DROP_ADDRESS_BOOK":50}},"StateType":{"values":{"STATE_ACCOUNT":0,"STATE_ASSET":1,"STATE_CHANNEL":2,"STATE_FORGE":3,"STATE_STAKE":4}},"StakeType":{"values":{"STAKE_NODE":0,"STAKE_USER":1,"STAKE_ASSET":2,"STAKE_CHAIN":3}},"ProtocolStatus":{"values":{"RUNNING":0,"PAUSED":1,"TERMINATED":2}},"BigUint":{"fields":{"value":{"type":"bytes","id":1}}},"BigSint":{"fields":{"value":{"type":"bytes","id":1},"minus":{"type":"bool","id":2}}},"TokenSymbol":{"fields":{"address":{"type":"string","id":1},"symbol":{"type":"string","id":2},"decimal":{"type":"int32","id":3},"unit":{"type":"string","id":4}}},"TokenInfo":{"fields":{"address":{"type":"string","id":1},"symbol":{"type":"string","id":2},"decimal":{"type":"int32","id":3},"unit":{"type":"string","id":4},"name":{"type":"string","id":5},"description":{"type":"string","id":6},"icon":{"type":"string","id":7},"maxTotalSupply":{"type":"string","id":8},"metadata":{"type":"google.protobuf.Any","id":9},"website":{"type":"string","id":10},"spenders":{"rule":"repeated","type":"string","id":11},"minters":{"rule":"repeated","type":"string","id":12},"type":{"type":"string","id":13}}},"WalletType":{"fields":{"pk":{"type":"KeyType","id":1},"hash":{"type":"HashType","id":2},"address":{"type":"EncodingType","id":3},"role":{"type":"RoleType","id":4}}},"WalletInfo":{"fields":{"type":{"type":"WalletType","id":1,"options":{"deprecated":true}},"sk":{"type":"bytes","id":2},"pk":{"type":"bytes","id":3},"address":{"type":"string","id":4}}},"ChainInfo":{"fields":{"id":{"type":"string","id":1},"network":{"type":"string","id":2},"moniker":{"type":"string","id":3},"consensusVersion":{"type":"string","id":4},"synced":{"type":"bool","id":5},"appHash":{"type":"bytes","id":6},"blockHash":{"type":"bytes","id":7},"blockHeight":{"type":"string","id":8},"blockTime":{"type":"google.protobuf.Timestamp","id":9},"address":{"type":"string","id":10},"votingPower":{"type":"string","id":11},"totalTxs":{"type":"string","id":12},"version":{"type":"string","id":13},"forgeAppsVersion":{"keyType":"string","type":"string","id":15},"supportedTxs":{"rule":"repeated","type":"string","id":16}}},"NodeInfo":{"fields":{"id":{"type":"string","id":1},"network":{"type":"string","id":2},"moniker":{"type":"string","id":3},"consensusVersion":{"type":"string","id":4},"synced":{"type":"bool","id":5},"appHash":{"type":"bytes","id":6},"blockHash":{"type":"bytes","id":7},"blockHeight":{"type":"string","id":8},"blockTime":{"type":"google.protobuf.Timestamp","id":9},"address":{"type":"string","id":10},"votingPower":{"type":"string","id":11},"totalTxs":{"type":"string","id":12},"version":{"type":"string","id":13},"forgeAppsVersion":{"keyType":"string","type":"string","id":15},"supportedTxs":{"rule":"repeated","type":"string","id":16},"ip":{"type":"string","id":17},"geoInfo":{"type":"GeoInfo","id":18},"p2pAddress":{"type":"string","id":19}}},"Validator":{"fields":{"address":{"type":"string","id":1},"power":{"type":"string","id":2}}},"ConsensusParams":{"fields":{"maxBytes":{"type":"string","id":1},"maxGas":{"type":"string","id":2},"maxValidators":{"type":"uint32","id":3},"maxCandidates":{"type":"uint32","id":4},"pubKeyTypes":{"rule":"repeated","type":"string","id":5},"validators":{"rule":"repeated","type":"Validator","id":6},"validatorChanged":{"type":"bool","id":7},"paramChanged":{"type":"bool","id":8}}},"UpgradeTask":{"fields":{"type":{"type":"UpgradeType","id":1},"dataHash":{"type":"string","id":2},"actions":{"rule":"repeated","type":"UpgradeAction","id":4}}},"UpgradeTasks":{"fields":{"item":{"rule":"repeated","type":"UpgradeTask","id":1}}},"Multisig":{"fields":{"signer":{"type":"string","id":1},"pk":{"type":"bytes","id":2},"signature":{"type":"bytes","id":3},"delegator":{"type":"string","id":4},"extra":{"type":"string","id":5},"data":{"type":"google.protobuf.Any","id":15}}},"Transaction":{"fields":{"from":{"type":"string","id":1},"nonce":{"type":"uint64","id":2},"chainId":{"type":"string","id":3},"pk":{"type":"bytes","id":4},"gas":{"type":"uint32","id":5},"delegator":{"type":"string","id":6},"signature":{"type":"bytes","id":13},"signatures":{"rule":"repeated","type":"Multisig","id":14},"itx":{"type":"google.protobuf.Any","id":15},"receipts":{"rule":"repeated","type":"TransactionReceipt","id":16},"serviceFee":{"type":"string","id":17}}},"TransactionInfo":{"fields":{"tx":{"type":"Transaction","id":1},"height":{"type":"string","id":2},"index":{"type":"uint32","id":3},"hash":{"type":"string","id":4},"tags":{"rule":"repeated","type":"vendor.KVPair","id":5},"code":{"type":"StatusCode","id":6},"time":{"type":"google.protobuf.Timestamp","id":7},"receipts":{"rule":"repeated","type":"TransactionReceipt","id":8},"sender":{"type":"string","id":9},"receiver":{"type":"string","id":10},"tokenSymbols":{"rule":"repeated","type":"TokenSymbol","id":22}}},"TransactionReceipt":{"fields":{"address":{"type":"string","id":1},"changes":{"rule":"repeated","type":"ReceiptChange","id":2}}},"ReceiptChange":{"fields":{"target":{"type":"string","id":1},"action":{"type":"string","id":2},"value":{"type":"string","id":3}}},"TokenInput":{"fields":{"address":{"type":"string","id":1},"value":{"type":"string","id":2}}},"TransactionInput":{"fields":{"owner":{"type":"string","id":1},"tokens":{"rule":"repeated","type":"TokenInput","id":2},"assets":{"rule":"repeated","type":"string","id":3}}},"VariableInput":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"description":{"type":"string","id":3},"required":{"type":"bool","id":4}}},"DelegateConfig":{"fields":{"deltaInterval":{"type":"uint32","id":1},"typeUrls":{"rule":"repeated","type":"string","id":2}}},"VaultConfig":{"fields":{"slashedStake":{"type":"string","id":1},"txFee":{"type":"string","id":2},"txGas":{"rule":"repeated","type":"string","id":3},"bridgeReserve":{"type":"string","id":4}}},"TxFeeConfig":{"fields":{"typeUrl":{"type":"string","id":1},"fee":{"type":"string","id":2}}},"TxGasConfig":{"fields":{"price":{"type":"uint64","id":1},"createState":{"type":"uint64","id":2},"updateState":{"type":"uint64","id":3},"dataStorage":{"type":"uint64","id":4},"minStake":{"type":"string","id":5},"maxStake":{"type":"string","id":6},"stakeLockPeriod":{"type":"uint64","id":7}}},"TxStakeConfig":{"fields":{"createToken":{"type":"uint64","id":1},"createTokenLockPeriod":{"type":"uint64","id":2}}},"TransactionConfig":{"fields":{"maxAssetSize":{"type":"uint32","id":1},"maxListSize":{"type":"uint32","id":2},"maxMultisig":{"type":"uint32","id":3},"delegate":{"type":"DelegateConfig","id":4},"txFee":{"rule":"repeated","type":"TxFeeConfig","id":5},"txGas":{"type":"TxGasConfig","id":6},"txStake":{"type":"TxStakeConfig","id":7}}},"BlockInfo":{"fields":{"height":{"type":"string","id":1},"numTxs":{"type":"uint32","id":2},"time":{"type":"google.protobuf.Timestamp","id":3},"appHash":{"type":"bytes","id":4},"proposer":{"type":"bytes","id":5},"txs":{"rule":"repeated","type":"TransactionInfo","id":6},"totalTxs":{"type":"string","id":7},"invalidTxs":{"rule":"repeated","type":"TransactionInfo","id":8},"txsHashes":{"rule":"repeated","type":"string","id":9},"invalidTxsHashes":{"rule":"repeated","type":"string","id":10},"consensusHash":{"type":"bytes","id":11},"dataHash":{"type":"bytes","id":12},"evidenceHash":{"type":"bytes","id":13},"lastCommitHash":{"type":"bytes","id":14},"lastResultsHash":{"type":"bytes","id":15},"nextValidatorsHash":{"type":"bytes","id":16},"validatorsHash":{"type":"bytes","id":17},"version":{"type":"vendor.Version","id":18},"lastBlockId":{"type":"vendor.BlockID","id":19}}},"BlockInfoSimple":{"fields":{"height":{"type":"string","id":1},"numTxs":{"type":"uint32","id":2},"time":{"type":"google.protobuf.Timestamp","id":3},"appHash":{"type":"bytes","id":4},"proposer":{"type":"bytes","id":5},"totalTxs":{"type":"string","id":6},"txsHashes":{"rule":"repeated","type":"string","id":7},"invalidTxsHashes":{"rule":"repeated","type":"string","id":8},"consensusHash":{"type":"bytes","id":9},"dataHash":{"type":"bytes","id":10},"evidenceHash":{"type":"bytes","id":11},"lastCommitHash":{"type":"bytes","id":12},"lastResultsHash":{"type":"bytes","id":13},"nextValidatorsHash":{"type":"bytes","id":14},"validatorsHash":{"type":"bytes","id":15},"version":{"type":"vendor.Version","id":16},"lastBlockId":{"type":"vendor.BlockID","id":17}}},"StateContext":{"fields":{"genesisTx":{"type":"string","id":1},"renaissanceTx":{"type":"string","id":2},"genesisTime":{"type":"google.protobuf.Timestamp","id":3},"renaissanceTime":{"type":"google.protobuf.Timestamp","id":4}}},"StakeSummary":{"fields":{"totalStakes":{"type":"BigUint","id":1},"totalUnstakes":{"type":"BigUint","id":2},"context":{"type":"StateContext","id":3}}},"UnconfirmedTxs":{"fields":{"nTxs":{"type":"uint32","id":1},"txs":{"rule":"repeated","type":"Transaction","id":2}}},"NetInfo":{"fields":{"listening":{"type":"bool","id":1},"listeners":{"rule":"repeated","type":"string","id":2},"nPeers":{"type":"uint32","id":3},"peers":{"rule":"repeated","type":"PeerInfo","id":4}}},"GeoInfo":{"fields":{"city":{"type":"string","id":1},"country":{"type":"string","id":2},"latitude":{"type":"float","id":3},"longitude":{"type":"float","id":4}}},"PeerInfo":{"fields":{"id":{"type":"string","id":1},"network":{"type":"string","id":2},"consensusVersion":{"type":"string","id":3},"moniker":{"type":"string","id":4},"ip":{"type":"string","id":5},"geoInfo":{"type":"GeoInfo","id":6}}},"ValidatorsInfo":{"fields":{"blockHeight":{"type":"string","id":1},"validators":{"rule":"repeated","type":"ValidatorInfo","id":2}}},"ValidatorInfo":{"fields":{"address":{"type":"string","id":1},"pubKey":{"type":"vendor.PubKey","id":2},"votingPower":{"type":"string","id":3},"proposerPriority":{"type":"string","id":4},"name":{"type":"string","id":5},"geoInfo":{"type":"GeoInfo","id":6}}},"ForgeToken":{"fields":{"name":{"type":"string","id":1},"symbol":{"type":"string","id":2},"unit":{"type":"string","id":3},"description":{"type":"string","id":4},"icon":{"type":"bytes","id":5},"decimal":{"type":"uint32","id":6},"initialSupply":{"type":"string","id":7},"totalSupply":{"type":"string","id":8},"inflationRate":{"type":"uint32","id":9},"address":{"type":"string","id":10}}},"UpgradeInfo":{"fields":{"height":{"type":"string","id":1},"version":{"type":"string","id":2}}},"WithdrawItem":{"fields":{"hash":{"type":"string","id":1},"value":{"type":"BigUint","id":2}}},"AccountConfig":{"fields":{"address":{"type":"string","id":1},"pk":{"type":"bytes","id":2},"balance":{"type":"BigUint","id":3}}},"Evidence":{"fields":{"hash":{"type":"string","id":1}}},"NFTEndpoint":{"fields":{"id":{"type":"string","id":1},"scope":{"type":"string","id":2}}},"NFTDisplay":{"fields":{"type":{"type":"string","id":1},"content":{"type":"string","id":2}}},"NFTIssuer":{"fields":{"id":{"type":"string","id":1},"pk":{"type":"string","id":2},"name":{"type":"string","id":3}}},"AssetFactoryHook":{"fields":{"name":{"type":"string","id":1},"type":{"type":"string","id":2},"hook":{"type":"string","id":3}}},"IndexedTokenInput":{"fields":{"address":{"type":"string","id":1},"value":{"type":"string","id":2},"decimal":{"type":"int32","id":3},"unit":{"type":"string","id":4},"symbol":{"type":"string","id":5}}},"IndexedFactoryInput":{"fields":{"value":{"type":"string","id":1},"tokens":{"rule":"repeated","type":"IndexedTokenInput","id":2},"assets":{"rule":"repeated","type":"string","id":3},"variables":{"rule":"repeated","type":"VariableInput","id":4}}},"RollupValidator":{"fields":{"pk":{"type":"string","id":1},"address":{"type":"string","id":2},"endpoint":{"type":"string","id":3}}},"RollupSignature":{"fields":{"signer":{"type":"string","id":1},"signature":{"type":"string","id":2}}},"ForeignToken":{"fields":{"type":{"type":"string","id":1},"contractAddress":{"type":"string","id":2},"chainType":{"type":"string","id":3},"chainName":{"type":"string","id":4},"chainId":{"type":"int32","id":5}}},"RevokedStake":{"fields":{"tokens":{"rule":"repeated","type":"TokenInput","id":1},"assets":{"rule":"repeated","type":"string","id":2}}},"ForgeStats":{"fields":{"numBlocks":{"rule":"repeated","type":"string","id":1},"numTxs":{"rule":"repeated","type":"string","id":2},"numStakes":{"rule":"repeated","type":"BigUint","id":3},"numValidators":{"rule":"repeated","type":"uint32","id":4},"numAccountMigrateTxs":{"rule":"repeated","type":"string","id":5},"numCreateAssetTxs":{"rule":"repeated","type":"string","id":6},"numConsensusUpgradeTxs":{"rule":"repeated","type":"uint32","id":7},"numDeclareTxs":{"rule":"repeated","type":"string","id":8},"numDeclareFileTxs":{"rule":"repeated","type":"string","id":9},"numExchangeTxs":{"rule":"repeated","type":"string","id":10},"numStakeTxs":{"rule":"repeated","type":"string","id":11},"numSysUpgradeTxs":{"rule":"repeated","type":"uint32","id":12},"numTransferTxs":{"rule":"repeated","type":"string","id":13},"numUpdateAssetTxs":{"rule":"repeated","type":"string","id":14},"numConsumeAssetTxs":{"rule":"repeated","type":"string","id":15},"tps":{"rule":"repeated","type":"uint32","id":16},"maxTps":{"type":"uint32","id":17},"avgTps":{"type":"uint32","id":18},"avgBlockTime":{"type":"float","id":19}}},"GasEstimate":{"fields":{"max":{"type":"string","id":1}}},"RateLimit":{"fields":{"interval":{"type":"uint64","id":1},"anchor":{"type":"uint64","id":3}}},"TokenLimit":{"fields":{"address":{"type":"string","id":1},"to":{"rule":"repeated","type":"string","id":2},"txCount":{"type":"uint32","id":3},"txAllowance":{"type":"string","id":4},"totalAllowance":{"type":"string","id":5},"validUntil":{"type":"uint64","id":6},"rate":{"type":"RateLimit","id":7},"txSent":{"type":"uint32","id":8},"spentAllowance":{"type":"string","id":9},"lastTx":{"type":"uint64","id":10},"decimal":{"type":"uint32","id":11},"symbol":{"type":"string","id":12},"maxPerTx":{"type":"string","id":13},"windowLimit":{"type":"string","id":14},"windowSeconds":{"type":"uint64","id":15},"windowStart":{"type":"uint64","id":16},"windowSpent":{"type":"string","id":17},"coSignAllowance":{"type":"string","id":18},"coSignRequired":{"type":"bool","id":19},"requirePinnedPayee":{"type":"bool","id":20},"notifyBeforeDebit":{"type":"bool","id":21},"notifyLeadSeconds":{"type":"uint64","id":22}}},"AssetLimit":{"fields":{"address":{"rule":"repeated","type":"string","id":1},"to":{"rule":"repeated","type":"string","id":2},"txCount":{"type":"uint32","id":3},"validUntil":{"type":"uint64","id":4},"rate":{"type":"RateLimit","id":5},"txSent":{"type":"uint32","id":6},"lastTx":{"type":"uint64","id":7}}},"DelegateLimit":{"fields":{"tokens":{"rule":"repeated","type":"TokenLimit","id":1},"assets":{"rule":"repeated","type":"AssetLimit","id":2},"unlimited":{"type":"bool","id":3}}},"CurveConfig":{"fields":{"type":{"type":"string","id":1},"basePrice":{"type":"string","id":2},"slope":{"type":"string","id":3},"fixedPrice":{"type":"string","id":4},"constant":{"type":"uint32","id":5}}},"AccountState":{"fields":{"balance":{"type":"BigUint","id":1},"nonce":{"type":"string","id":2},"numTxs":{"type":"string","id":3},"address":{"type":"string","id":4},"pk":{"type":"bytes","id":5},"type":{"type":"WalletType","id":6,"options":{"deprecated":true}},"moniker":{"type":"string","id":7},"context":{"type":"StateContext","id":8},"issuer":{"type":"string","id":9},"gasBalance":{"type":"BigUint","id":10},"migratedTo":{"rule":"repeated","type":"string","id":13},"migratedFrom":{"rule":"repeated","type":"string","id":14},"numAssets":{"type":"string","id":15,"options":{"deprecated":true}},"tokens":{"rule":"repeated","type":"IndexedTokenInput","id":21},"data":{"type":"google.protobuf.Any","id":50}}},"AssetState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"moniker":{"type":"string","id":3},"readonly":{"type":"bool","id":4},"transferrable":{"type":"bool","id":5},"ttl":{"type":"uint32","id":6},"consumedTime":{"type":"google.protobuf.Timestamp","id":7},"issuer":{"type":"string","id":8},"parent":{"type":"string","id":9},"endpoint":{"type":"NFTEndpoint","id":10},"display":{"type":"NFTDisplay","id":11},"tags":{"rule":"repeated","type":"string","id":12},"context":{"type":"StateContext","id":14},"data":{"type":"google.protobuf.Any","id":50}}},"ForgeState":{"fields":{"address":{"type":"string","id":1},"consensus":{"type":"ConsensusParams","id":2},"tasks":{"keyType":"uint64","type":"UpgradeTasks","id":3},"version":{"type":"string","id":4},"token":{"type":"ForgeToken","id":5},"txConfig":{"type":"TransactionConfig","id":6},"upgradeInfo":{"type":"UpgradeInfo","id":7},"accountConfig":{"rule":"repeated","type":"AccountConfig","id":8},"vaults":{"type":"VaultConfig","id":9},"reservedSymbols":{"rule":"repeated","type":"string","id":10},"data":{"type":"google.protobuf.Any","id":2047}}},"RootState":{"fields":{"address":{"type":"string","id":1},"account":{"type":"bytes","id":2},"asset":{"type":"bytes","id":3},"receipt":{"type":"bytes","id":4},"protocol":{"type":"bytes","id":5},"governance":{"type":"bytes","id":6},"custom":{"type":"bytes","id":7}}},"DelegateOpState":{"fields":{"rule":{"type":"string","id":1,"options":{"deprecated":true}},"numTxs":{"type":"uint64","id":2,"options":{"deprecated":true}},"numTxsDelta":{"type":"uint64","id":3,"options":{"deprecated":true}},"balance":{"type":"BigUint","id":4,"options":{"deprecated":true}},"balanceDelta":{"type":"BigUint","id":5,"options":{"deprecated":true}},"limit":{"type":"DelegateLimit","id":6}}},"DelegateState":{"fields":{"address":{"type":"string","id":1},"ops":{"keyType":"string","type":"DelegateOpState","id":2},"from":{"type":"string","id":3},"to":{"type":"string","id":4},"deny":{"rule":"repeated","type":"string","id":5},"validUntil":{"type":"uint64","id":6},"context":{"type":"StateContext","id":14},"data":{"type":"google.protobuf.Any","id":15}}},"TokenState":{"fields":{"address":{"type":"string","id":1},"issuer":{"type":"string","id":2},"name":{"type":"string","id":3},"description":{"type":"string","id":4},"symbol":{"type":"string","id":5},"unit":{"type":"string","id":6},"decimal":{"type":"uint32","id":7},"icon":{"type":"string","id":8},"totalSupply":{"type":"string","id":9},"foreignToken":{"type":"ForeignToken","id":10},"tokenFactoryAddress":{"type":"string","id":11},"initialSupply":{"type":"string","id":12},"maxTotalSupply":{"type":"string","id":13},"metadata":{"type":"google.protobuf.Any","id":14},"context":{"type":"StateContext","id":15},"website":{"type":"string","id":16},"spenders":{"rule":"repeated","type":"string","id":17},"minters":{"rule":"repeated","type":"string","id":18},"type":{"type":"string","id":19},"data":{"type":"google.protobuf.Any","id":20}}},"AssetFactoryState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"name":{"type":"string","id":3},"description":{"type":"string","id":4},"settlement":{"type":"string","id":5},"limit":{"type":"uint32","id":6},"trustedIssuers":{"rule":"repeated","type":"string","id":7},"input":{"type":"IndexedFactoryInput","id":8},"output":{"type":"CreateAssetTx","id":9},"hooks":{"rule":"repeated","type":"AssetFactoryHook","id":10},"data":{"type":"google.protobuf.Any","id":11},"context":{"type":"StateContext","id":12},"balance":{"type":"BigUint","id":13},"tokens":{"rule":"repeated","type":"IndexedTokenInput","id":14},"numMinted":{"type":"uint32","id":15},"display":{"type":"NFTDisplay","id":16},"lastSettlement":{"type":"google.protobuf.Timestamp","id":17}}},"StakeState":{"fields":{"address":{"type":"string","id":1},"sender":{"type":"string","id":2},"receiver":{"type":"string","id":3},"tokens":{"rule":"repeated","type":"IndexedTokenInput","id":4},"assets":{"rule":"repeated","type":"string","id":5},"revocable":{"type":"bool","id":6},"message":{"type":"string","id":7},"revokeWaitingPeriod":{"type":"uint32","id":8},"revokedTokens":{"rule":"repeated","type":"IndexedTokenInput","id":9},"revokedAssets":{"rule":"repeated","type":"string","id":10},"slashers":{"rule":"repeated","type":"string","id":11},"nonce":{"type":"string","id":12},"context":{"type":"StateContext","id":30},"data":{"type":"google.protobuf.Any","id":50}}},"RollupState":{"fields":{"address":{"type":"string","id":1},"tokenAddress":{"type":"string","id":2},"vaultAddress":{"type":"string","id":3},"contractAddress":{"type":"string","id":4},"seedValidators":{"rule":"repeated","type":"RollupValidator","id":5},"validators":{"rule":"repeated","type":"RollupValidator","id":6},"minStakeAmount":{"type":"string","id":7},"maxStakeAmount":{"type":"string","id":8},"minSignerCount":{"type":"uint32","id":9},"maxSignerCount":{"type":"uint32","id":10},"minBlockSize":{"type":"uint32","id":11},"maxBlockSize":{"type":"uint32","id":12},"minBlockInterval":{"type":"uint32","id":13},"minBlockConfirmation":{"type":"uint32","id":14},"issuer":{"type":"string","id":17},"depositFeeRate":{"type":"uint32","id":18},"withdrawFeeRate":{"type":"uint32","id":19},"proposerFeeShare":{"type":"uint32","id":20},"publisherFeeShare":{"type":"uint32","id":21},"minDepositAmount":{"type":"string","id":22},"minWithdrawAmount":{"type":"string","id":23},"blockHeight":{"type":"uint64","id":24},"blockHash":{"type":"string","id":25},"tokenInfo":{"type":"IndexedTokenInput","id":26},"totalDepositAmount":{"type":"string","id":27},"totalWithdrawAmount":{"type":"string","id":28},"maxDepositAmount":{"type":"string","id":29},"maxWithdrawAmount":{"type":"string","id":30},"minDepositFee":{"type":"string","id":31},"maxDepositFee":{"type":"string","id":32},"minWithdrawFee":{"type":"string","id":33},"maxWithdrawFee":{"type":"string","id":34},"paused":{"type":"bool","id":35},"foreignToken":{"type":"ForeignToken","id":36},"leaveWaitingPeriod":{"type":"uint32","id":37},"publishWaitingPeriod":{"type":"uint32","id":38},"publishSlashRate":{"type":"uint32","id":39},"migrateHistory":{"rule":"repeated","type":"string","id":40},"closed":{"type":"bool","id":41},"vaultHistory":{"rule":"repeated","type":"string","id":42},"context":{"type":"StateContext","id":43},"data":{"type":"google.protobuf.Any","id":50}}},"RollupBlock":{"fields":{"hash":{"type":"string","id":1},"height":{"type":"uint64","id":2},"merkleRoot":{"type":"string","id":3},"previousHash":{"type":"string","id":4},"txsHash":{"type":"string","id":5},"txs":{"rule":"repeated","type":"string","id":6},"proposer":{"type":"string","id":7},"signatures":{"rule":"repeated","type":"Multisig","id":8},"rollup":{"type":"string","id":10},"mintedAmount":{"type":"string","id":11},"burnedAmount":{"type":"string","id":12},"rewardAmount":{"type":"string","id":13},"minReward":{"type":"string","id":14},"governance":{"type":"bool","id":15},"context":{"type":"StateContext","id":30},"data":{"type":"google.protobuf.Any","id":50}}},"EvidenceState":{"fields":{"hash":{"type":"string","id":1},"data":{"type":"string","id":2},"context":{"type":"StateContext","id":30}}},"TokenFactoryState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"tokenAddress":{"type":"string","id":3},"reserveAddress":{"type":"string","id":4},"curve":{"type":"CurveConfig","id":5},"currentSupply":{"type":"string","id":6},"reserveBalance":{"type":"string","id":7},"feeRate":{"type":"int32","id":8},"status":{"type":"string","id":9},"token":{"type":"TokenState","id":10},"reserveToken":{"type":"TokenState","id":11},"context":{"type":"StateContext","id":30},"data":{"type":"google.protobuf.Any","id":50}}},"AccountMigrateTx":{"fields":{"pk":{"type":"bytes","id":1},"type":{"type":"WalletType","id":2,"options":{"deprecated":true}},"address":{"type":"string","id":3},"data":{"type":"google.protobuf.Any","id":15}}},"DeclareTx":{"fields":{"moniker":{"type":"string","id":1},"issuer":{"type":"string","id":2},"data":{"type":"google.protobuf.Any","id":15}}},"DelegateOp":{"fields":{"typeUrl":{"type":"string","id":1},"rules":{"rule":"repeated","type":"string","id":2,"options":{"deprecated":true}},"limit":{"type":"DelegateLimit","id":3}}},"DelegateTx":{"fields":{"address":{"type":"string","id":1},"to":{"type":"string","id":2},"ops":{"rule":"repeated","type":"DelegateOp","id":3},"deny":{"rule":"repeated","type":"string","id":4},"validUntil":{"type":"uint64","id":5},"data":{"type":"google.protobuf.Any","id":15}}},"RevokeDelegateTx":{"fields":{"address":{"type":"string","id":1},"to":{"type":"string","id":2},"typeUrls":{"rule":"repeated","type":"string","id":3},"data":{"type":"google.protobuf.Any","id":15}}},"UpgradeNodeTx":{"fields":{"height":{"type":"uint64","id":1},"version":{"type":"string","id":2},"override":{"type":"bool","id":3}}},"ExchangeInfo":{"fields":{"value":{"type":"BigUint","id":1},"assets":{"rule":"repeated","type":"string","id":2}}},"ExchangeInfoV2":{"fields":{"value":{"type":"BigUint","id":1},"assets":{"rule":"repeated","type":"string","id":2},"tokens":{"rule":"repeated","type":"TokenInput","id":3}}},"ExchangeTx":{"fields":{"to":{"type":"string","id":1},"sender":{"type":"ExchangeInfo","id":2},"receiver":{"type":"ExchangeInfo","id":3},"expiredAt":{"type":"google.protobuf.Timestamp","id":4},"data":{"type":"google.protobuf.Any","id":15}}},"ExchangeV2Tx":{"fields":{"to":{"type":"string","id":1},"sender":{"type":"ExchangeInfoV2","id":2},"receiver":{"type":"ExchangeInfoV2","id":3},"expiredAt":{"type":"google.protobuf.Timestamp","id":4},"data":{"type":"google.protobuf.Any","id":15}}},"TransferTx":{"fields":{"to":{"type":"string","id":1},"value":{"type":"BigUint","id":2},"assets":{"rule":"repeated","type":"string","id":3},"data":{"type":"google.protobuf.Any","id":15}}},"TransferV2Tx":{"fields":{"to":{"type":"string","id":1},"value":{"type":"BigUint","id":2},"assets":{"rule":"repeated","type":"string","id":3},"tokens":{"rule":"repeated","type":"TokenInput","id":4},"data":{"type":"google.protobuf.Any","id":15}}},"TransferV3Tx":{"fields":{"inputs":{"rule":"repeated","type":"TransactionInput","id":1},"outputs":{"rule":"repeated","type":"TransactionInput","id":2},"data":{"type":"google.protobuf.Any","id":15}}},"CreateTokenTx":{"fields":{"name":{"type":"string","id":1},"description":{"type":"string","id":2},"symbol":{"type":"string","id":3},"unit":{"type":"string","id":4},"decimal":{"type":"int32","id":5},"icon":{"type":"string","id":6},"totalSupply":{"type":"string","id":7},"address":{"type":"string","id":8},"initialSupply":{"type":"string","id":9},"maxTotalSupply":{"type":"string","id":10},"foreignToken":{"type":"ForeignToken","id":16},"spenders":{"rule":"repeated","type":"string","id":17},"data":{"type":"google.protobuf.Any","id":20}}},"AssetFactoryInput":{"fields":{"value":{"type":"string","id":1},"tokens":{"rule":"repeated","type":"TokenInput","id":2},"assets":{"rule":"repeated","type":"string","id":3},"variables":{"rule":"repeated","type":"VariableInput","id":4}}},"AcquireAssetV2Tx":{"fields":{"factory":{"type":"string","id":1},"address":{"type":"string","id":2},"assets":{"rule":"repeated","type":"string","id":3},"variables":{"rule":"repeated","type":"VariableInput","id":4},"issuer":{"type":"NFTIssuer","id":5},"data":{"type":"google.protobuf.Any","id":15}}},"AcquireAssetV3Tx":{"fields":{"factory":{"type":"string","id":1},"address":{"type":"string","id":2},"inputs":{"rule":"repeated","type":"TransactionInput","id":3},"owner":{"type":"string","id":4},"variables":{"rule":"repeated","type":"VariableInput","id":5},"issuer":{"type":"NFTIssuer","id":6},"data":{"type":"google.protobuf.Any","id":15}}},"MintAssetTx":{"fields":{"factory":{"type":"string","id":1},"address":{"type":"string","id":2},"assets":{"rule":"repeated","type":"string","id":3},"variables":{"rule":"repeated","type":"VariableInput","id":4},"owner":{"type":"string","id":5},"data":{"type":"google.protobuf.Any","id":15}}},"CreateAssetTx":{"fields":{"moniker":{"type":"string","id":1},"data":{"type":"google.protobuf.Any","id":2},"readonly":{"type":"bool","id":3},"transferrable":{"type":"bool","id":4},"ttl":{"type":"uint32","id":5},"parent":{"type":"string","id":6},"address":{"type":"string","id":7},"issuer":{"type":"string","id":8},"endpoint":{"type":"NFTEndpoint","id":9},"display":{"type":"NFTDisplay","id":10},"tags":{"rule":"repeated","type":"string","id":11}}},"UpdateAssetTx":{"fields":{"address":{"type":"string","id":1},"moniker":{"type":"string","id":2},"consumed":{"type":"bool","id":3},"data":{"type":"google.protobuf.Any","id":15}}},"ConsumeAssetTx":{"fields":{"address":{"type":"string","id":1},"data":{"type":"google.protobuf.Any","id":15}}},"CreateFactoryTx":{"fields":{"name":{"type":"string","id":1},"description":{"type":"string","id":2},"settlement":{"type":"string","id":3},"limit":{"type":"uint32","id":4},"trustedIssuers":{"rule":"repeated","type":"string","id":5},"input":{"type":"AssetFactoryInput","id":6},"output":{"type":"CreateAssetTx","id":7},"hooks":{"rule":"repeated","type":"AssetFactoryHook","id":8},"address":{"type":"string","id":9},"display":{"type":"NFTDisplay","id":10},"data":{"type":"google.protobuf.Any","id":15}}},"StakeTx":{"fields":{"address":{"type":"string","id":1},"receiver":{"type":"string","id":2},"inputs":{"rule":"repeated","type":"TransactionInput","id":3},"locked":{"type":"bool","id":4},"message":{"type":"string","id":5},"revokeWaitingPeriod":{"type":"uint32","id":6},"slashers":{"rule":"repeated","type":"string","id":7},"nonce":{"type":"string","id":8},"data":{"type":"google.protobuf.Any","id":50}}},"RevokeStakeTx":{"fields":{"address":{"type":"string","id":1},"outputs":{"rule":"repeated","type":"TransactionInput","id":2},"data":{"type":"google.protobuf.Any","id":50}}},"ClaimStakeTx":{"fields":{"address":{"type":"string","id":1},"evidence":{"type":"Evidence","id":2},"data":{"type":"google.protobuf.Any","id":50}}},"SlashStakeTx":{"fields":{"address":{"type":"string","id":1},"outputs":{"rule":"repeated","type":"TransactionInput","id":2},"message":{"type":"string","id":3},"data":{"type":"google.protobuf.Any","id":50}}},"ReturnStakeTx":{"fields":{"address":{"type":"string","id":1},"outputs":{"rule":"repeated","type":"TransactionInput","id":2},"message":{"type":"string","id":3},"data":{"type":"google.protobuf.Any","id":50}}},"CreateRollupTx":{"fields":{"address":{"type":"string","id":1},"tokenAddress":{"type":"string","id":2},"vaultAddress":{"type":"string","id":3},"contractAddress":{"type":"string","id":4},"seedValidators":{"rule":"repeated","type":"RollupValidator","id":5},"minStakeAmount":{"type":"string","id":6},"maxStakeAmount":{"type":"string","id":7},"minSignerCount":{"type":"uint32","id":8},"maxSignerCount":{"type":"uint32","id":9},"minBlockSize":{"type":"uint32","id":10},"maxBlockSize":{"type":"uint32","id":11},"minBlockInterval":{"type":"uint32","id":12},"minBlockConfirmation":{"type":"uint32","id":13},"foreignChainType":{"type":"string","id":14},"foreignChainId":{"type":"string","id":15},"depositFeeRate":{"type":"uint32","id":16},"withdrawFeeRate":{"type":"uint32","id":17},"proposerFeeShare":{"type":"uint32","id":18},"minDepositAmount":{"type":"string","id":19},"minWithdrawAmount":{"type":"string","id":20},"maxDepositAmount":{"type":"string","id":21},"maxWithdrawAmount":{"type":"string","id":22},"minDepositFee":{"type":"string","id":23},"maxDepositFee":{"type":"string","id":24},"minWithdrawFee":{"type":"string","id":25},"maxWithdrawFee":{"type":"string","id":26},"paused":{"type":"bool","id":27},"leaveWaitingPeriod":{"type":"uint32","id":28},"publisherFeeShare":{"type":"uint32","id":29},"publishWaitingPeriod":{"type":"uint32","id":30},"publishSlashRate":{"type":"uint32","id":31},"data":{"type":"google.protobuf.Any","id":50}}},"UpdateRollupTx":{"fields":{"minStakeAmount":{"type":"string","id":1},"maxStakeAmount":{"type":"string","id":2},"minSignerCount":{"type":"uint32","id":3},"maxSignerCount":{"type":"uint32","id":4},"minBlockSize":{"type":"uint32","id":5},"maxBlockSize":{"type":"uint32","id":6},"minBlockInterval":{"type":"uint32","id":7},"minBlockConfirmation":{"type":"uint32","id":8},"depositFeeRate":{"type":"uint32","id":9},"withdrawFeeRate":{"type":"uint32","id":10},"proposerFeeShare":{"type":"uint32","id":11},"minDepositAmount":{"type":"string","id":12},"minWithdrawAmount":{"type":"string","id":13},"maxDepositAmount":{"type":"string","id":14},"maxWithdrawAmount":{"type":"string","id":15},"minDepositFee":{"type":"string","id":16},"maxDepositFee":{"type":"string","id":17},"minWithdrawFee":{"type":"string","id":18},"maxWithdrawFee":{"type":"string","id":19},"publisherFeeShare":{"type":"uint32","id":20},"leaveWaitingPeriod":{"type":"uint32","id":21},"publishWaitingPeriod":{"type":"uint32","id":22},"publishSlashRate":{"type":"uint32","id":23},"rollup":{"type":"string","id":40},"data":{"type":"google.protobuf.Any","id":50}}},"JoinRollupTx":{"fields":{"rollup":{"type":"string","id":1},"endpoint":{"type":"string","id":2},"evidence":{"type":"Evidence","id":3},"signatures":{"rule":"repeated","type":"Multisig","id":4},"data":{"type":"google.protobuf.Any","id":50}}},"LeaveRollupTx":{"fields":{"rollup":{"type":"string","id":1},"evidence":{"type":"Evidence","id":2},"signatures":{"rule":"repeated","type":"Multisig","id":3},"data":{"type":"google.protobuf.Any","id":50}}},"CreateRollupBlockTx":{"fields":{"hash":{"type":"string","id":1},"height":{"type":"uint64","id":2},"merkleRoot":{"type":"string","id":3},"previousHash":{"type":"string","id":4},"txsHash":{"type":"string","id":5},"txs":{"rule":"repeated","type":"string","id":6},"proposer":{"type":"string","id":7},"signatures":{"rule":"repeated","type":"Multisig","id":8},"rollup":{"type":"string","id":10},"minReward":{"type":"string","id":11},"governance":{"type":"bool","id":12},"data":{"type":"google.protobuf.Any","id":50}}},"ClaimBlockRewardTx":{"fields":{"rollup":{"type":"string","id":1},"blockHeight":{"type":"uint64","id":2},"blockHash":{"type":"string","id":3},"evidence":{"type":"Evidence","id":4},"publisher":{"type":"string","id":5},"data":{"type":"google.protobuf.Any","id":50}}},"PauseRollupTx":{"fields":{"rollup":{"type":"string","id":1},"data":{"type":"google.protobuf.Any","id":10}}},"ResumeRollupTx":{"fields":{"rollup":{"type":"string","id":1},"data":{"type":"google.protobuf.Any","id":10}}},"CloseRollupTx":{"fields":{"rollup":{"type":"string","id":1},"message":{"type":"string","id":2},"data":{"type":"google.protobuf.Any","id":10}}},"MigrateRollupTx":{"fields":{"rollup":{"type":"string","id":1},"to":{"type":"string","id":2},"type":{"type":"string","id":3},"message":{"type":"string","id":4},"data":{"type":"google.protobuf.Any","id":10}}},"DepositTokenV2Tx":{"fields":{"token":{"type":"TokenInput","id":1},"to":{"type":"string","id":2},"proposer":{"type":"string","id":3},"evidence":{"type":"Evidence","id":4},"rollup":{"type":"string","id":5},"actualFee":{"type":"string","id":7},"data":{"type":"google.protobuf.Any","id":15}}},"WithdrawTokenV2Tx":{"fields":{"token":{"type":"TokenInput","id":1},"to":{"type":"string","id":2},"rollup":{"type":"string","id":3},"proposer":{"type":"string","id":5},"maxFee":{"type":"string","id":6},"actualFee":{"type":"string","id":7},"data":{"type":"google.protobuf.Any","id":15}}},"CreateTokenFactoryTx":{"fields":{"address":{"type":"string","id":1},"feeRate":{"type":"uint32","id":2},"token":{"type":"TokenInfo","id":3},"reserveAddress":{"type":"string","id":4},"curve":{"type":"CurveConfig","id":5},"data":{"type":"google.protobuf.Any","id":50}}},"UpdateTokenFactoryTx":{"fields":{"address":{"type":"string","id":1},"feeRate":{"type":"uint32","id":2},"token":{"type":"TokenInfo","id":3},"data":{"type":"google.protobuf.Any","id":50}}},"MintTokenTx":{"fields":{"tokenFactory":{"type":"string","id":1},"amount":{"type":"string","id":2},"inputs":{"rule":"repeated","type":"TransactionInput","id":3},"receiver":{"type":"string","id":4},"data":{"type":"google.protobuf.Any","id":50}}},"BurnTokenTx":{"fields":{"tokenFactory":{"type":"string","id":1},"inputs":{"rule":"repeated","type":"TransactionInput","id":2},"minReserve":{"type":"string","id":3},"receiver":{"type":"string","id":4},"data":{"type":"google.protobuf.Any","id":50}}},"ItxStub":{"oneofs":{"value":{"oneof":["declare","delegate","revokeDelegate","accountMigrate","createAsset","updateAsset","consumeAsset","exchange","exchangeV2","transfer","transferV2","transferV3","createToken","depositToken","withdrawToken","createTokenFactory","updateTokenFactory","mintToken","burnToken","releaseBridgeToken","createFactory","acquireAssetV2","acquireAssetV3","mintAsset","stake","revokeStake","claimStake","slashStake","returnStake","upgradeNode","createRollup","updateRollup","joinRollup","leaveRollup","createRollupBlock","claimBlockReward","pauseRollup","resumeRollup","migrateRollup","closeRollup"]}},"fields":{"declare":{"type":"DeclareTx","id":1},"delegate":{"type":"DelegateTx","id":2},"revokeDelegate":{"type":"RevokeDelegateTx","id":3},"accountMigrate":{"type":"AccountMigrateTx","id":4},"createAsset":{"type":"CreateAssetTx","id":5},"updateAsset":{"type":"UpdateAssetTx","id":6},"consumeAsset":{"type":"ConsumeAssetTx","id":7},"exchange":{"type":"ExchangeTx","id":10},"exchangeV2":{"type":"ExchangeV2Tx","id":12},"transfer":{"type":"TransferTx","id":13},"transferV2":{"type":"TransferV2Tx","id":14},"transferV3":{"type":"TransferV3Tx","id":15},"createToken":{"type":"CreateTokenTx","id":20},"depositToken":{"type":"DepositTokenV2Tx","id":21},"withdrawToken":{"type":"WithdrawTokenV2Tx","id":22},"createTokenFactory":{"type":"CreateTokenFactoryTx","id":23},"updateTokenFactory":{"type":"UpdateTokenFactoryTx","id":24},"mintToken":{"type":"MintTokenTx","id":25},"burnToken":{"type":"BurnTokenTx","id":26},"createFactory":{"type":"CreateFactoryTx","id":30},"acquireAssetV2":{"type":"AcquireAssetV2Tx","id":31},"acquireAssetV3":{"type":"AcquireAssetV3Tx","id":32},"mintAsset":{"type":"MintAssetTx","id":33},"stake":{"type":"StakeTx","id":40},"revokeStake":{"type":"RevokeStakeTx","id":41},"claimStake":{"type":"ClaimStakeTx","id":42},"slashStake":{"type":"SlashStakeTx","id":43},"returnStake":{"type":"ReturnStakeTx","id":44},"upgradeNode":{"type":"UpgradeNodeTx","id":49},"createRollup":{"type":"CreateRollupTx","id":50},"updateRollup":{"type":"UpdateRollupTx","id":51},"joinRollup":{"type":"JoinRollupTx","id":52},"leaveRollup":{"type":"LeaveRollupTx","id":53},"createRollupBlock":{"type":"CreateRollupBlockTx","id":54},"claimBlockReward":{"type":"ClaimBlockRewardTx","id":55},"pauseRollup":{"type":"PauseRollupTx","id":56},"resumeRollup":{"type":"ResumeRollupTx","id":57},"migrateRollup":{"type":"MigrateRollupTx","id":58},"closeRollup":{"type":"CloseRollupTx","id":60},"releaseBridgeToken":{"type":"ReleaseBridgeTokenTx","id":27}}},"PageOrder":{"fields":{"field":{"type":"string","id":1},"type":{"type":"string","id":2}}},"Page":{"fields":{"cursor":{"type":"string","id":1},"size":{"type":"uint32","id":2},"order":{"rule":"repeated","type":"PageOrder","id":3}}},"TypeFilter":{"fields":{"types":{"rule":"repeated","type":"string","id":1}}},"AssetFilter":{"fields":{"assets":{"rule":"repeated","type":"string","id":1}}},"FactoryFilter":{"fields":{"factories":{"rule":"repeated","type":"string","id":1}}},"DelegationFilter":{"fields":{"delegations":{"rule":"repeated","type":"string","id":1}}},"TokenFilter":{"fields":{"tokens":{"rule":"repeated","type":"string","id":1}}},"StakeFilter":{"fields":{"stakes":{"rule":"repeated","type":"string","id":1}}},"AccountFilter":{"fields":{"accounts":{"rule":"repeated","type":"string","id":1}}},"TxFilter":{"fields":{"txs":{"rule":"repeated","type":"string","id":1},"evidences":{"rule":"repeated","type":"string","id":3}}},"RollupFilter":{"fields":{"rollups":{"rule":"repeated","type":"string","id":1}}},"ValidatorFilter":{"fields":{"validators":{"rule":"repeated","type":"string","id":1}}},"TokenFactoryFilter":{"fields":{"tokenFactories":{"rule":"repeated","type":"string","id":1}}},"TimeFilter":{"fields":{"startDateTime":{"type":"string","id":1},"endDateTime":{"type":"string","id":2},"field":{"type":"string","id":3}}},"Direction":{"values":{"MUTUAL":0,"ONE_WAY":1,"UNION":2}},"AddressFilter":{"fields":{"sender":{"type":"string","id":1},"receiver":{"type":"string","id":2},"direction":{"type":"Direction","id":3}}},"PageInfo":{"fields":{"cursor":{"type":"string","id":1},"next":{"type":"bool","id":2},"total":{"type":"uint32","id":3}}},"TokenMeta":{"fields":{"address":{"type":"string","id":1},"balance":{"type":"string","id":2},"decimal":{"type":"int32","id":3},"unit":{"type":"string","id":4},"symbol":{"type":"string","id":5}}},"Validity":{"values":{"BOTH":0,"VALID":1,"INVALID":2}},"ValidityFilter":{"fields":{"validity":{"type":"Validity","id":1}}},"RangeFilter":{"fields":{"from":{"type":"string","id":1},"to":{"type":"string","id":2}}},"AccountToken":{"fields":{"address":{"type":"string","id":1},"symbol":{"type":"string","id":2},"balance":{"type":"string","id":3},"decimal":{"type":"uint32","id":4}}},"ByDay":{"fields":{"startDate":{"type":"string","id":1},"endDate":{"type":"string","id":2}}},"ByHour":{"fields":{"date":{"type":"string","id":1}}},"IndexedTransaction":{"fields":{"hash":{"type":"string","id":1},"sender":{"type":"string","id":2},"receiver":{"type":"string","id":3},"time":{"type":"string","id":4},"type":{"type":"string","id":5},"tx":{"type":"Transaction","id":6},"valid":{"type":"bool","id":20},"code":{"type":"StatusCode","id":21},"tokenSymbols":{"rule":"repeated","type":"TokenMeta","id":22},"receipts":{"rule":"repeated","type":"TransactionReceipt","id":16}}},"IndexedAccountState":{"fields":{"address":{"type":"string","id":1},"balance":{"type":"BigUint","id":2},"numAssets":{"type":"string","id":3},"numTxs":{"type":"string","id":4},"nonce":{"type":"string","id":5},"genesisTime":{"type":"string","id":6},"renaissanceTime":{"type":"string","id":7},"moniker":{"type":"string","id":8},"migratedFrom":{"type":"string","id":9},"migratedTo":{"type":"string","id":10},"totalReceivedStakes":{"type":"BigUint","id":11},"totalStakes":{"type":"BigUint","id":12},"totalUnstakes":{"type":"BigUint","id":13},"recentNumTxs":{"rule":"repeated","type":"string","id":14},"tokens":{"rule":"repeated","type":"TokenMeta","id":15}}},"IndexedAssetState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"genesisTime":{"type":"string","id":3},"renaissanceTime":{"type":"string","id":4},"moniker":{"type":"string","id":5},"readonly":{"type":"bool","id":6},"consumedTime":{"type":"string","id":7},"issuer":{"type":"string","id":8},"parent":{"type":"string","id":9},"transferrable":{"type":"bool","id":10},"ttl":{"type":"string","id":11},"display":{"type":"NFTDisplay","id":12},"endpoint":{"type":"NFTEndpoint","id":13},"tags":{"rule":"repeated","type":"string","id":14},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedBlock":{"fields":{"height":{"type":"string","id":1},"time":{"type":"string","id":2},"proposer":{"type":"string","id":3},"numTxs":{"type":"string","id":4},"numInvalidTxs":{"type":"string","id":5}}},"IndexedTokenState":{"fields":{"name":{"type":"string","id":1},"description":{"type":"string","id":2},"symbol":{"type":"string","id":3},"unit":{"type":"string","id":4},"decimal":{"type":"int32","id":5},"issuer":{"type":"string","id":6},"icon":{"type":"string","id":7},"totalSupply":{"type":"string","id":8},"address":{"type":"string","id":9},"genesisTime":{"type":"string","id":10},"renaissanceTime":{"type":"string","id":11},"foreignToken":{"type":"ForeignToken","id":13},"tokenFactoryAddress":{"type":"string","id":14},"maxTotalSupply":{"type":"string","id":15},"initialSupply":{"type":"string","id":16},"metadata":{"type":"google.protobuf.Any","id":17},"website":{"type":"string","id":18},"spenders":{"rule":"repeated","type":"string","id":19},"minters":{"rule":"repeated","type":"string","id":20},"type":{"type":"string","id":21},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedTokenFactoryState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"tokenAddress":{"type":"string","id":3},"reserveAddress":{"type":"string","id":4},"curve":{"type":"CurveConfig","id":5},"feeRate":{"type":"int32","id":6},"currentSupply":{"type":"string","id":7},"reserveBalance":{"type":"string","id":8},"status":{"type":"string","id":9},"genesisTime":{"type":"string","id":10},"renaissanceTime":{"type":"string","id":11},"token":{"type":"IndexedTokenInput","id":12},"reserveToken":{"type":"IndexedTokenInput","id":13},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedFactoryState":{"fields":{"address":{"type":"string","id":1},"owner":{"type":"string","id":2},"name":{"type":"string","id":3},"description":{"type":"string","id":4},"settlement":{"type":"string","id":5},"limit":{"type":"string","id":6},"trustedIssuers":{"rule":"repeated","type":"string","id":7},"input":{"type":"IndexedFactoryInput","id":8},"output":{"type":"CreateAssetTx","id":9},"hooks":{"rule":"repeated","type":"AssetFactoryHook","id":10},"data":{"type":"google.protobuf.Any","id":11},"balance":{"type":"string","id":13},"tokens":{"rule":"repeated","type":"TokenMeta","id":14},"numMinted":{"type":"uint32","id":15},"lastSettlement":{"type":"string","id":16},"genesisTime":{"type":"string","id":17},"renaissanceTime":{"type":"string","id":18},"display":{"type":"NFTDisplay","id":19}}},"IndexedStakeState":{"fields":{"address":{"type":"string","id":1},"sender":{"type":"string","id":2},"receiver":{"type":"string","id":3},"tokens":{"rule":"repeated","type":"TokenMeta","id":4},"assets":{"rule":"repeated","type":"string","id":5},"revocable":{"type":"bool","id":6},"genesisTime":{"type":"string","id":7},"renaissanceTime":{"type":"string","id":8},"message":{"type":"string","id":9},"revokeWaitingPeriod":{"type":"uint32","id":10},"revokedTokens":{"rule":"repeated","type":"TokenMeta","id":11},"revokedAssets":{"rule":"repeated","type":"string","id":12},"slashers":{"rule":"repeated","type":"string","id":13},"nonce":{"type":"string","id":14},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedRollupState":{"fields":{"address":{"type":"string","id":1},"tokenAddress":{"type":"string","id":2},"vaultAddress":{"type":"string","id":3},"contractAddress":{"type":"string","id":4},"seedValidators":{"rule":"repeated","type":"RollupValidator","id":5},"validators":{"rule":"repeated","type":"RollupValidator","id":6},"minStakeAmount":{"type":"string","id":7},"maxStakeAmount":{"type":"string","id":8},"minSignerCount":{"type":"uint32","id":9},"maxSignerCount":{"type":"uint32","id":10},"minBlockSize":{"type":"uint32","id":11},"maxBlockSize":{"type":"uint32","id":12},"minBlockInterval":{"type":"uint32","id":13},"genesisTime":{"type":"string","id":16},"renaissanceTime":{"type":"string","id":17},"tokenInfo":{"type":"IndexedTokenInput","id":18},"issuer":{"type":"string","id":19},"depositFeeRate":{"type":"uint32","id":20},"withdrawFeeRate":{"type":"uint32","id":21},"proposerFeeShare":{"type":"uint32","id":22},"minDepositAmount":{"type":"string","id":23},"minWithdrawAmount":{"type":"string","id":24},"blockHeight":{"type":"uint64","id":25},"blockHash":{"type":"string","id":26},"minBlockConfirmation":{"type":"uint32","id":27},"totalDepositAmount":{"type":"string","id":28},"totalWithdrawAmount":{"type":"string","id":29},"maxDepositAmount":{"type":"string","id":30},"maxWithdrawAmount":{"type":"string","id":31},"minDepositFee":{"type":"string","id":32},"maxDepositFee":{"type":"string","id":33},"minWithdrawFee":{"type":"string","id":34},"maxWithdrawFee":{"type":"string","id":35},"paused":{"type":"bool","id":36},"foreignToken":{"type":"ForeignToken","id":37},"leaveWaitingPeriod":{"type":"uint32","id":38},"publisherFeeShare":{"type":"uint32","id":39},"publishWaitingPeriod":{"type":"uint32","id":40},"publishSlashRate":{"type":"uint32","id":41},"migrateHistory":{"rule":"repeated","type":"string","id":42},"closed":{"type":"bool","id":43},"vaultHistory":{"rule":"repeated","type":"string","id":44},"data":{"type":"google.protobuf.Any","id":50}}},"IndexedRollupBlock":{"fields":{"hash":{"type":"string","id":1},"height":{"type":"uint64","id":2},"merkleRoot":{"type":"string","id":3},"previousHash":{"type":"string","id":4},"txsHash":{"type":"string","id":5},"txs":{"rule":"repeated","type":"string","id":6},"proposer":{"type":"string","id":7},"signatures":{"rule":"repeated","type":"Multisig","id":8},"genesisTime":{"type":"string","id":10},"renaissanceTime":{"type":"string","id":11},"rollup":{"type":"string","id":12},"mintedAmount":{"type":"string","id":13},"burnedAmount":{"type":"string","id":14},"rewardAmount":{"type":"string","id":15},"governance":{"type":"bool","id":16},"tokenInfo":{"type":"IndexedTokenInput","id":18},"data":{"type":"google.protobuf.Any","id":50}}},"SearchResult":{"fields":{"type":{"type":"string","id":1},"id":{"type":"string","id":2},"title":{"type":"string","id":3},"subtitle":{"type":"string","id":4},"description":{"type":"string","id":5},"tags":{"rule":"repeated","type":"string","id":6},"timestamp":{"type":"string","id":7}}},"IndexedRollupValidator":{"fields":{"pk":{"type":"string","id":1},"address":{"type":"string","id":2},"moniker":{"type":"string","id":3},"endpoint":{"type":"string","id":4},"joinTime":{"type":"string","id":5},"leaveTime":{"type":"string","id":6},"genesisTime":{"type":"string","id":7},"renaissanceTime":{"type":"string","id":8},"totalStake":{"type":"string","id":9},"revokedStake":{"type":"string","id":10},"availableStake":{"type":"string","id":11},"totalGain":{"type":"string","id":12},"proposedBlockCount":{"type":"uint64","id":13},"verifiedBlockCount":{"type":"uint64","id":14},"latestBlockHeight":{"type":"uint64","id":15},"latestBlockHash":{"type":"string","id":16},"rollup":{"type":"string","id":17}}},"IndexedDelegationState":{"fields":{"address":{"type":"string","id":1},"from":{"type":"string","id":2},"to":{"type":"string","id":3},"genesisTime":{"type":"string","id":4},"renaissanceTime":{"type":"string","id":5},"ops":{"keyType":"string","type":"DelegateOpState","id":6},"data":{"type":"google.protobuf.Any","id":7}}},"TokenFlowDirection":{"values":{"IN":0,"OUT":1}},"IndexedTokenFlow":{"fields":{"value":{"type":"string","id":1},"hash":{"type":"string","id":2},"from":{"type":"string","id":3},"to":{"type":"string","id":4}}},"VerifyAccountRiskResult":{"fields":{"isRisky":{"type":"bool","id":1},"reason":{"type":"string","id":2},"data":{"type":"BalanceRisky","id":3}},"nested":{"BalanceRisky":{"fields":{"address":{"type":"string","id":1},"balance":{"type":"string","id":2},"transferIn":{"type":"string","id":3},"transferOut":{"type":"string","id":4},"accountCount":{"type":"uint32","id":5},"txCount":{"type":"uint32","id":6}}}}},"TokenDistribution":{"fields":{"tokenAddress":{"type":"string","id":1},"txTime":{"type":"string","id":2},"account":{"type":"string","id":3},"gas":{"type":"string","id":4},"fee":{"type":"string","id":5},"slashedVault":{"type":"string","id":6},"stake":{"type":"string","id":7},"revokedStake":{"type":"string","id":8},"gasStake":{"type":"string","id":9}}},"ReleaseBridgeTokenTx":{"fields":{"kind":{"type":"uint32","id":1},"evidence":{"type":"string","id":2},"ordinal":{"type":"uint32","id":3},"to":{"type":"string","id":4},"amount":{"type":"string","id":5},"ethChainId":{"type":"string","id":6},"epoch":{"type":"uint64","id":7},"ethSender":{"type":"string","id":8},"claimSignature":{"type":"string","id":9},"signatures":{"rule":"repeated","type":"string","id":10},"bridge":{"type":"string","id":11},"data":{"type":"google.protobuf.Any","id":50}}}}},"google":{"nested":{"protobuf":{"nested":{"Timestamp":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}}}}}},"vendor":{"nested":{"KVPair":{"fields":{"key":{"type":"bytes","id":1},"value":{"type":"bytes","id":2}}},"BlockParams":{"fields":{"maxBytes":{"type":"int64","id":1},"maxGas":{"type":"int64","id":2}}},"EvidenceParams":{"fields":{"maxAge":{"type":"int64","id":1}}},"ValidatorParams":{"fields":{"pubKeyTypes":{"rule":"repeated","type":"string","id":1}}},"ConsensusParams":{"fields":{"block":{"type":"BlockParams","id":1},"evidence":{"type":"EvidenceParams","id":2},"validator":{"type":"ValidatorParams","id":3}}},"LastCommitInfo":{"fields":{"round":{"type":"int32","id":1},"votes":{"rule":"repeated","type":"VoteInfo","id":2}}},"Version":{"fields":{"Block":{"type":"uint64","id":1},"App":{"type":"uint64","id":2}}},"BlockID":{"fields":{"hash":{"type":"bytes","id":1},"partsHeader":{"type":"PartSetHeader","id":2}}},"PartSetHeader":{"fields":{"total":{"type":"int32","id":1},"hash":{"type":"bytes","id":2}}},"Validator":{"fields":{"address":{"type":"bytes","id":1},"power":{"type":"int64","id":3}}},"ValidatorUpdate":{"fields":{"pubKey":{"type":"PubKey","id":1},"power":{"type":"int64","id":2}}},"VoteInfo":{"fields":{"validator":{"type":"Validator","id":1},"signedLastBlock":{"type":"bool","id":2}}},"PubKey":{"fields":{"type":{"type":"string","id":1},"data":{"type":"bytes","id":2}}},"Evidence":{"fields":{"type":{"type":"string","id":1},"validator":{"type":"Validator","id":2},"height":{"type":"int64","id":3},"time":{"type":"google.protobuf.Timestamp","id":4},"totalVotingPower":{"type":"int64","id":5}}},"Header":{"fields":{"version":{"type":"Version","id":1},"chainId":{"type":"string","id":2},"height":{"type":"int64","id":3},"time":{"type":"google.protobuf.Timestamp","id":4},"numTxs":{"type":"int64","id":5},"totalTxs":{"type":"int64","id":6},"lastBlockId":{"type":"BlockID","id":7},"lastCommitHash":{"type":"bytes","id":8},"dataHash":{"type":"bytes","id":9},"validatorsHash":{"type":"bytes","id":10},"nextValidatorsHash":{"type":"bytes","id":11},"consensusHash":{"type":"bytes","id":12},"appHash":{"type":"bytes","id":13},"lastResultsHash":{"type":"bytes","id":14},"evidenceHash":{"type":"bytes","id":15},"proposerAddress":{"type":"bytes","id":16}}},"RequestBeginBlock":{"fields":{"hash":{"type":"bytes","id":1},"header":{"type":"Header","id":2},"lastCommitInfo":{"type":"LastCommitInfo","id":3},"byzantineValidators":{"rule":"repeated","type":"Evidence","id":4}}},"RequestEndBlock":{"fields":{"height":{"type":"int64","id":1}}}}}}}
package/lib/gen/tx_pb.js CHANGED
@@ -58,6 +58,7 @@ goog.exportSymbol('proto.ocap.MigrateRollupTx', null, root);
58
58
  goog.exportSymbol('proto.ocap.MintAssetTx', null, root);
59
59
  goog.exportSymbol('proto.ocap.MintTokenTx', null, root);
60
60
  goog.exportSymbol('proto.ocap.PauseRollupTx', null, root);
61
+ goog.exportSymbol('proto.ocap.ReleaseBridgeTokenTx', null, root);
61
62
  goog.exportSymbol('proto.ocap.ResumeRollupTx', null, root);
62
63
  goog.exportSymbol('proto.ocap.ReturnStakeTx', null, root);
63
64
  goog.exportSymbol('proto.ocap.RevokeDelegateTx', null, root);
@@ -975,6 +976,27 @@ if (goog.DEBUG && !COMPILED) {
975
976
  */
976
977
  proto.ocap.BurnTokenTx.displayName = 'proto.ocap.BurnTokenTx';
977
978
  }
979
+ /**
980
+ * Generated by JsPbCodeGenerator.
981
+ * @param {Array=} opt_data Optional initial data array, typically from a
982
+ * server response, or constructed directly in Javascript. The array is used
983
+ * in place and becomes part of the constructed object. It is not cloned.
984
+ * If no data is provided, the constructed object will be empty, but still
985
+ * valid.
986
+ * @extends {jspb.Message}
987
+ * @constructor
988
+ */
989
+ proto.ocap.ReleaseBridgeTokenTx = function(opt_data) {
990
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.ReleaseBridgeTokenTx.repeatedFields_, null);
991
+ };
992
+ goog.inherits(proto.ocap.ReleaseBridgeTokenTx, jspb.Message);
993
+ if (goog.DEBUG && !COMPILED) {
994
+ /**
995
+ * @public
996
+ * @override
997
+ */
998
+ proto.ocap.ReleaseBridgeTokenTx.displayName = 'proto.ocap.ReleaseBridgeTokenTx';
999
+ }
978
1000
  /**
979
1001
  * Generated by JsPbCodeGenerator.
980
1002
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -15725,6 +15747,513 @@ proto.ocap.BurnTokenTx.prototype.hasData = function() {
15725
15747
 
15726
15748
 
15727
15749
 
15750
+ /**
15751
+ * List of repeated fields within this message type.
15752
+ * @private {!Array<number>}
15753
+ * @const
15754
+ */
15755
+ proto.ocap.ReleaseBridgeTokenTx.repeatedFields_ = [10];
15756
+
15757
+
15758
+
15759
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15760
+ /**
15761
+ * Creates an object representation of this proto.
15762
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15763
+ * Optional fields that are not set will be set to undefined.
15764
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15765
+ * For the list of reserved names please see:
15766
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15767
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15768
+ * JSPB instance for transitional soy proto support:
15769
+ * http://goto/soy-param-migration
15770
+ * @return {!Object}
15771
+ */
15772
+ proto.ocap.ReleaseBridgeTokenTx.prototype.toObject = function(opt_includeInstance) {
15773
+ return proto.ocap.ReleaseBridgeTokenTx.toObject(opt_includeInstance, this);
15774
+ };
15775
+
15776
+
15777
+ /**
15778
+ * Static version of the {@see toObject} method.
15779
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15780
+ * the JSPB instance for transitional soy proto support:
15781
+ * http://goto/soy-param-migration
15782
+ * @param {!proto.ocap.ReleaseBridgeTokenTx} msg The msg instance to transform.
15783
+ * @return {!Object}
15784
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15785
+ */
15786
+ proto.ocap.ReleaseBridgeTokenTx.toObject = function(includeInstance, msg) {
15787
+ var f, obj = {
15788
+ kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
15789
+ evidence: jspb.Message.getFieldWithDefault(msg, 2, ""),
15790
+ ordinal: jspb.Message.getFieldWithDefault(msg, 3, 0),
15791
+ to: jspb.Message.getFieldWithDefault(msg, 4, ""),
15792
+ amount: jspb.Message.getFieldWithDefault(msg, 5, ""),
15793
+ ethChainId: jspb.Message.getFieldWithDefault(msg, 6, ""),
15794
+ epoch: jspb.Message.getFieldWithDefault(msg, 7, 0),
15795
+ ethSender: jspb.Message.getFieldWithDefault(msg, 8, ""),
15796
+ claimSignature: jspb.Message.getFieldWithDefault(msg, 9, ""),
15797
+ signaturesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
15798
+ bridge: jspb.Message.getFieldWithDefault(msg, 11, ""),
15799
+ data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
15800
+ };
15801
+
15802
+ if (includeInstance) {
15803
+ obj.$jspbMessageInstance = msg;
15804
+ }
15805
+ return obj;
15806
+ };
15807
+ }
15808
+
15809
+
15810
+ /**
15811
+ * Deserializes binary data (in protobuf wire format).
15812
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15813
+ * @return {!proto.ocap.ReleaseBridgeTokenTx}
15814
+ */
15815
+ proto.ocap.ReleaseBridgeTokenTx.deserializeBinary = function(bytes) {
15816
+ var reader = new jspb.BinaryReader(bytes);
15817
+ var msg = new proto.ocap.ReleaseBridgeTokenTx;
15818
+ return proto.ocap.ReleaseBridgeTokenTx.deserializeBinaryFromReader(msg, reader);
15819
+ };
15820
+
15821
+
15822
+ /**
15823
+ * Deserializes binary data (in protobuf wire format) from the
15824
+ * given reader into the given message object.
15825
+ * @param {!proto.ocap.ReleaseBridgeTokenTx} msg The message object to deserialize into.
15826
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15827
+ * @return {!proto.ocap.ReleaseBridgeTokenTx}
15828
+ */
15829
+ proto.ocap.ReleaseBridgeTokenTx.deserializeBinaryFromReader = function(msg, reader) {
15830
+ while (reader.nextField()) {
15831
+ if (reader.isEndGroup()) {
15832
+ break;
15833
+ }
15834
+ var field = reader.getFieldNumber();
15835
+ switch (field) {
15836
+ case 1:
15837
+ var value = /** @type {number} */ (reader.readUint32());
15838
+ msg.setKind(value);
15839
+ break;
15840
+ case 2:
15841
+ var value = /** @type {string} */ (reader.readString());
15842
+ msg.setEvidence(value);
15843
+ break;
15844
+ case 3:
15845
+ var value = /** @type {number} */ (reader.readUint32());
15846
+ msg.setOrdinal(value);
15847
+ break;
15848
+ case 4:
15849
+ var value = /** @type {string} */ (reader.readString());
15850
+ msg.setTo(value);
15851
+ break;
15852
+ case 5:
15853
+ var value = /** @type {string} */ (reader.readString());
15854
+ msg.setAmount(value);
15855
+ break;
15856
+ case 6:
15857
+ var value = /** @type {string} */ (reader.readString());
15858
+ msg.setEthChainId(value);
15859
+ break;
15860
+ case 7:
15861
+ var value = /** @type {number} */ (reader.readUint64());
15862
+ msg.setEpoch(value);
15863
+ break;
15864
+ case 8:
15865
+ var value = /** @type {string} */ (reader.readString());
15866
+ msg.setEthSender(value);
15867
+ break;
15868
+ case 9:
15869
+ var value = /** @type {string} */ (reader.readString());
15870
+ msg.setClaimSignature(value);
15871
+ break;
15872
+ case 10:
15873
+ var value = /** @type {string} */ (reader.readString());
15874
+ msg.addSignatures(value);
15875
+ break;
15876
+ case 11:
15877
+ var value = /** @type {string} */ (reader.readString());
15878
+ msg.setBridge(value);
15879
+ break;
15880
+ case 50:
15881
+ var value = new google_protobuf_any_pb.Any;
15882
+ reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
15883
+ msg.setData(value);
15884
+ break;
15885
+ default:
15886
+ reader.skipField();
15887
+ break;
15888
+ }
15889
+ }
15890
+ return msg;
15891
+ };
15892
+
15893
+
15894
+ /**
15895
+ * Serializes the message to binary data (in protobuf wire format).
15896
+ * @return {!Uint8Array}
15897
+ */
15898
+ proto.ocap.ReleaseBridgeTokenTx.prototype.serializeBinary = function() {
15899
+ var writer = new jspb.BinaryWriter();
15900
+ proto.ocap.ReleaseBridgeTokenTx.serializeBinaryToWriter(this, writer);
15901
+ return writer.getResultBuffer();
15902
+ };
15903
+
15904
+
15905
+ /**
15906
+ * Serializes the given message to binary data (in protobuf wire
15907
+ * format), writing to the given BinaryWriter.
15908
+ * @param {!proto.ocap.ReleaseBridgeTokenTx} message
15909
+ * @param {!jspb.BinaryWriter} writer
15910
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15911
+ */
15912
+ proto.ocap.ReleaseBridgeTokenTx.serializeBinaryToWriter = function(message, writer) {
15913
+ var f = undefined;
15914
+ f = message.getKind();
15915
+ if (f !== 0) {
15916
+ writer.writeUint32(
15917
+ 1,
15918
+ f
15919
+ );
15920
+ }
15921
+ f = message.getEvidence();
15922
+ if (f.length > 0) {
15923
+ writer.writeString(
15924
+ 2,
15925
+ f
15926
+ );
15927
+ }
15928
+ f = message.getOrdinal();
15929
+ if (f !== 0) {
15930
+ writer.writeUint32(
15931
+ 3,
15932
+ f
15933
+ );
15934
+ }
15935
+ f = message.getTo();
15936
+ if (f.length > 0) {
15937
+ writer.writeString(
15938
+ 4,
15939
+ f
15940
+ );
15941
+ }
15942
+ f = message.getAmount();
15943
+ if (f.length > 0) {
15944
+ writer.writeString(
15945
+ 5,
15946
+ f
15947
+ );
15948
+ }
15949
+ f = message.getEthChainId();
15950
+ if (f.length > 0) {
15951
+ writer.writeString(
15952
+ 6,
15953
+ f
15954
+ );
15955
+ }
15956
+ f = message.getEpoch();
15957
+ if (f !== 0) {
15958
+ writer.writeUint64(
15959
+ 7,
15960
+ f
15961
+ );
15962
+ }
15963
+ f = message.getEthSender();
15964
+ if (f.length > 0) {
15965
+ writer.writeString(
15966
+ 8,
15967
+ f
15968
+ );
15969
+ }
15970
+ f = message.getClaimSignature();
15971
+ if (f.length > 0) {
15972
+ writer.writeString(
15973
+ 9,
15974
+ f
15975
+ );
15976
+ }
15977
+ f = message.getSignaturesList();
15978
+ if (f.length > 0) {
15979
+ writer.writeRepeatedString(
15980
+ 10,
15981
+ f
15982
+ );
15983
+ }
15984
+ f = message.getBridge();
15985
+ if (f.length > 0) {
15986
+ writer.writeString(
15987
+ 11,
15988
+ f
15989
+ );
15990
+ }
15991
+ f = message.getData();
15992
+ if (f != null) {
15993
+ writer.writeMessage(
15994
+ 50,
15995
+ f,
15996
+ google_protobuf_any_pb.Any.serializeBinaryToWriter
15997
+ );
15998
+ }
15999
+ };
16000
+
16001
+
16002
+ /**
16003
+ * optional uint32 kind = 1;
16004
+ * @return {number}
16005
+ */
16006
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getKind = function() {
16007
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16008
+ };
16009
+
16010
+
16011
+ /**
16012
+ * @param {number} value
16013
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16014
+ */
16015
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setKind = function(value) {
16016
+ return jspb.Message.setProto3IntField(this, 1, value);
16017
+ };
16018
+
16019
+
16020
+ /**
16021
+ * optional string evidence = 2;
16022
+ * @return {string}
16023
+ */
16024
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getEvidence = function() {
16025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16026
+ };
16027
+
16028
+
16029
+ /**
16030
+ * @param {string} value
16031
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16032
+ */
16033
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setEvidence = function(value) {
16034
+ return jspb.Message.setProto3StringField(this, 2, value);
16035
+ };
16036
+
16037
+
16038
+ /**
16039
+ * optional uint32 ordinal = 3;
16040
+ * @return {number}
16041
+ */
16042
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getOrdinal = function() {
16043
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
16044
+ };
16045
+
16046
+
16047
+ /**
16048
+ * @param {number} value
16049
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16050
+ */
16051
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setOrdinal = function(value) {
16052
+ return jspb.Message.setProto3IntField(this, 3, value);
16053
+ };
16054
+
16055
+
16056
+ /**
16057
+ * optional string to = 4;
16058
+ * @return {string}
16059
+ */
16060
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getTo = function() {
16061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
16062
+ };
16063
+
16064
+
16065
+ /**
16066
+ * @param {string} value
16067
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16068
+ */
16069
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setTo = function(value) {
16070
+ return jspb.Message.setProto3StringField(this, 4, value);
16071
+ };
16072
+
16073
+
16074
+ /**
16075
+ * optional string amount = 5;
16076
+ * @return {string}
16077
+ */
16078
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getAmount = function() {
16079
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
16080
+ };
16081
+
16082
+
16083
+ /**
16084
+ * @param {string} value
16085
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16086
+ */
16087
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setAmount = function(value) {
16088
+ return jspb.Message.setProto3StringField(this, 5, value);
16089
+ };
16090
+
16091
+
16092
+ /**
16093
+ * optional string eth_chain_id = 6;
16094
+ * @return {string}
16095
+ */
16096
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getEthChainId = function() {
16097
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
16098
+ };
16099
+
16100
+
16101
+ /**
16102
+ * @param {string} value
16103
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16104
+ */
16105
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setEthChainId = function(value) {
16106
+ return jspb.Message.setProto3StringField(this, 6, value);
16107
+ };
16108
+
16109
+
16110
+ /**
16111
+ * optional uint64 epoch = 7;
16112
+ * @return {number}
16113
+ */
16114
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getEpoch = function() {
16115
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
16116
+ };
16117
+
16118
+
16119
+ /**
16120
+ * @param {number} value
16121
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16122
+ */
16123
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setEpoch = function(value) {
16124
+ return jspb.Message.setProto3IntField(this, 7, value);
16125
+ };
16126
+
16127
+
16128
+ /**
16129
+ * optional string eth_sender = 8;
16130
+ * @return {string}
16131
+ */
16132
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getEthSender = function() {
16133
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
16134
+ };
16135
+
16136
+
16137
+ /**
16138
+ * @param {string} value
16139
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16140
+ */
16141
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setEthSender = function(value) {
16142
+ return jspb.Message.setProto3StringField(this, 8, value);
16143
+ };
16144
+
16145
+
16146
+ /**
16147
+ * optional string claim_signature = 9;
16148
+ * @return {string}
16149
+ */
16150
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getClaimSignature = function() {
16151
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
16152
+ };
16153
+
16154
+
16155
+ /**
16156
+ * @param {string} value
16157
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16158
+ */
16159
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setClaimSignature = function(value) {
16160
+ return jspb.Message.setProto3StringField(this, 9, value);
16161
+ };
16162
+
16163
+
16164
+ /**
16165
+ * repeated string signatures = 10;
16166
+ * @return {!Array<string>}
16167
+ */
16168
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getSignaturesList = function() {
16169
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
16170
+ };
16171
+
16172
+
16173
+ /**
16174
+ * @param {!Array<string>} value
16175
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16176
+ */
16177
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setSignaturesList = function(value) {
16178
+ return jspb.Message.setField(this, 10, value || []);
16179
+ };
16180
+
16181
+
16182
+ /**
16183
+ * @param {string} value
16184
+ * @param {number=} opt_index
16185
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16186
+ */
16187
+ proto.ocap.ReleaseBridgeTokenTx.prototype.addSignatures = function(value, opt_index) {
16188
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
16189
+ };
16190
+
16191
+
16192
+ /**
16193
+ * Clears the list making it empty but non-null.
16194
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16195
+ */
16196
+ proto.ocap.ReleaseBridgeTokenTx.prototype.clearSignaturesList = function() {
16197
+ return this.setSignaturesList([]);
16198
+ };
16199
+
16200
+
16201
+ /**
16202
+ * optional string bridge = 11;
16203
+ * @return {string}
16204
+ */
16205
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getBridge = function() {
16206
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
16207
+ };
16208
+
16209
+
16210
+ /**
16211
+ * @param {string} value
16212
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16213
+ */
16214
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setBridge = function(value) {
16215
+ return jspb.Message.setProto3StringField(this, 11, value);
16216
+ };
16217
+
16218
+
16219
+ /**
16220
+ * optional google.protobuf.Any data = 50;
16221
+ * @return {?proto.google.protobuf.Any}
16222
+ */
16223
+ proto.ocap.ReleaseBridgeTokenTx.prototype.getData = function() {
16224
+ return /** @type{?proto.google.protobuf.Any} */ (
16225
+ jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 50));
16226
+ };
16227
+
16228
+
16229
+ /**
16230
+ * @param {?proto.google.protobuf.Any|undefined} value
16231
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16232
+ */
16233
+ proto.ocap.ReleaseBridgeTokenTx.prototype.setData = function(value) {
16234
+ return jspb.Message.setWrapperField(this, 50, value);
16235
+ };
16236
+
16237
+
16238
+ /**
16239
+ * Clears the message field making it undefined.
16240
+ * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16241
+ */
16242
+ proto.ocap.ReleaseBridgeTokenTx.prototype.clearData = function() {
16243
+ return this.setData(undefined);
16244
+ };
16245
+
16246
+
16247
+ /**
16248
+ * Returns whether this field is set.
16249
+ * @return {boolean}
16250
+ */
16251
+ proto.ocap.ReleaseBridgeTokenTx.prototype.hasData = function() {
16252
+ return jspb.Message.getField(this, 50) != null;
16253
+ };
16254
+
16255
+
16256
+
15728
16257
  /**
15729
16258
  * Oneof group definitions for this message. Each group defines the field
15730
16259
  * numbers belonging to that group. When of these fields' value is set, all
@@ -15733,7 +16262,7 @@ proto.ocap.BurnTokenTx.prototype.hasData = function() {
15733
16262
  * @private {!Array<!Array<number>>}
15734
16263
  * @const
15735
16264
  */
15736
- proto.ocap.ItxStub.oneofGroups_ = [[1,2,3,4,5,6,7,10,12,13,14,15,20,21,22,23,24,25,26,30,31,32,33,40,41,42,43,44,49,50,51,52,53,54,55,56,57,58,60]];
16265
+ proto.ocap.ItxStub.oneofGroups_ = [[1,2,3,4,5,6,7,10,12,13,14,15,20,21,22,23,24,25,26,27,30,31,32,33,40,41,42,43,44,49,50,51,52,53,54,55,56,57,58,60]];
15737
16266
 
15738
16267
  /**
15739
16268
  * @enum {number}
@@ -15759,6 +16288,7 @@ proto.ocap.ItxStub.ValueCase = {
15759
16288
  UPDATE_TOKEN_FACTORY: 24,
15760
16289
  MINT_TOKEN: 25,
15761
16290
  BURN_TOKEN: 26,
16291
+ RELEASE_BRIDGE_TOKEN: 27,
15762
16292
  CREATE_FACTORY: 30,
15763
16293
  ACQUIRE_ASSET_V2: 31,
15764
16294
  ACQUIRE_ASSET_V3: 32,
@@ -15838,6 +16368,7 @@ proto.ocap.ItxStub.toObject = function(includeInstance, msg) {
15838
16368
  updateTokenFactory: (f = msg.getUpdateTokenFactory()) && proto.ocap.UpdateTokenFactoryTx.toObject(includeInstance, f),
15839
16369
  mintToken: (f = msg.getMintToken()) && proto.ocap.MintTokenTx.toObject(includeInstance, f),
15840
16370
  burnToken: (f = msg.getBurnToken()) && proto.ocap.BurnTokenTx.toObject(includeInstance, f),
16371
+ releaseBridgeToken: (f = msg.getReleaseBridgeToken()) && proto.ocap.ReleaseBridgeTokenTx.toObject(includeInstance, f),
15841
16372
  createFactory: (f = msg.getCreateFactory()) && proto.ocap.CreateFactoryTx.toObject(includeInstance, f),
15842
16373
  acquireAssetV2: (f = msg.getAcquireAssetV2()) && proto.ocap.AcquireAssetV2Tx.toObject(includeInstance, f),
15843
16374
  acquireAssetV3: (f = msg.getAcquireAssetV3()) && proto.ocap.AcquireAssetV3Tx.toObject(includeInstance, f),
@@ -15989,6 +16520,11 @@ proto.ocap.ItxStub.deserializeBinaryFromReader = function(msg, reader) {
15989
16520
  reader.readMessage(value,proto.ocap.BurnTokenTx.deserializeBinaryFromReader);
15990
16521
  msg.setBurnToken(value);
15991
16522
  break;
16523
+ case 27:
16524
+ var value = new proto.ocap.ReleaseBridgeTokenTx;
16525
+ reader.readMessage(value,proto.ocap.ReleaseBridgeTokenTx.deserializeBinaryFromReader);
16526
+ msg.setReleaseBridgeToken(value);
16527
+ break;
15992
16528
  case 30:
15993
16529
  var value = new proto.ocap.CreateFactoryTx;
15994
16530
  reader.readMessage(value,proto.ocap.CreateFactoryTx.deserializeBinaryFromReader);
@@ -16270,6 +16806,14 @@ proto.ocap.ItxStub.serializeBinaryToWriter = function(message, writer) {
16270
16806
  proto.ocap.BurnTokenTx.serializeBinaryToWriter
16271
16807
  );
16272
16808
  }
16809
+ f = message.getReleaseBridgeToken();
16810
+ if (f != null) {
16811
+ writer.writeMessage(
16812
+ 27,
16813
+ f,
16814
+ proto.ocap.ReleaseBridgeTokenTx.serializeBinaryToWriter
16815
+ );
16816
+ }
16273
16817
  f = message.getCreateFactory();
16274
16818
  if (f != null) {
16275
16819
  writer.writeMessage(
@@ -17136,6 +17680,43 @@ proto.ocap.ItxStub.prototype.hasBurnToken = function() {
17136
17680
  };
17137
17681
 
17138
17682
 
17683
+ /**
17684
+ * optional ReleaseBridgeTokenTx release_bridge_token = 27;
17685
+ * @return {?proto.ocap.ReleaseBridgeTokenTx}
17686
+ */
17687
+ proto.ocap.ItxStub.prototype.getReleaseBridgeToken = function() {
17688
+ return /** @type{?proto.ocap.ReleaseBridgeTokenTx} */ (
17689
+ jspb.Message.getWrapperField(this, proto.ocap.ReleaseBridgeTokenTx, 27));
17690
+ };
17691
+
17692
+
17693
+ /**
17694
+ * @param {?proto.ocap.ReleaseBridgeTokenTx|undefined} value
17695
+ * @return {!proto.ocap.ItxStub} returns this
17696
+ */
17697
+ proto.ocap.ItxStub.prototype.setReleaseBridgeToken = function(value) {
17698
+ return jspb.Message.setOneofWrapperField(this, 27, proto.ocap.ItxStub.oneofGroups_[0], value);
17699
+ };
17700
+
17701
+
17702
+ /**
17703
+ * Clears the message field making it undefined.
17704
+ * @return {!proto.ocap.ItxStub} returns this
17705
+ */
17706
+ proto.ocap.ItxStub.prototype.clearReleaseBridgeToken = function() {
17707
+ return this.setReleaseBridgeToken(undefined);
17708
+ };
17709
+
17710
+
17711
+ /**
17712
+ * Returns whether this field is set.
17713
+ * @return {boolean}
17714
+ */
17715
+ proto.ocap.ItxStub.prototype.hasReleaseBridgeToken = function() {
17716
+ return jspb.Message.getField(this, 27) != null;
17717
+ };
17718
+
17719
+
17139
17720
  /**
17140
17721
  * optional CreateFactoryTx create_factory = 30;
17141
17722
  * @return {?proto.ocap.CreateFactoryTx}
@@ -7937,7 +7937,8 @@ proto.ocap.VaultConfig.toObject = function(includeInstance, msg) {
7937
7937
  var f, obj = {
7938
7938
  slashedStake: jspb.Message.getFieldWithDefault(msg, 1, ""),
7939
7939
  txFee: jspb.Message.getFieldWithDefault(msg, 2, ""),
7940
- txGasList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
7940
+ txGasList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
7941
+ bridgeReserve: jspb.Message.getFieldWithDefault(msg, 4, "")
7941
7942
  };
7942
7943
 
7943
7944
  if (includeInstance) {
@@ -7986,6 +7987,10 @@ proto.ocap.VaultConfig.deserializeBinaryFromReader = function(msg, reader) {
7986
7987
  var value = /** @type {string} */ (reader.readString());
7987
7988
  msg.addTxGas(value);
7988
7989
  break;
7990
+ case 4:
7991
+ var value = /** @type {string} */ (reader.readString());
7992
+ msg.setBridgeReserve(value);
7993
+ break;
7989
7994
  default:
7990
7995
  reader.skipField();
7991
7996
  break;
@@ -8036,6 +8041,13 @@ proto.ocap.VaultConfig.serializeBinaryToWriter = function(message, writer) {
8036
8041
  f
8037
8042
  );
8038
8043
  }
8044
+ f = message.getBridgeReserve();
8045
+ if (f.length > 0) {
8046
+ writer.writeString(
8047
+ 4,
8048
+ f
8049
+ );
8050
+ }
8039
8051
  };
8040
8052
 
8041
8053
 
@@ -8112,6 +8124,24 @@ proto.ocap.VaultConfig.prototype.clearTxGasList = function() {
8112
8124
  };
8113
8125
 
8114
8126
 
8127
+ /**
8128
+ * optional string bridge_reserve = 4;
8129
+ * @return {string}
8130
+ */
8131
+ proto.ocap.VaultConfig.prototype.getBridgeReserve = function() {
8132
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
8133
+ };
8134
+
8135
+
8136
+ /**
8137
+ * @param {string} value
8138
+ * @return {!proto.ocap.VaultConfig} returns this
8139
+ */
8140
+ proto.ocap.VaultConfig.prototype.setBridgeReserve = function(value) {
8141
+ return jspb.Message.setProto3StringField(this, 4, value);
8142
+ };
8143
+
8144
+
8115
8145
 
8116
8146
 
8117
8147
 
package/lib/schema.d.ts CHANGED
@@ -266,6 +266,7 @@ export enum SupportedTxs {
266
266
  36 = UpdateTokenFactoryTx,
267
267
  37 = MintTokenTx,
268
268
  38 = BurnTokenTx,
269
+ 39 = ReleaseBridgeTokenTx,
269
270
  }
270
271
 
271
272
  export enum SupportedStakes {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/proto",
3
3
  "description": "Static modules generated from forge-sdk protobuf files",
4
- "version": "1.31.0",
4
+ "version": "1.31.2",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",