Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
chore: fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kenta-elys committed Nov 30, 2023
1 parent a4ed996 commit 4f51432
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/msg/execute_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,45 @@ pub enum ExecuteMsg {
id: u64,
},
StakeRequest {
<<<<<<< HEAD
=======
address: String,
>>>>>>> 852e71b (chore: add execution functions)
amount: u64,
asset: String,
validator_address: Option<String>,
},
UnstakeRequest {
<<<<<<< HEAD
=======
address: String,
>>>>>>> 852e71b (chore: add execution functions)
amount: u64,
asset: String,
validator_address: Option<String>,
},
ElysRedelegateRequest {
<<<<<<< HEAD
=======
delegator_address: String,
>>>>>>> 852e71b (chore: add execution functions)
validator_src_address: String,
validator_dst_address: String,
amount: Coin,
},
ElysCancelUnstakeRequest {
<<<<<<< HEAD
=======
delegator_address: String,
>>>>>>> 852e71b (chore: add execution functions)
validator_address: String,
// amount is always less than or equal to unbonding delegation entry balance
amount: Coin,
// creation_height is the height which the unbonding took place.
creation_height: i64,
},
EdenVestRequest {
<<<<<<< HEAD
amount: u64,
},
EdenCancelVestRequest {
Expand All @@ -73,6 +90,21 @@ pub enum ExecuteMsg {
withdraw_type: EarnType,
},
ClaimValidatorCommissionRequest {
=======
creator: String,
amount: u64,
},
EdenCancelVestRequest {
creator: String,
amount: u64,
},
ClaimRewardsRequest {
delegator_address: String,
withdraw_type: EarnType,
},
ClaimValidatorCommissionRequest {
delegator_address: String,
>>>>>>> 852e71b (chore: add execution functions)
validator_address: String,
}
}
10 changes: 10 additions & 0 deletions src/types/earn_type.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use cosmwasm_schema::cw_serde;

#[cw_serde]
pub enum EarnType {
AllProgram = 0,
UsdcProgram = 1,
ElysProgram = 2,
EdenProgram = 3,
EdenBProgram = 4,
}
2 changes: 2 additions & 0 deletions src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ mod margin_order;
mod margin_order_type;
mod reply_info;
mod status;
mod earn_type;

pub use date::Date;
pub use elys_bindings::types::*;
Expand All @@ -23,3 +24,4 @@ pub use spot_order::spot_order::SpotOrder;
pub use spot_order_price::OrderPrice;
pub use spot_order_type::SpotOrderType;
pub use status::Status;
pub use earn_type::EarnType;

0 comments on commit 4f51432

Please sign in to comment.