-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port example contracts to Ink! 4.3 (#1569)
* Start porting example contracts to Ink! 4.3 * Use new chain extension for api upgrades. * Add error logging for ChainExtension for easier debugging. * Support non-methods. * Improve API. * Use upgradable API. * Remove duplicate settlement example. * code cleanup. * More cleanup. * Update contract's DID on initialize. * Add new api calls (#1572) * Add new api calls * Reexport NFTs type; Return InstructionId from add_and_affirm_instruction * Export NFTId --------- Co-authored-by: Henrique Nogara <[email protected]>
- Loading branch information
1 parent
c0c08f7
commit 9214c27
Showing
37 changed files
with
7,970 additions
and
11,941 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,36 +1,23 @@ | ||
[package] | ||
name = "erc20" | ||
version = "3.0.0" | ||
version = "4.3.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
ink_primitives = { version = "3.0", default-features = false } | ||
ink_metadata = { version = "3.0", default-features = false, features = ["derive"], optional = true } | ||
ink_env = { version = "3.0", default-features = false } | ||
ink_storage = { version = "3.0", default-features = false } | ||
ink_lang = { version = "3.0", default-features = false } | ||
ink_lang_codegen = { version = "3.0", default-features = false } | ||
ink = { version = "4.3", default-features = false } | ||
|
||
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } | ||
scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } | ||
|
||
[lib] | ||
name = "erc20" | ||
path = "lib.rs" | ||
crate-type = [ | ||
# Used for normal contract Wasm blobs. | ||
"cdylib", | ||
] | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"ink_metadata/std", | ||
"ink_env/std", | ||
"ink_storage/std", | ||
"ink_primitives/std", | ||
"ink/std", | ||
"scale/std", | ||
"scale-info/std", | ||
] | ||
|
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
Oops, something went wrong.