-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b5bd8c
commit e463bb9
Showing
6 changed files
with
294 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[settings] | ||
main = "main" | ||
|
||
[contracts.main] | ||
name = "workshop" | ||
add-unlabelled = true | ||
|
||
[contracts.workshop-ev] | ||
add-labels = ["ev"] | ||
external-view = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "workshop-ev-wasm" | ||
version = "0.0.0" | ||
authors = ["Andrei Marinica <[email protected]>"] | ||
edition = "2021" | ||
publish = false | ||
|
||
[lib] | ||
crate-type = ["cdylib"] | ||
[profile.release] | ||
codegen-units = 1 | ||
opt-level = "z" | ||
lto = true | ||
debug = false | ||
panic = "abort" | ||
[dependencies.workshop] | ||
path = ".." | ||
|
||
[dependencies.multiversx-sc-wasm-adapter] | ||
version = "0.43.4" | ||
|
||
[workspace] | ||
members = ["."] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Code generated by the multiversx-sc multi-contract system. DO NOT EDIT. | ||
|
||
//////////////////////////////////////////////////// | ||
////////////////// AUTO-GENERATED ////////////////// | ||
//////////////////////////////////////////////////// | ||
|
||
// Init: 1 | ||
// Endpoints: 1 | ||
// Async Callback (empty): 1 | ||
// Total number of exported functions: 3 | ||
|
||
#![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!(); | ||
multiversx_sc_wasm_adapter::panic_handler!(); | ||
|
||
multiversx_sc_wasm_adapter::external_view_init! {} | ||
|
||
multiversx_sc_wasm_adapter::external_view_endpoints! { | ||
workshop | ||
( | ||
sum_squared => sum_squared | ||
) | ||
} | ||
|
||
multiversx_sc_wasm_adapter::async_callback_empty! {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters