Skip to content

Commit

Permalink
downgrade liquid locking
Browse files Browse the repository at this point in the history
  • Loading branch information
alyn509 committed Oct 2, 2023
1 parent 126234f commit 383a542
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 41 deletions.
4 changes: 2 additions & 2 deletions contracts/liquid-locking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ path = "src/lib.rs"
num-bigint = "0.4.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.43.3"
version = "0.41.3"
[dependencies.multiversx-sc]
version = "0.43.3"
version = "0.41.3"
2 changes: 1 addition & 1 deletion contracts/liquid-locking/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ authors = ["you"]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.43.3"
version = "0.41.3"
20 changes: 10 additions & 10 deletions contracts/liquid-locking/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contracts/liquid-locking/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.43.3"
version = "0.41.3"
30 changes: 13 additions & 17 deletions contracts/liquid-locking/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
// Total number of exported functions: 14

#![no_std]

// Configuration that works with rustc < 1.73.0.
// TODO: Recommended rustc version: 1.73.0 or newer.
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
Expand All @@ -21,20 +18,19 @@ multiversx_sc_wasm_adapter::panic_handler!();
multiversx_sc_wasm_adapter::endpoints! {
liquid_locking
(
init => init
set_unbond_period => set_unbond_period
whitelist_token => whitelist_token
blacklist_token => blacklist_token
lock => lock
unlock => unlock
unbond => unbond
lockedTokenAmounts => locked_token_amounts_by_address
unlockedTokenAmounts => unlocked_token_by_address
lockedTokens => locked_tokens
unlockedTokens => unlocked_tokens
whitelistedTokens => token_whitelist
unbondPeriod => unbond_period
set_unbond_period
whitelist_token
blacklist_token
lock
unlock
unbond
lockedTokenAmounts
unlockedTokenAmounts
lockedTokens
unlockedTokens
whitelistedTokens
unbondPeriod
)
}

multiversx_sc_wasm_adapter::async_callback_empty! {}
multiversx_sc_wasm_adapter::empty_callback! {}
20 changes: 10 additions & 10 deletions contracts/mystery-box/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 383a542

Please sign in to comment.