Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 7 additions & 17 deletions src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts
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: cosmoshub-4
height: 21548150
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper103agss48504gkk3la5xcg5kxplaf6ttnuv234h",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "1100"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[1].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper103agss48504gkk3la5xcg5kxplaf6ttnuv234h",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "1100"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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: cosmoshub-4
height: 21548748
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper1jxv0u20scum4trha72c7ltfgfqef6nsch7q6cu",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "100"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[5].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper1jxv0u20scum4trha72c7ltfgfqef6nsch7q6cu",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "100"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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: cosmoshub-4
height: 21549346
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper1nesedjyngslkvgg8jxy6nuy6r4g6ty0fdk3yky",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "1000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[7].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper1nesedjyngslkvgg8jxy6nuy6r4g6ty0fdk3yky",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "1000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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: cosmoshub-4
height: 21552334
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper1kyfce0nvluyhgfsdzz8hwrsf5336gsc95pyy4u",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "9"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[0].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper1kyfce0nvluyhgfsdzz8hwrsf5336gsc95pyy4u",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "9"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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: cosmoshub-4
height: 21558089
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
        "validatorSrcAddress": "cosmosvaloper1rwh0cxa72d3yle3r4l8gd7vyphrmjy2kpe4x72",
        "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
        "amount": {
          "denom": "uatom",
          "amount": "10000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[1].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
      "validatorSrcAddress": "cosmosvaloper1rwh0cxa72d3yle3r4l8gd7vyphrmjy2kpe4x72",
      "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
      "amount": {
        "denom": "uatom",
        "amount": "10000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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: cosmoshub-4
height: 21558927
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
        "validatorSrcAddress": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
        "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
        "amount": {
          "denom": "uatom",
          "amount": "10000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[2].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
      "validatorSrcAddress": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
      "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
      "amount": {
        "denom": "uatom",
        "amount": "10000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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: cosmoshub-4
height: 21560118
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
        "validatorSrcAddress": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
        "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
        "amount": {
          "denom": "uatom",
          "amount": "10000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[4].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
      "validatorSrcAddress": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
      "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
      "amount": {
        "denom": "uatom",
        "amount": "10000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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: cosmoshub-4
height: 21600968
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper1qaa9zej9a0ge3ugpx3pxyx602lxh3ztqgfnp42",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "10"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[7].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper1qaa9zej9a0ge3ugpx3pxyx602lxh3ztqgfnp42",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "10"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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: cosmoshub-4
height: 21617355
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
        "validatorSrcAddress": "cosmosvaloper18al7yt9q5a7n7aqje9dat36efyxssyahmx2gzs",
        "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
        "amount": {
          "denom": "uatom",
          "amount": "10000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[0].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
      "validatorSrcAddress": "cosmosvaloper18al7yt9q5a7n7aqje9dat36efyxssyahmx2gzs",
      "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
      "amount": {
        "denom": "uatom",
        "amount": "10000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,15 @@ export enum CosmosHub4TrxMsgTypes {
}

// types for mgs type:: /cosmos.authz.v1beta1.MsgExec
export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec
extends IRangeMessage {
type: CosmosHub4TrxMsgTypes.CosmosAuthzV1beta1MsgExec;
data: {
grantee: string;
msgs: (
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant
| CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke
)[];
};
export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
type: string;
data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
error: string;
}


interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend {
'@type': '/cosmos.bank.v1beta1.MsgSend';
fromAddress: string;
Expand Down