Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sponsored Transaction enabled auction #364

Merged
merged 16 commits into from
Dec 4, 2023
3 changes: 1 addition & 2 deletions examples/cis2-multi/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,7 @@ fn initialize_chain_and_contract() -> (Chain, AccountKeys, ContractAddress) {
amount: Amount::zero(),
mod_ref: deployment.module_reference,
init_name: OwnedContractName::new_unchecked("init_cis2_multi".to_string()),
param: OwnedParameter::from_serial(&TokenAmountU64(100))
.expect("UpdateOperator params"),
param: OwnedParameter::from_serial(&TokenAmountU64(100)).expect("Init params"),
})
.expect("Initialize contract");

Expand Down
25 changes: 25 additions & 0 deletions examples/sponsored-tx-enabled-auction/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[package]
name = "sponsored-tx-enabled-auction"
version = "0.1.0"
authors = ["Concordium <[email protected]>"]
edition = "2021"
license = "MPL-2.0"

[features]
default = ["std", "wee_alloc"]
std = ["concordium-std/std", "concordium-cis2/std"]
wee_alloc = ["concordium-std/wee_alloc"]

[dependencies]
concordium-std = {path = "../../concordium-std", default-features = false}
concordium-cis2 = {path = "../../concordium-cis2", default-features = false}

[dev-dependencies]
concordium-smart-contract-testing = { path = "../../contract-testing" }
rand = "0.7.0"
DOBEN marked this conversation as resolved.
Show resolved Hide resolved

[dev-dependencies.cis2-multi]
path = "../cis2-multi/"
DOBEN marked this conversation as resolved.
Show resolved Hide resolved

[lib]
crate-type=["cdylib", "rlib"]
Loading
Loading