Skip to content

Commit 4bd4214

Browse files
feat(zkgm): evm: proxy account (#5130)
2 parents c10abab + dab4717 commit 4bd4214

File tree

27 files changed

+1439
-4999
lines changed

27 files changed

+1439
-4999
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cosmwasm/ibc-union/app/ucs03-zkgm/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ crate-type = ["cdylib", "rlib"]
1717
[dependencies]
1818
alloy-primitives = { workspace = true }
1919
alloy-sol-types = { workspace = true }
20-
chrono = { workspace = true }
2120
cosmwasm-schema = { workspace = true }
2221
cosmwasm-std = { workspace = true, features = ["cosmwasm_1_2", "cosmwasm_1_4", "staking"] }
2322
cw-account = { workspace = true }

cosmwasm/ibc-union/app/ucs03-zkgm/src/com.rs

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ pub const OP_CALL: u8 = 0x01;
1212
pub const OP_BATCH: u8 = 0x02;
1313
pub const OP_TOKEN_ORDER: u8 = 0x03;
1414

15-
pub const OP_STAKE: u8 = 0x04;
16-
pub const OP_UNSTAKE: u8 = 0x05;
17-
pub const OP_WITHDRAW_STAKE: u8 = 0x06;
18-
pub const OP_WITHDRAW_REWARDS: u8 = 0x07;
19-
2015
pub const ACK_ERR_ONLY_MAKER: &[u8] = &[0xDE, 0xAD, 0xC0, 0xDE];
2116

2217
pub const TAG_ACK_FAILURE: U256 = U256::ZERO;
@@ -107,42 +102,6 @@ alloy_sol_types::sol! {
107102
bytes metadata;
108103
}
109104

110-
#[derive(Debug, PartialEq)]
111-
struct Stake {
112-
uint256 token_id;
113-
bytes governance_token;
114-
bytes governance_token_wrapped;
115-
bytes sender;
116-
bytes beneficiary;
117-
bytes validator;
118-
uint256 amount;
119-
}
120-
121-
struct Unstake {
122-
uint256 token_id;
123-
bytes governance_token;
124-
bytes governance_token_wrapped;
125-
bytes sender;
126-
bytes validator;
127-
}
128-
129-
struct WithdrawStake {
130-
uint256 token_id;
131-
bytes governance_token;
132-
bytes governance_token_wrapped;
133-
bytes sender;
134-
bytes beneficiary;
135-
}
136-
137-
struct WithdrawRewards {
138-
uint256 token_id;
139-
bytes governance_token;
140-
bytes governance_token_wrapped;
141-
bytes validator;
142-
bytes sender;
143-
bytes beneficiary;
144-
}
145-
146105
#[derive(Debug)]
147106
struct Ack {
148107
uint256 tag;
@@ -158,18 +117,6 @@ alloy_sol_types::sol! {
158117
uint256 fill_type;
159118
bytes market_maker;
160119
}
161-
162-
struct UnstakeAck {
163-
uint256 completion_time;
164-
}
165-
166-
struct WithdrawStakeAck {
167-
uint256 amount;
168-
}
169-
170-
struct WithdrawRewardsAck {
171-
uint256 amount;
172-
}
173120
}
174121

175122
#[cw_serde]

0 commit comments

Comments
 (0)