Skip to content

Commit

Permalink
Fix compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas committed Nov 10, 2023
1 parent 6a47c22 commit f09a116
Show file tree
Hide file tree
Showing 50 changed files with 426 additions and 308 deletions.
16 changes: 8 additions & 8 deletions dex/farm-with-locked-rewards/wasm/Cargo.lock

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

16 changes: 8 additions & 8 deletions dex/farm/wasm/Cargo.lock

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

5 changes: 3 additions & 2 deletions dex/farm/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
////////////////////////////////////////////////////

// Init: 1
// Endpoints: 63
// Endpoints: 64
// Async Callback: 1
// Total number of exported functions: 65
// Total number of exported functions: 66

#![no_std]

Expand All @@ -22,6 +22,7 @@ multiversx_sc_wasm_adapter::endpoints! {
farm
(
init => init
upgrade => upgrade
enterFarm => enter_farm_endpoint
claimRewards => claim_rewards_endpoint
compoundRewards => compound_rewards_endpoint
Expand Down
12 changes: 6 additions & 6 deletions dex/governance/wasm/Cargo.lock

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

5 changes: 3 additions & 2 deletions dex/governance/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
////////////////////////////////////////////////////

// Init: 1
// Endpoints: 21
// Endpoints: 22
// Async Callback (empty): 1
// Total number of exported functions: 23
// Total number of exported functions: 24

#![no_std]

Expand All @@ -22,6 +22,7 @@ multiversx_sc_wasm_adapter::endpoints! {
governance
(
init => init
upgrade => upgrade
propose => propose
upvote => upvote
downvote => downvote
Expand Down
1 change: 1 addition & 0 deletions dex/pair-mock/src/pair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub const DEFAULT_SKIP_MINTING_LP_TOKENS: bool = true;

#[multiversx_sc::derive::contract]
pub trait PairMock {
#[allow_multiple_var_args]
#[init]
fn init(
&self,
Expand Down
12 changes: 6 additions & 6 deletions dex/pair-mock/wasm/Cargo.lock

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

1 change: 1 addition & 0 deletions dex/pair/multicontract.toml → dex/pair/sc-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ add-unlabelled = true
[contracts.safe-price-view]
name = "safe-price-view"
external-view = true
add-unlabelled = false
add-labels = ["safe-price-view"]

[contracts.full]
Expand Down
Loading

0 comments on commit f09a116

Please sign in to comment.