-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eibc): update demand order (#915)
- Loading branch information
Showing
16 changed files
with
1,033 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,39 @@ | ||
syntax = "proto3"; | ||
package dymensionxyz.dymension.eibc; | ||
|
||
import "cosmos/msg/v1/msg.proto"; | ||
|
||
option go_package = "github.com/dymensionxyz/dymension/v3/x/eibc/types"; | ||
|
||
// Msg defines the Msg service. | ||
service Msg { | ||
rpc FulfillOrder(MsgFulfillOrder) returns (MsgFulfillOrderResponse) {} | ||
rpc UpdateDemandOrder(MsgUpdateDemandOrder) returns (MsgUpdateDemandOrderResponse) {} | ||
} | ||
|
||
// MsgFulfillOrder defines the FulfillOrder request type. | ||
message MsgFulfillOrder { | ||
option (cosmos.msg.v1.signer) = "fulfiller_address"; | ||
// fulfiller_address is the bech32-encoded address of the account which the message was sent from. | ||
string fulfiller_address = 1; | ||
// order_id is the unique identifier of the order to be fulfilled. | ||
string order_id = 2; | ||
// expected_fee is the nominal fee set in the order. | ||
string expected_fee = 3; | ||
} | ||
|
||
// MsgFulfillOrderResponse defines the FulfillOrder response type. | ||
message MsgFulfillOrderResponse {} | ||
message MsgFulfillOrderResponse {} | ||
|
||
message MsgUpdateDemandOrder { | ||
option (cosmos.msg.v1.signer) = "owner_address"; | ||
// owner_address is the bech32-encoded address of the account owns the order. | ||
// This is expected to be the address of the order recipient. | ||
string owner_address = 1; | ||
// order_id is the unique identifier of the order to be updated. | ||
string order_id = 2; | ||
// new_fee is the new fee amount to be set in the order. | ||
string new_fee = 3; | ||
} | ||
|
||
message MsgUpdateDemandOrderResponse {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.