generated from KyberNetwork/go-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TRD-573 add message sender and interact contract
- Loading branch information
1 parent
432e8ee
commit 02656de
Showing
10 changed files
with
67 additions
and
25 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
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
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,15 +1,17 @@ | ||
package types | ||
|
||
type TradeLogsQuery struct { | ||
FromTime uint64 `form:"from_time" json:"from_time,omitempty" binding:"required"` | ||
ToTime uint64 `form:"to_time" json:"to_time,omitempty" binding:"required"` | ||
ContractAddress string `form:"contract_address" json:"contract_address,omitempty"` | ||
Maker string `form:"maker" json:"maker,omitempty"` | ||
Taker string `form:"taker" json:"taker,omitempty"` | ||
MakerToken string `form:"maker_token" json:"maker_token,omitempty"` | ||
TakerToken string `form:"taker_token" json:"taker_token,omitempty"` | ||
OrderHash string `form:"order_hash" json:"order_hash,omitempty"` | ||
EventHash string `form:"event_hash" json:"event_hash,omitempty"` | ||
State string `form:"state" json:"state,omitempty"` | ||
Limit uint64 `form:"limit" json:"limit,omitempty"` | ||
FromTime uint64 `form:"from_time" json:"from_time,omitempty" binding:"required"` | ||
ToTime uint64 `form:"to_time" json:"to_time,omitempty" binding:"required"` | ||
ContractAddress string `form:"contract_address" json:"contract_address,omitempty"` | ||
Maker string `form:"maker" json:"maker,omitempty"` | ||
Taker string `form:"taker" json:"taker,omitempty"` | ||
MakerToken string `form:"maker_token" json:"maker_token,omitempty"` | ||
TakerToken string `form:"taker_token" json:"taker_token,omitempty"` | ||
OrderHash string `form:"order_hash" json:"order_hash,omitempty"` | ||
EventHash string `form:"event_hash" json:"event_hash,omitempty"` | ||
MessageSender string `form:"message_sender" json:"message_sender,omitempty"` | ||
InteractContract string `form:"interact_contract" json:"interact_contract,omitempty"` | ||
State string `form:"state" json:"state,omitempty"` | ||
Limit uint64 `form:"limit" json:"limit,omitempty"` | ||
} |
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