Skip to content

Commit

Permalink
build: run tidy and build the optimized .wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed May 17, 2023
1 parent ec8ac61 commit 20269fe
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion artifacts/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
42eb7defaf5761e5a03e5062dc5cb4b99b492b58a4f70f387921c47010064bb4 bindings_perp.wasm
c01d2e77bf01ac2511e0e1b6f3c18be95276bb7a9fdeba010c25c53111aa8c36 controller.wasm
8e6b9bb295a575296549174d31ef989939607df1670b24734e4a2c85e20877d1 controller.wasm
2024d6941e71c63606ec28c0bbead06150234b0bce83fec7920b19f3720c368f incentives.wasm
0908655de2402a4351745d00fece4443d66b0e99e437c999bf6932f09ef2f4e9 lockup.wasm
959ad062ef95836aa3d0bc1cb5553cbc74a6272d42e9e5a977e2a642a33a8ee7 pricefeed.wasm
Expand Down
2 changes: 1 addition & 1 deletion artifacts/checksums_intermediate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ e6f93267495f120ae8be89f106c6445420fee489178b610dfb2eaa9ed7021b5f target/wasm32-
e0c3076f0b6837cfba03da5a9c0dcde60e8895aecfc34a49b01cdbf4d99fcf13 target/wasm32-unknown-unknown/release/lockup.wasm
51537ec24467a617341168ae3fd64c428b70773a3b7894be780c51ea61eabc10 target/wasm32-unknown-unknown/release/pricefeed.wasm
c3132c5b6b8f85dfbc949b6a99abf9780712693c20b7b2a904ead23bd9b4a280 target/wasm32-unknown-unknown/release/bindings_perp.wasm
124e78cd68845fcaa78068bf9f9870b48d00a1d9d2238bccefeb6964c99ae8e7 target/wasm32-unknown-unknown/release/controller.wasm
bc83aa4bfce144b08625526a3e7924170fab2fe696dfb75b5e37b1c711436930 target/wasm32-unknown-unknown/release/shifter.wasm
bc096338cbd4b6a658aa94f02a0254b56eca2a1bf9da3c62f51e2461915a4558 target/wasm32-unknown-unknown/release/controller.wasm
Binary file modified artifacts/controller.wasm
Binary file not shown.
22 changes: 17 additions & 5 deletions contracts/controller/src/msgs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ pub struct InitMsg {
/// ExecuteMsg specifies the args for the execute entry point of the contract.
#[cw_serde]
pub enum ExecuteMsg {
SetMarketEnabled { pair: String, enabled: bool },
InsuranceFundWithdraw { amount: Uint256, to: String },
SetMarketEnabled {
pair: String,
enabled: bool,
},
InsuranceFundWithdraw {
amount: Uint256,
to: String,
},
EditOracleParams {
vote_period: Option<Uint64>,
vote_threshold: Option<Decimal>,
Expand All @@ -27,9 +33,15 @@ pub enum ExecuteMsg {
validator_fee_ratio: Option<Decimal>,
},

AddMember { address: String },
RemoveMember { address: String },
ChangeAdmin { address: String },
AddMember {
address: String,
},
RemoveMember {
address: String,
},
ChangeAdmin {
address: String,
},
}

/// QueryMsg specifies the args for the query entry point of the contract.
Expand Down

0 comments on commit 20269fe

Please sign in to comment.