Skip to content

Conversation

gurbaj5124871
Copy link
Contributor

This is an automated generated pr
changelog

  • auto-fix: interface type updated for Osmosis1TrxMsgCosmwasmWasmV1MsgInstantiateContract

Block Data
network: osmosis-1
height: 18250677

errors

[
  {
    "path": "$input.transactions[13].messages[0].data.funds",
    "expected": "undefined",
    "value": [
      {
        "denom": "uosmo",
        "amount": "1000000"
      }
    ]
  }
]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: osmosis-1
height: 18725740
data:

[
  {
    "sender": "osmo1g8qypve6l95xmhgc0fddaecerffymsl7kn9muw",
    "admin": "osmo1g8qypve6l95xmhgc0fddaecerffymsl7kn9muw",
    "codeId": "955",
    "label": "margined-locust-redemption-vault-atom",
    "msg": {
      "deposit_denom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
      "controller": "osmo13y2js99t6huwdgm5z26k6ugv8l09gvckjyztgz",
      "strategy_cap": "100000000",
      "whitelisted_pools": [
        1283
      ],
      "fee_rate": "0.002",
      "performance_fee_rate": "0.15",
      "instant_withdraw_penalty": "0.5",
      "penalty_duration": 1814400,
      "treasury": "osmo1dw2yh3w85yda8qcfc07kl0pjnywz2wc04wjh5c",
      "vault_type": "redemption"
    },
    "funds": [
      {
        "denom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
        "amount": "1000000"
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[3].messages[0].data.funds",
    "expected": "undefined",
    "value": [
      {
        "denom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
        "amount": "1000000"
      }
    ]
  }
]

interface:

export interface Osmosis1TrxMsgCosmwasmWasmV1MsgInstantiateContract {
    type: string;
    data: Osmosis1TrxMsgCosmwasmWasmV1MsgInstantiateContractData;
}
interface Osmosis1TrxMsgCosmwasmWasmV1MsgInstantiateContractData {
    sender: string;
    admin: string;
    codeId: string;
    label: string;
    msg: Osmosis1TrxMsgCosmwasmWasmV1MsgInstantiateContractMsg;
    funds: Osmosis1TrxMsgCosmwasmWasmV1MsgInstantiateContractFundsItem[];
}
interface Osmosis1TrxMsgCosmwasmWasmV1MsgInstantiateContractMsg {
    deposit_denom: string;
    controller: string;
    strategy_cap: string;
    whitelisted_pools: number[];
    fee_rate: string;
    performance_fee_rate: string;
    instant_withdraw_penalty: string;
    penalty_duration: number;
    treasury: string;
    vault_type: string;
}
interface Osmosis1TrxMsgCosmwasmWasmV1MsgInstantiateContractFundsItem {
    denom: string;
    amount: string;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant