Skip to content

Commit fb0ad94

Browse files
committed
Update schemas
1 parent 481ed6f commit fb0ad94

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

contracts/ibc-reflect-send/schema/ibc-reflect-send.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@
561561
"additionalProperties": false
562562
},
563563
{
564+
"description": "Incentivizes the next IBC packet sent after this message with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.\n\n# Example\n\nMost commonly, you will attach this message to a response right before sending a packet using [`IbcMsg::SendPacket`] or [`IbcMsg::Transfer`].\n\n```rust # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, CosmosMsg, Response, Timestamp};\n\nlet incentivize = IbcMsg::PayPacketFee { src: IbcEndpoint { port_id: \"transfer\".to_string(), channel_id: \"source-channel\".to_string(), }, fee: IbcFee { recv_fee: vec![Coin::new(100u32, \"token\")], ..IbcFee::default() }, relayers: vec![], }; let transfer = IbcMsg::Transfer { channel_id: \"source-channel\".to_string(), to_address: \"receiver\".to_string(), amount: Coin::new(100u32, \"token\"), timeout: IbcTimeout::with_timestamp(Timestamp::from_nanos(0)), memo: None, };\n\n# #[cfg(feature = \"stargate\")] let _: Response = Response::new() .add_message(CosmosMsg::Ibc(incentivize)) .add_message(CosmosMsg::Ibc(transfer)); ```",
564565
"type": "object",
565566
"required": [
566567
"pay_packet_fee"
@@ -594,6 +595,7 @@
594595
"additionalProperties": false
595596
},
596597
{
598+
"description": "Incentivizes the existing IBC packet with the given port, channel and sequence with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.",
597599
"type": "object",
598600
"required": [
599601
"pay_packet_fee_async"

contracts/ibc-reflect-send/schema/ibc/packet_msg.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@
502502
"additionalProperties": false
503503
},
504504
{
505+
"description": "Incentivizes the next IBC packet sent after this message with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.\n\n# Example\n\nMost commonly, you will attach this message to a response right before sending a packet using [`IbcMsg::SendPacket`] or [`IbcMsg::Transfer`].\n\n```rust # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, CosmosMsg, Response, Timestamp};\n\nlet incentivize = IbcMsg::PayPacketFee { src: IbcEndpoint { port_id: \"transfer\".to_string(), channel_id: \"source-channel\".to_string(), }, fee: IbcFee { recv_fee: vec![Coin::new(100u32, \"token\")], ..IbcFee::default() }, relayers: vec![], }; let transfer = IbcMsg::Transfer { channel_id: \"source-channel\".to_string(), to_address: \"receiver\".to_string(), amount: Coin::new(100u32, \"token\"), timeout: IbcTimeout::with_timestamp(Timestamp::from_nanos(0)), memo: None, };\n\n# #[cfg(feature = \"stargate\")] let _: Response = Response::new() .add_message(CosmosMsg::Ibc(incentivize)) .add_message(CosmosMsg::Ibc(transfer)); ```",
505506
"type": "object",
506507
"required": [
507508
"pay_packet_fee"
@@ -535,6 +536,7 @@
535536
"additionalProperties": false
536537
},
537538
{
539+
"description": "Incentivizes the existing IBC packet with the given port, channel and sequence with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.",
538540
"type": "object",
539541
"required": [
540542
"pay_packet_fee_async"

contracts/ibc-reflect-send/schema/raw/execute.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@
550550
"additionalProperties": false
551551
},
552552
{
553+
"description": "Incentivizes the next IBC packet sent after this message with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.\n\n# Example\n\nMost commonly, you will attach this message to a response right before sending a packet using [`IbcMsg::SendPacket`] or [`IbcMsg::Transfer`].\n\n```rust # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, CosmosMsg, Response, Timestamp};\n\nlet incentivize = IbcMsg::PayPacketFee { src: IbcEndpoint { port_id: \"transfer\".to_string(), channel_id: \"source-channel\".to_string(), }, fee: IbcFee { recv_fee: vec![Coin::new(100u32, \"token\")], ..IbcFee::default() }, relayers: vec![], }; let transfer = IbcMsg::Transfer { channel_id: \"source-channel\".to_string(), to_address: \"receiver\".to_string(), amount: Coin::new(100u32, \"token\"), timeout: IbcTimeout::with_timestamp(Timestamp::from_nanos(0)), memo: None, };\n\n# #[cfg(feature = \"stargate\")] let _: Response = Response::new() .add_message(CosmosMsg::Ibc(incentivize)) .add_message(CosmosMsg::Ibc(transfer)); ```",
553554
"type": "object",
554555
"required": [
555556
"pay_packet_fee"
@@ -583,6 +584,7 @@
583584
"additionalProperties": false
584585
},
585586
{
587+
"description": "Incentivizes the existing IBC packet with the given port, channel and sequence with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.",
586588
"type": "object",
587589
"required": [
588590
"pay_packet_fee_async"

contracts/ibc-reflect/schema/ibc/packet_msg.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@
613613
"additionalProperties": false
614614
},
615615
{
616+
"description": "Incentivizes the next IBC packet sent after this message with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.\n\n# Example\n\nMost commonly, you will attach this message to a response right before sending a packet using [`IbcMsg::SendPacket`] or [`IbcMsg::Transfer`].\n\n```rust # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, CosmosMsg, Response, Timestamp};\n\nlet incentivize = IbcMsg::PayPacketFee { src: IbcEndpoint { port_id: \"transfer\".to_string(), channel_id: \"source-channel\".to_string(), }, fee: IbcFee { recv_fee: vec![Coin::new(100u32, \"token\")], ..IbcFee::default() }, relayers: vec![], }; let transfer = IbcMsg::Transfer { channel_id: \"source-channel\".to_string(), to_address: \"receiver\".to_string(), amount: Coin::new(100u32, \"token\"), timeout: IbcTimeout::with_timestamp(Timestamp::from_nanos(0)), memo: None, };\n\n# #[cfg(feature = \"stargate\")] let _: Response = Response::new() .add_message(CosmosMsg::Ibc(incentivize)) .add_message(CosmosMsg::Ibc(transfer)); ```",
616617
"type": "object",
617618
"required": [
618619
"pay_packet_fee"
@@ -646,6 +647,7 @@
646647
"additionalProperties": false
647648
},
648649
{
650+
"description": "Incentivizes the existing IBC packet with the given port, channel and sequence with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.",
649651
"type": "object",
650652
"required": [
651653
"pay_packet_fee_async"

contracts/reflect/schema/raw/execute.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@
635635
"additionalProperties": false
636636
},
637637
{
638+
"description": "Incentivizes the next IBC packet sent after this message with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.\n\n# Example\n\nMost commonly, you will attach this message to a response right before sending a packet using [`IbcMsg::SendPacket`] or [`IbcMsg::Transfer`].\n\n```rust # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, CosmosMsg, Response, Timestamp};\n\nlet incentivize = IbcMsg::PayPacketFee { src: IbcEndpoint { port_id: \"transfer\".to_string(), channel_id: \"source-channel\".to_string(), }, fee: IbcFee { recv_fee: vec![Coin::new(100u32, \"token\")], ..IbcFee::default() }, relayers: vec![], }; let transfer = IbcMsg::Transfer { channel_id: \"source-channel\".to_string(), to_address: \"receiver\".to_string(), amount: Coin::new(100u32, \"token\"), timeout: IbcTimeout::with_timestamp(Timestamp::from_nanos(0)), memo: None, };\n\n# #[cfg(feature = \"stargate\")] let _: Response = Response::new() .add_message(CosmosMsg::Ibc(incentivize)) .add_message(CosmosMsg::Ibc(transfer)); ```",
638639
"type": "object",
639640
"required": [
640641
"pay_packet_fee"
@@ -668,6 +669,7 @@
668669
"additionalProperties": false
669670
},
670671
{
672+
"description": "Incentivizes the existing IBC packet with the given port, channel and sequence with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.",
671673
"type": "object",
672674
"required": [
673675
"pay_packet_fee_async"

contracts/reflect/schema/reflect.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,7 @@
645645
"additionalProperties": false
646646
},
647647
{
648+
"description": "Incentivizes the next IBC packet sent after this message with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.\n\n# Example\n\nMost commonly, you will attach this message to a response right before sending a packet using [`IbcMsg::SendPacket`] or [`IbcMsg::Transfer`].\n\n```rust # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, CosmosMsg, Response, Timestamp};\n\nlet incentivize = IbcMsg::PayPacketFee { src: IbcEndpoint { port_id: \"transfer\".to_string(), channel_id: \"source-channel\".to_string(), }, fee: IbcFee { recv_fee: vec![Coin::new(100u32, \"token\")], ..IbcFee::default() }, relayers: vec![], }; let transfer = IbcMsg::Transfer { channel_id: \"source-channel\".to_string(), to_address: \"receiver\".to_string(), amount: Coin::new(100u32, \"token\"), timeout: IbcTimeout::with_timestamp(Timestamp::from_nanos(0)), memo: None, };\n\n# #[cfg(feature = \"stargate\")] let _: Response = Response::new() .add_message(CosmosMsg::Ibc(incentivize)) .add_message(CosmosMsg::Ibc(transfer)); ```",
648649
"type": "object",
649650
"required": [
650651
"pay_packet_fee"
@@ -678,6 +679,7 @@
678679
"additionalProperties": false
679680
},
680681
{
682+
"description": "Incentivizes the existing IBC packet with the given port, channel and sequence with a fee. Note that this does not necessarily have to be a packet sent by this contract. The fees are taken from the contract's balance immediately and locked until the packet is handled.",
681683
"type": "object",
682684
"required": [
683685
"pay_packet_fee_async"

0 commit comments

Comments
 (0)