diff --git a/Cargo.lock b/Cargo.lock index a2bddc717c..38b9653120 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -895,38 +895,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] -name = "crowdfunding-erc20" +name = "crowdfunding" version = "0.0.0" dependencies = [ - "erc20", + "hex", "multiversx-sc", "multiversx-sc-scenario", + "num-bigint", + "num-traits", ] [[package]] -name = "crowdfunding-erc20-meta" +name = "crowdfunding-erc20" version = "0.0.0" dependencies = [ - "crowdfunding-erc20", - "multiversx-sc-meta-lib", + "erc20", + "multiversx-sc", + "multiversx-sc-scenario", ] [[package]] -name = "crowdfunding-esdt" +name = "crowdfunding-erc20-meta" version = "0.0.0" dependencies = [ - "hex", - "multiversx-sc", - "multiversx-sc-scenario", - "num-bigint", - "num-traits", + "crowdfunding-erc20", + "multiversx-sc-meta-lib", ] [[package]] -name = "crowdfunding-esdt-meta" +name = "crowdfunding-meta" version = "0.0.0" dependencies = [ - "crowdfunding-esdt", + "crowdfunding", "multiversx-sc-meta-lib", ] diff --git a/Cargo.toml b/Cargo.toml index 54c5f4bda6..00e883d4ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,8 +65,8 @@ members = [ "contracts/examples/esdt-transfer-with-fee/meta", "contracts/examples/bonding-curve-contract", "contracts/examples/bonding-curve-contract/meta", - "contracts/examples/crowdfunding-esdt", - "contracts/examples/crowdfunding-esdt/meta", + "contracts/examples/crowdfunding", + "contracts/examples/crowdfunding/meta", "contracts/examples/crypto-bubbles", "contracts/examples/crypto-bubbles/meta", "contracts/examples/crypto-zombies", diff --git a/chain/vm/src/host/context/managed_type_container/tx_managed_buffer.rs b/chain/vm/src/host/context/managed_type_container/tx_managed_buffer.rs index 5f8aeccf4d..9a38c14dde 100644 --- a/chain/vm/src/host/context/managed_type_container/tx_managed_buffer.rs +++ b/chain/vm/src/host/context/managed_type_container/tx_managed_buffer.rs @@ -97,7 +97,7 @@ impl ManagedTypeContainer { let mut num_bytes_copied = 0; let data = self.mb_get(source_handle); assert!( - data.len() % 4 == 0, + data.len().is_multiple_of(4), "malformed ManagedVec data" ); for chunk in data.chunks(4) { @@ -134,7 +134,7 @@ impl ManagedTypeContainer { let mut num_bytes_copied = 0; let data = self.mb_get(source_handle); assert!( - data.len() % 16 == 0, + data.len().is_multiple_of(16), "malformed ManagedVec data" ); for chunk in data.chunks(16) { diff --git a/contracts/core/price-aggregator/src/median.rs b/contracts/core/price-aggregator/src/median.rs index 53227bc9d7..90021c5a2a 100644 --- a/contracts/core/price-aggregator/src/median.rs +++ b/contracts/core/price-aggregator/src/median.rs @@ -11,7 +11,7 @@ pub fn calculate( list.sort_unstable(); let len = list.len(); let middle_index = len / 2; - if len % 2 == 0 { + if len.is_multiple_of(2) { let median1 = list.get(middle_index - 1).ok_or("median1 invalid index")?; let median2 = list.get(middle_index).ok_or("median2 invalid index")?; Result::Ok(Some((median1.clone() + median2.clone()) / 2u64)) diff --git a/contracts/core/wegld-swap/src/wegld.rs b/contracts/core/wegld-swap/src/wegld.rs index e4e2380dea..8d164124d2 100644 --- a/contracts/core/wegld-swap/src/wegld.rs +++ b/contracts/core/wegld-swap/src/wegld.rs @@ -58,7 +58,7 @@ pub trait EgldEsdtSwap: multiversx_sc_modules::pause::PauseModule { #[title("lockedEgldBalance")] fn get_locked_egld_balance(&self) -> BigUint { self.blockchain() - .get_sc_balance(&EgldOrEsdtTokenIdentifier::egld(), 0) + .get_sc_balance(EgldOrEsdtTokenIdentifier::egld(), 0) } #[view(getWrappedEgldTokenId)] diff --git a/contracts/examples/crowdfunding-esdt/meta/src/main.rs b/contracts/examples/crowdfunding-esdt/meta/src/main.rs deleted file mode 100644 index cd0281368b..0000000000 --- a/contracts/examples/crowdfunding-esdt/meta/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - multiversx_sc_meta_lib::cli_main::(); -} diff --git a/contracts/examples/crowdfunding-esdt/sc-config.toml b/contracts/examples/crowdfunding-esdt/sc-config.toml deleted file mode 100644 index 16f6430728..0000000000 --- a/contracts/examples/crowdfunding-esdt/sc-config.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[proxy]] -path = "src/crowdfunding_esdt_proxy.rs" diff --git a/contracts/examples/crowdfunding-esdt/.gitignore b/contracts/examples/crowdfunding/.gitignore similarity index 100% rename from contracts/examples/crowdfunding-esdt/.gitignore rename to contracts/examples/crowdfunding/.gitignore diff --git a/contracts/examples/crowdfunding-esdt/Cargo.toml b/contracts/examples/crowdfunding/Cargo.toml similarity index 87% rename from contracts/examples/crowdfunding-esdt/Cargo.toml rename to contracts/examples/crowdfunding/Cargo.toml index 63baa9f821..2b0b393502 100644 --- a/contracts/examples/crowdfunding-esdt/Cargo.toml +++ b/contracts/examples/crowdfunding/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "crowdfunding-esdt" +name = "crowdfunding" version = "0.0.0" authors = ["Dorin Iancu "] edition = "2021" publish = false [lib] -path = "src/crowdfunding_esdt.rs" +path = "src/crowdfunding.rs" [dependencies.multiversx-sc] version = "0.63.1" diff --git a/contracts/examples/crowdfunding-esdt/meta/Cargo.toml b/contracts/examples/crowdfunding/meta/Cargo.toml similarity index 80% rename from contracts/examples/crowdfunding-esdt/meta/Cargo.toml rename to contracts/examples/crowdfunding/meta/Cargo.toml index f56b01a9ea..7699e25964 100644 --- a/contracts/examples/crowdfunding-esdt/meta/Cargo.toml +++ b/contracts/examples/crowdfunding/meta/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "crowdfunding-esdt-meta" +name = "crowdfunding-meta" version = "0.0.0" authors = ["Andrei Marinica "] edition = "2021" publish = false -[dependencies.crowdfunding-esdt] +[dependencies.crowdfunding] path = ".." [dependencies.multiversx-sc-meta-lib] diff --git a/contracts/examples/crowdfunding/meta/src/main.rs b/contracts/examples/crowdfunding/meta/src/main.rs new file mode 100644 index 0000000000..a48e50d7e0 --- /dev/null +++ b/contracts/examples/crowdfunding/meta/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + multiversx_sc_meta_lib::cli_main::(); +} diff --git a/contracts/examples/crowdfunding-esdt/multiversx.json b/contracts/examples/crowdfunding/multiversx.json similarity index 100% rename from contracts/examples/crowdfunding-esdt/multiversx.json rename to contracts/examples/crowdfunding/multiversx.json diff --git a/contracts/examples/crowdfunding-esdt/mxpy/devnet.crowdfunding.snippets.sh b/contracts/examples/crowdfunding/mxpy/devnet.crowdfunding.snippets.sh similarity index 100% rename from contracts/examples/crowdfunding-esdt/mxpy/devnet.crowdfunding.snippets.sh rename to contracts/examples/crowdfunding/mxpy/devnet.crowdfunding.snippets.sh diff --git a/contracts/examples/crowdfunding-esdt/mxpy/testnet.crowdfunding.snippets.sh b/contracts/examples/crowdfunding/mxpy/testnet.crowdfunding.snippets.sh similarity index 100% rename from contracts/examples/crowdfunding-esdt/mxpy/testnet.crowdfunding.snippets.sh rename to contracts/examples/crowdfunding/mxpy/testnet.crowdfunding.snippets.sh diff --git a/contracts/examples/crowdfunding/sc-config.toml b/contracts/examples/crowdfunding/sc-config.toml new file mode 100644 index 0000000000..d8bcd01b87 --- /dev/null +++ b/contracts/examples/crowdfunding/sc-config.toml @@ -0,0 +1,2 @@ +[[proxy]] +path = "src/crowdfunding_proxy.rs" diff --git a/contracts/examples/crowdfunding-esdt/scenarios/_generated_fund.scen.json b/contracts/examples/crowdfunding/scenarios/_generated_fund.scen.json similarity index 96% rename from contracts/examples/crowdfunding-esdt/scenarios/_generated_fund.scen.json rename to contracts/examples/crowdfunding/scenarios/_generated_fund.scen.json index 6485ff115f..df3c5077ed 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/_generated_fund.scen.json +++ b/contracts/examples/crowdfunding/scenarios/_generated_fund.scen.json @@ -29,7 +29,7 @@ "accounts": { "0x0000000000000000d720a08b839a004c2e6386f5aecc19ec74807d1920cb6aeb": { "balance": "0", - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "code": "mxsc:../output/crowdfunding.mxsc.json", "owner": "0x66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925" } } @@ -89,7 +89,7 @@ "str:target": "0x07d0", "str:tokenIdentifier": "0x43524f57442d313233343536" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "code": "mxsc:../output/crowdfunding.mxsc.json", "owner": "0x66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925", "developerRewards": "0" } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/_generated_init.scen.json b/contracts/examples/crowdfunding/scenarios/_generated_init.scen.json similarity index 95% rename from contracts/examples/crowdfunding-esdt/scenarios/_generated_init.scen.json rename to contracts/examples/crowdfunding/scenarios/_generated_init.scen.json index e8e2095c23..51a1127d1c 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/_generated_init.scen.json +++ b/contracts/examples/crowdfunding/scenarios/_generated_init.scen.json @@ -29,7 +29,7 @@ "accounts": { "0x0000000000000000d720a08b839a004c2e6386f5aecc19ec74807d1920cb6aeb": { "balance": "0", - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "code": "mxsc:../output/crowdfunding.mxsc.json", "owner": "0x66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925" } } @@ -89,7 +89,7 @@ "str:target": "0x07d0", "str:tokenIdentifier": "0x43524f57442d313233343536" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "code": "mxsc:../output/crowdfunding.mxsc.json", "owner": "0x66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925", "developerRewards": "0" } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/_generated_query_status.scen.json b/contracts/examples/crowdfunding/scenarios/_generated_query_status.scen.json similarity index 96% rename from contracts/examples/crowdfunding-esdt/scenarios/_generated_query_status.scen.json rename to contracts/examples/crowdfunding/scenarios/_generated_query_status.scen.json index 26b52d5818..b783153177 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/_generated_query_status.scen.json +++ b/contracts/examples/crowdfunding/scenarios/_generated_query_status.scen.json @@ -29,7 +29,7 @@ "accounts": { "0x0000000000000000d720a08b839a004c2e6386f5aecc19ec74807d1920cb6aeb": { "balance": "0", - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "code": "mxsc:../output/crowdfunding.mxsc.json", "owner": "0x66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925" } } @@ -89,7 +89,7 @@ "str:target": "0x07d0", "str:tokenIdentifier": "0x43524f57442d313233343536" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "code": "mxsc:../output/crowdfunding.mxsc.json", "owner": "0x66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925", "developerRewards": "0" } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/_generated_sc_err.scen.json b/contracts/examples/crowdfunding/scenarios/_generated_sc_err.scen.json similarity index 96% rename from contracts/examples/crowdfunding-esdt/scenarios/_generated_sc_err.scen.json rename to contracts/examples/crowdfunding/scenarios/_generated_sc_err.scen.json index d68623c3d3..2699b37150 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/_generated_sc_err.scen.json +++ b/contracts/examples/crowdfunding/scenarios/_generated_sc_err.scen.json @@ -29,7 +29,7 @@ "accounts": { "0x0000000000000000d720a08b839a004c2e6386f5aecc19ec74807d1920cb6aeb": { "balance": "0", - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "code": "mxsc:../output/crowdfunding.mxsc.json", "owner": "0x66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925" } } @@ -89,7 +89,7 @@ "str:target": "0x07d0", "str:tokenIdentifier": "0x43524f57442d313233343536" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "code": "mxsc:../output/crowdfunding.mxsc.json", "owner": "0x66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925", "developerRewards": "0" } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-claim-failed.scen.json b/contracts/examples/crowdfunding/scenarios/crowdfunding-claim-failed.scen.json similarity index 97% rename from contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-claim-failed.scen.json rename to contracts/examples/crowdfunding/scenarios/crowdfunding-claim-failed.scen.json index e5546def03..c203dbdb24 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-claim-failed.scen.json +++ b/contracts/examples/crowdfunding/scenarios/crowdfunding-claim-failed.scen.json @@ -79,7 +79,7 @@ "str:deposit|address:donor1": "250,000,000,000", "str:deposit|address:donor2": "200,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } }, @@ -188,7 +188,7 @@ "str:deposit|address:donor1": "0", "str:deposit|address:donor2": "0" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-claim-successful.scen.json b/contracts/examples/crowdfunding/scenarios/crowdfunding-claim-successful.scen.json similarity index 97% rename from contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-claim-successful.scen.json rename to contracts/examples/crowdfunding/scenarios/crowdfunding-claim-successful.scen.json index 2a1fc8de10..d45bfe6fc1 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-claim-successful.scen.json +++ b/contracts/examples/crowdfunding/scenarios/crowdfunding-claim-successful.scen.json @@ -78,7 +78,7 @@ "str:deposit|address:donor1": "250,000,000,000", "str:deposit|address:donor2": "250,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } }, @@ -178,7 +178,7 @@ "str:deposit|address:donor1": "250,000,000,000", "str:deposit|address:donor2": "250,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-claim-too-early.scen.json b/contracts/examples/crowdfunding/scenarios/crowdfunding-claim-too-early.scen.json similarity index 100% rename from contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-claim-too-early.scen.json rename to contracts/examples/crowdfunding/scenarios/crowdfunding-claim-too-early.scen.json diff --git a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-fund-too-late.scen.json b/contracts/examples/crowdfunding/scenarios/crowdfunding-fund-too-late.scen.json similarity index 97% rename from contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-fund-too-late.scen.json rename to contracts/examples/crowdfunding/scenarios/crowdfunding-fund-too-late.scen.json index a0535576b4..ddcc15633f 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-fund-too-late.scen.json +++ b/contracts/examples/crowdfunding/scenarios/crowdfunding-fund-too-late.scen.json @@ -64,7 +64,7 @@ "str:tokenIdentifier": "str:CROWD-123456", "str:deposit|address:donor1": "250,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } }, diff --git a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-fund.scen.json b/contracts/examples/crowdfunding/scenarios/crowdfunding-fund.scen.json similarity index 96% rename from contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-fund.scen.json rename to contracts/examples/crowdfunding/scenarios/crowdfunding-fund.scen.json index 2a4a348f54..d39bb788db 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-fund.scen.json +++ b/contracts/examples/crowdfunding/scenarios/crowdfunding-fund.scen.json @@ -69,7 +69,7 @@ "str:tokenIdentifier": "str:CROWD-123456", "str:deposit|address:donor1": "250,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-init.scen.json b/contracts/examples/crowdfunding/scenarios/crowdfunding-init.scen.json similarity index 91% rename from contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-init.scen.json rename to contracts/examples/crowdfunding/scenarios/crowdfunding-init.scen.json index cdf4424b2d..4a0a1793dd 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/crowdfunding-init.scen.json +++ b/contracts/examples/crowdfunding/scenarios/crowdfunding-init.scen.json @@ -22,7 +22,7 @@ "id": "deploy", "tx": { "from": "address:my_address", - "contractCode": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "contractCode": "mxsc:../output/crowdfunding.mxsc.json", "arguments": [ "500,000,000,000", "123,000", @@ -54,7 +54,7 @@ "str:deadline": "123,000", "str:tokenIdentifier": "str:CROWD-123456" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-claim-failed.scen.json b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-claim-failed.scen.json similarity index 93% rename from contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-claim-failed.scen.json rename to contracts/examples/crowdfunding/scenarios/egld-crowdfunding-claim-failed.scen.json index 264b881557..1e0d35e75e 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-claim-failed.scen.json +++ b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-claim-failed.scen.json @@ -57,11 +57,11 @@ "storage": { "str:target": "500,000,000,000", "str:deadline": "123,000", - "str:tokenIdentifier": "str:EGLD", + "str:tokenIdentifier": "str:EGLD-000000", "str:deposit|address:donor1": "250,000,000,000", "str:deposit|address:donor2": "200,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } }, @@ -131,11 +131,11 @@ "storage": { "str:target": "500,000,000,000", "str:deadline": "123,000", - "str:tokenIdentifier": "str:EGLD", + "str:tokenIdentifier": "str:EGLD-000000", "str:deposit|address:donor1": "0", "str:deposit|address:donor2": "0" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-claim-successful.scen.json b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-claim-successful.scen.json similarity index 94% rename from contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-claim-successful.scen.json rename to contracts/examples/crowdfunding/scenarios/egld-crowdfunding-claim-successful.scen.json index 6b9b2523c1..927e830699 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-claim-successful.scen.json +++ b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-claim-successful.scen.json @@ -57,11 +57,11 @@ "storage": { "str:target": "500,000,000,000", "str:deadline": "123,000", - "str:tokenIdentifier": "str:EGLD", + "str:tokenIdentifier": "str:EGLD-000000", "str:deposit|address:donor1": "250,000,000,000", "str:deposit|address:donor2": "250,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } }, @@ -132,11 +132,11 @@ "storage": { "str:target": "500,000,000,000", "str:deadline": "123,000", - "str:tokenIdentifier": "str:EGLD", + "str:tokenIdentifier": "str:EGLD-000000", "str:deposit|address:donor1": "250,000,000,000", "str:deposit|address:donor2": "250,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-claim-too-early.scen.json b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-claim-too-early.scen.json similarity index 100% rename from contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-claim-too-early.scen.json rename to contracts/examples/crowdfunding/scenarios/egld-crowdfunding-claim-too-early.scen.json diff --git a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-fund-too-late.scen.json b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-fund-too-late.scen.json similarity index 94% rename from contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-fund-too-late.scen.json rename to contracts/examples/crowdfunding/scenarios/egld-crowdfunding-fund-too-late.scen.json index 7acc898955..61b47dfc03 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-fund-too-late.scen.json +++ b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-fund-too-late.scen.json @@ -50,10 +50,10 @@ "storage": { "str:target": "500,000,000,000", "str:deadline": "123,000", - "str:tokenIdentifier": "str:EGLD", + "str:tokenIdentifier": "str:EGLD-000000", "str:deposit|address:donor1": "250,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } }, diff --git a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-fund.scen.json b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-fund.scen.json similarity index 92% rename from contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-fund.scen.json rename to contracts/examples/crowdfunding/scenarios/egld-crowdfunding-fund.scen.json index 207b282c5f..fe280cf135 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-fund.scen.json +++ b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-fund.scen.json @@ -52,10 +52,10 @@ "storage": { "str:target": "500,000,000,000", "str:deadline": "123,000", - "str:tokenIdentifier": "str:EGLD", + "str:tokenIdentifier": "str:EGLD-000000", "str:deposit|address:donor1": "250,000,000,000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } } diff --git a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-init.scen.json b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-init.scen.json similarity index 86% rename from contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-init.scen.json rename to contracts/examples/crowdfunding/scenarios/egld-crowdfunding-init.scen.json index 4d89bcc06a..425d2071d9 100644 --- a/contracts/examples/crowdfunding-esdt/scenarios/egld-crowdfunding-init.scen.json +++ b/contracts/examples/crowdfunding/scenarios/egld-crowdfunding-init.scen.json @@ -22,11 +22,11 @@ "id": "deploy", "tx": { "from": "address:my_address", - "contractCode": "mxsc:../output/crowdfunding-esdt.mxsc.json", + "contractCode": "mxsc:../output/crowdfunding.mxsc.json", "arguments": [ "500,000,000,000", "123,000", - "str:EGLD" + "str:EGLD-000000" ], "gasLimit": "5,000,000", "gasPrice": "0" @@ -52,9 +52,9 @@ "storage": { "str:target": "500,000,000,000", "str:deadline": "123,000", - "str:tokenIdentifier": "str:EGLD" + "str:tokenIdentifier": "str:EGLD-000000" }, - "code": "mxsc:../output/crowdfunding-esdt.mxsc.json" + "code": "mxsc:../output/crowdfunding.mxsc.json" } } } diff --git a/contracts/examples/crowdfunding-esdt/src/crowdfunding_esdt.rs b/contracts/examples/crowdfunding/src/crowdfunding.rs similarity index 76% rename from contracts/examples/crowdfunding-esdt/src/crowdfunding_esdt.rs rename to contracts/examples/crowdfunding/src/crowdfunding.rs index 0e596963fd..fc31c553e5 100644 --- a/contracts/examples/crowdfunding-esdt/src/crowdfunding_esdt.rs +++ b/contracts/examples/crowdfunding/src/crowdfunding.rs @@ -1,7 +1,7 @@ #![no_std] use multiversx_sc::{chain_core::types::TimestampMillis, derive_imports::*, imports::*}; -pub mod crowdfunding_esdt_proxy; +pub mod crowdfunding_proxy; #[type_abi] #[derive(TopEncode, TopDecode, PartialEq, Eq, Clone, Copy, Debug)] @@ -14,12 +14,7 @@ pub enum Status { #[multiversx_sc::contract] pub trait Crowdfunding { #[init] - fn init( - &self, - target: BigUint, - deadline: TimestampMillis, - token_identifier: EgldOrEsdtTokenIdentifier, - ) { + fn init(&self, target: BigUint, deadline: TimestampMillis, token_identifier: TokenId) { require!(target > 0, "Target must be more than 0"); self.target().set(target); @@ -36,16 +31,20 @@ pub trait Crowdfunding { #[endpoint] #[payable] fn fund(&self) { - let (token, _, payment) = self.call_value().egld_or_single_esdt().into_tuple(); + let payment = self.call_value().single(); require!( self.status() == Status::FundingPeriod, "cannot fund after deadline" ); - require!(token == self.cf_token_identifier().get(), "wrong token"); + require!( + payment.token_identifier == self.cf_token_identifier().get(), + "wrong token" + ); let caller = self.blockchain().get_caller(); - self.deposit(&caller).update(|deposit| *deposit += payment); + self.deposit(&caller) + .update(|deposit| *deposit += payment.amount.as_big_uint()); } #[view] @@ -81,10 +80,12 @@ pub trait Crowdfunding { let token_identifier = self.cf_token_identifier().get(); let sc_balance = self.get_current_funds(); - self.tx() - .to(&caller) - .egld_or_single_esdt(&token_identifier, 0, &sc_balance) - .transfer(); + if let Some(sc_balance_non_zero) = sc_balance.into_non_zero() { + self.tx() + .to(&caller) + .payment(Payment::new(token_identifier, 0, sc_balance_non_zero)) + .transfer(); + } } Status::Failed => { let caller = self.blockchain().get_caller(); @@ -94,10 +95,13 @@ pub trait Crowdfunding { let token_identifier = self.cf_token_identifier().get(); self.deposit(&caller).clear(); - self.tx() - .to(&caller) - .egld_or_single_esdt(&token_identifier, 0, &deposit) - .transfer(); + + if let Some(deposit_non_zero) = deposit.into_non_zero() { + self.tx() + .to(&caller) + .payment(Payment::new(token_identifier, 0, deposit_non_zero)) + .transfer(); + } } } } @@ -129,5 +133,5 @@ pub trait Crowdfunding { #[view(getCrowdfundingTokenIdentifier)] #[title("tokenIdentifier")] #[storage_mapper("tokenIdentifier")] - fn cf_token_identifier(&self) -> SingleValueMapper; + fn cf_token_identifier(&self) -> SingleValueMapper; } diff --git a/contracts/examples/crowdfunding-esdt/src/crowdfunding_esdt_proxy.rs b/contracts/examples/crowdfunding/src/crowdfunding_proxy.rs similarity index 96% rename from contracts/examples/crowdfunding-esdt/src/crowdfunding_esdt_proxy.rs rename to contracts/examples/crowdfunding/src/crowdfunding_proxy.rs index 6152fd1ec9..93224a288a 100644 --- a/contracts/examples/crowdfunding-esdt/src/crowdfunding_esdt_proxy.rs +++ b/contracts/examples/crowdfunding/src/crowdfunding_proxy.rs @@ -46,7 +46,7 @@ where pub fn init< Arg0: ProxyArg>, Arg1: ProxyArg, - Arg2: ProxyArg>, + Arg2: ProxyArg>, >( self, target: Arg0, @@ -140,7 +140,7 @@ where pub fn cf_token_identifier( self, - ) -> TxTypedCall> { + ) -> TxTypedCall> { self.wrapped_tx .payment(NotPayable) .raw_call("getCrowdfundingTokenIdentifier") diff --git a/contracts/examples/crowdfunding-esdt/tests/crowdfunding_esdt_blackbox_test.rs b/contracts/examples/crowdfunding/tests/crowdfunding_esdt_blackbox_test.rs similarity index 82% rename from contracts/examples/crowdfunding-esdt/tests/crowdfunding_esdt_blackbox_test.rs rename to contracts/examples/crowdfunding/tests/crowdfunding_esdt_blackbox_test.rs index 5e0a9c5bbc..7bab41dc9c 100644 --- a/contracts/examples/crowdfunding-esdt/tests/crowdfunding_esdt_blackbox_test.rs +++ b/contracts/examples/crowdfunding/tests/crowdfunding_esdt_blackbox_test.rs @@ -1,4 +1,4 @@ -use crowdfunding_esdt::crowdfunding_esdt_proxy; +use crowdfunding::crowdfunding_proxy; use multiversx_sc_scenario::imports::*; @@ -7,14 +7,14 @@ const CF_TOKEN_ID: TestTokenIdentifier = TestTokenIdentifier::new("CROWD-123456" const FIRST_USER_ADDRESS: TestAddress = TestAddress::new("first-user"); const OWNER_ADDRESS: TestAddress = TestAddress::new("owner"); const SECOND_USER_ADDRESS: TestAddress = TestAddress::new("second-user"); -const CODE_PATH: MxscPath = MxscPath::new("output/crowdfunding-esdt.mxsc.json"); -const CROWDFUNDING_ADDRESS: TestSCAddress = TestSCAddress::new("crowdfunding-esdt"); +const CODE_PATH: MxscPath = MxscPath::new("output/crowdfunding.mxsc.json"); +const CROWDFUNDING_ADDRESS: TestSCAddress = TestSCAddress::new("crowdfunding-sc"); fn world() -> ScenarioWorld { let mut blockchain = ScenarioWorld::new().executor_config(ExecutorConfig::full_suite()); - blockchain.set_current_dir_from_workspace("contracts/examples/crowdfunding-esdt"); - blockchain.register_contract(CODE_PATH, crowdfunding_esdt::ContractBuilder); + blockchain.set_current_dir_from_workspace("contracts/examples/crowdfunding"); + blockchain.register_contract(CODE_PATH, crowdfunding::ContractBuilder); blockchain } @@ -46,12 +46,8 @@ impl CrowdfundingESDTTestState { self.world .tx() .from(OWNER_ADDRESS) - .typed(crowdfunding_esdt_proxy::CrowdfundingProxy) - .init( - 2_000u32, - CF_DEADLINE, - EgldOrEsdtTokenIdentifier::esdt(CF_TOKEN_ID), - ) + .typed(crowdfunding_proxy::CrowdfundingProxy) + .init(2_000u32, CF_DEADLINE, CF_TOKEN_ID) .code(CODE_PATH) .new_address(CROWDFUNDING_ADDRESS) .run(); @@ -62,7 +58,7 @@ impl CrowdfundingESDTTestState { .tx() .from(address) .to(CROWDFUNDING_ADDRESS) - .typed(crowdfunding_esdt_proxy::CrowdfundingProxy) + .typed(crowdfunding_proxy::CrowdfundingProxy) .fund() .egld_or_single_esdt( &EgldOrEsdtTokenIdentifier::esdt(CF_TOKEN_ID), @@ -76,17 +72,17 @@ impl CrowdfundingESDTTestState { self.world .query() .to(CROWDFUNDING_ADDRESS) - .typed(crowdfunding_esdt_proxy::CrowdfundingProxy) + .typed(crowdfunding_proxy::CrowdfundingProxy) .deposit(donor) .returns(ExpectValue(amount)) .run(); } - fn check_status(&mut self, expected_value: crowdfunding_esdt_proxy::Status) { + fn check_status(&mut self, expected_value: crowdfunding_proxy::Status) { self.world .query() .to(CROWDFUNDING_ADDRESS) - .typed(crowdfunding_esdt_proxy::CrowdfundingProxy) + .typed(crowdfunding_proxy::CrowdfundingProxy) .status() .returns(ExpectValue(expected_value)) .run(); @@ -97,7 +93,7 @@ impl CrowdfundingESDTTestState { .tx() .from(address) .to(CROWDFUNDING_ADDRESS) - .typed(crowdfunding_esdt_proxy::CrowdfundingProxy) + .typed(crowdfunding_proxy::CrowdfundingProxy) .claim() .run(); } @@ -129,7 +125,7 @@ fn test_status() { let mut state = CrowdfundingESDTTestState::new(); state.deploy(); - state.check_status(crowdfunding_esdt_proxy::Status::FundingPeriod); + state.check_status(crowdfunding_proxy::Status::FundingPeriod); } #[test] @@ -142,7 +138,7 @@ fn test_sc_error() { .tx() .from(FIRST_USER_ADDRESS) .to(CROWDFUNDING_ADDRESS) - .typed(crowdfunding_esdt_proxy::CrowdfundingProxy) + .typed(crowdfunding_proxy::CrowdfundingProxy) .fund() .egld(1000) .with_result(ExpectError(4, "wrong token")) @@ -168,14 +164,14 @@ fn test_successful_cf() { state.set_block_timestamp(CF_DEADLINE + DurationMillis::new(1)); // check status successful - state.check_status(crowdfunding_esdt_proxy::Status::Successful); + state.check_status(crowdfunding_proxy::Status::Successful); state .world .tx() .from(FIRST_USER_ADDRESS) .to(CROWDFUNDING_ADDRESS) - .typed(crowdfunding_esdt_proxy::CrowdfundingProxy) + .typed(crowdfunding_proxy::CrowdfundingProxy) .claim() .with_result(ExpectError(4, "only owner can claim successful funding")) .run(); @@ -205,7 +201,7 @@ fn test_failed_cf() { state.set_block_timestamp(CF_DEADLINE + DurationMillis::new(1)); // check status failed - state.check_status(crowdfunding_esdt_proxy::Status::Failed); + state.check_status(crowdfunding_proxy::Status::Failed); // first user claim state.claim(FIRST_USER_ADDRESS); diff --git a/contracts/examples/crowdfunding-esdt/tests/crowdfunding_esdt_scenario_go_test.rs b/contracts/examples/crowdfunding/tests/crowdfunding_esdt_scenario_go_test.rs similarity index 100% rename from contracts/examples/crowdfunding-esdt/tests/crowdfunding_esdt_scenario_go_test.rs rename to contracts/examples/crowdfunding/tests/crowdfunding_esdt_scenario_go_test.rs diff --git a/contracts/examples/crowdfunding-esdt/tests/crowdfunding_esdt_scenario_rs_test.rs b/contracts/examples/crowdfunding/tests/crowdfunding_esdt_scenario_rs_test.rs similarity index 94% rename from contracts/examples/crowdfunding-esdt/tests/crowdfunding_esdt_scenario_rs_test.rs rename to contracts/examples/crowdfunding/tests/crowdfunding_esdt_scenario_rs_test.rs index 58cb8780c1..d7cb23a157 100644 --- a/contracts/examples/crowdfunding-esdt/tests/crowdfunding_esdt_scenario_rs_test.rs +++ b/contracts/examples/crowdfunding/tests/crowdfunding_esdt_scenario_rs_test.rs @@ -3,10 +3,10 @@ use multiversx_sc_scenario::imports::*; fn world() -> ScenarioWorld { let mut blockchain = ScenarioWorld::new().executor_config(ExecutorConfig::full_suite()); - blockchain.set_current_dir_from_workspace("contracts/examples/crowdfunding-esdt"); + blockchain.set_current_dir_from_workspace("contracts/examples/crowdfunding"); blockchain.register_contract( - "mxsc:output/crowdfunding-esdt.mxsc.json", - crowdfunding_esdt::ContractBuilder, + "mxsc:output/crowdfunding.mxsc.json", + crowdfunding::ContractBuilder, ); blockchain diff --git a/contracts/examples/crowdfunding-esdt/wasm/Cargo.lock b/contracts/examples/crowdfunding/wasm/Cargo.lock similarity index 98% rename from contracts/examples/crowdfunding-esdt/wasm/Cargo.lock rename to contracts/examples/crowdfunding/wasm/Cargo.lock index 6a9d9ce129..5532d6967d 100644 --- a/contracts/examples/crowdfunding-esdt/wasm/Cargo.lock +++ b/contracts/examples/crowdfunding/wasm/Cargo.lock @@ -21,17 +21,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] -name = "crowdfunding-esdt" +name = "crowdfunding" version = "0.0.0" dependencies = [ "multiversx-sc", ] [[package]] -name = "crowdfunding-esdt-wasm" +name = "crowdfunding-wasm" version = "0.0.0" dependencies = [ - "crowdfunding-esdt", + "crowdfunding", "multiversx-sc-wasm-adapter", ] diff --git a/contracts/examples/crowdfunding-esdt/wasm/Cargo.toml b/contracts/examples/crowdfunding/wasm/Cargo.toml similarity index 90% rename from contracts/examples/crowdfunding-esdt/wasm/Cargo.toml rename to contracts/examples/crowdfunding/wasm/Cargo.toml index 6f56945309..568659f2b6 100644 --- a/contracts/examples/crowdfunding-esdt/wasm/Cargo.toml +++ b/contracts/examples/crowdfunding/wasm/Cargo.toml @@ -5,7 +5,7 @@ # ########################################## [package] -name = "crowdfunding-esdt-wasm" +name = "crowdfunding-wasm" version = "0.0.0" edition = "2021" publish = false @@ -24,7 +24,7 @@ overflow-checks = false [profile.dev] panic = "abort" -[dependencies.crowdfunding-esdt] +[dependencies.crowdfunding] path = ".." [dependencies.multiversx-sc-wasm-adapter] diff --git a/contracts/examples/crowdfunding-esdt/wasm/src/lib.rs b/contracts/examples/crowdfunding/wasm/src/lib.rs similarity index 97% rename from contracts/examples/crowdfunding-esdt/wasm/src/lib.rs rename to contracts/examples/crowdfunding/wasm/src/lib.rs index eb3d65740b..91766f1398 100644 --- a/contracts/examples/crowdfunding-esdt/wasm/src/lib.rs +++ b/contracts/examples/crowdfunding/wasm/src/lib.rs @@ -15,7 +15,7 @@ multiversx_sc_wasm_adapter::allocator!(); multiversx_sc_wasm_adapter::panic_handler!(); multiversx_sc_wasm_adapter::endpoints! { - crowdfunding_esdt + crowdfunding ( init => init fund => fund diff --git a/contracts/examples/crypto-kitties/kitty-ownership/src/lib.rs b/contracts/examples/crypto-kitties/kitty-ownership/src/lib.rs index ac26680f00..11115618a0 100644 --- a/contracts/examples/crypto-kitties/kitty-ownership/src/lib.rs +++ b/contracts/examples/crypto-kitties/kitty-ownership/src/lib.rs @@ -51,7 +51,7 @@ pub trait KittyOwnership { let caller = self.blockchain().get_caller(); let egld_balance = self .blockchain() - .get_sc_balance(&EgldOrEsdtTokenIdentifier::egld(), 0); + .get_sc_balance(EgldOrEsdtTokenIdentifier::egld(), 0); self.tx().to(&caller).egld(&egld_balance).transfer(); } diff --git a/contracts/examples/order-book/factory/src/lib.rs b/contracts/examples/order-book/factory/src/lib.rs index 94cca1bbfd..d6ca7e9642 100644 --- a/contracts/examples/order-book/factory/src/lib.rs +++ b/contracts/examples/order-book/factory/src/lib.rs @@ -5,8 +5,8 @@ use multiversx_sc::{derive_imports::*, imports::*}; #[type_abi] #[derive(TopEncode, TopDecode, NestedEncode, NestedDecode, Clone)] pub struct TokenIdPair { - first_token_id: EsdtTokenIdentifier, - second_token_id: EsdtTokenIdentifier, + first_token_id: TokenId, + second_token_id: TokenId, } #[multiversx_sc::contract] diff --git a/contracts/examples/order-book/pair/src/common.rs b/contracts/examples/order-book/pair/src/common.rs index 37eac31138..2a6d638a51 100644 --- a/contracts/examples/order-book/pair/src/common.rs +++ b/contracts/examples/order-book/pair/src/common.rs @@ -16,15 +16,15 @@ pub enum OrderType { } #[derive(ManagedVecItem, Clone)] -pub struct Payment { - pub token_id: EsdtTokenIdentifier, +pub struct FungiblePayment { + pub token_id: TokenId, pub amount: BigUint, } #[derive(ManagedVecItem, Clone)] pub struct Transfer { pub to: ManagedAddress, - pub payment: Payment, + pub payment: FungiblePayment, } #[type_abi] @@ -83,7 +83,7 @@ pub trait CommonModule { fn new_order( &self, id: u64, - payment: Payment, + payment: FungiblePayment, params: OrderInputParams, order_type: OrderType, ) -> Order { @@ -121,9 +121,9 @@ pub trait CommonModule { #[view(getFirstTokenId)] #[storage_mapper("first_token_id")] - fn first_token_id(&self) -> SingleValueMapper; + fn first_token_id(&self) -> SingleValueMapper; #[view(getSecondTokenId)] #[storage_mapper("second_token_id")] - fn second_token_id(&self) -> SingleValueMapper; + fn second_token_id(&self) -> SingleValueMapper; } diff --git a/contracts/examples/order-book/pair/src/lib.rs b/contracts/examples/order-book/pair/src/lib.rs index dd88fdc1f0..03301bb6d5 100644 --- a/contracts/examples/order-book/pair/src/lib.rs +++ b/contracts/examples/order-book/pair/src/lib.rs @@ -19,7 +19,7 @@ pub trait Pair: + validation::ValidationModule { #[init] - fn init(&self, first_token_id: EsdtTokenIdentifier, second_token_id: EsdtTokenIdentifier) { + fn init(&self, first_token_id: TokenId, second_token_id: TokenId) { self.first_token_id().set_if_empty(&first_token_id); self.second_token_id().set_if_empty(&second_token_id); } diff --git a/contracts/examples/order-book/pair/src/orders.rs b/contracts/examples/order-book/pair/src/orders.rs index 873ae59bfe..84838f5fae 100644 --- a/contracts/examples/order-book/pair/src/orders.rs +++ b/contracts/examples/order-book/pair/src/orders.rs @@ -5,8 +5,8 @@ use crate::common::{FEE_PENALTY_INCREASE_EPOCHS, FEE_PENALTY_INCREASE_PERCENT}; use super::{common, events, validation}; use super::common::{ - Order, OrderInputParams, OrderType, Payment, Transfer, FREE_ORDER_FROM_STORAGE_MIN_PENALTIES, - PERCENT_BASE_POINTS, + FungiblePayment, Order, OrderInputParams, OrderType, Transfer, + FREE_ORDER_FROM_STORAGE_MIN_PENALTIES, PERCENT_BASE_POINTS, }; #[multiversx_sc::module] @@ -15,7 +15,7 @@ pub trait OrdersModule: { fn create_order( &self, - payment: Payment, + payment: FungiblePayment, params: OrderInputParams, order_type: OrderType, ) { @@ -133,8 +133,8 @@ pub trait OrdersModule: &self, order_id: u64, caller: &ManagedAddress, - first_token_id: &EsdtTokenIdentifier, - second_token_id: &EsdtTokenIdentifier, + first_token_id: &TokenId, + second_token_id: &TokenId, epoch: u64, ) -> Order { let order = self.orders(order_id).get(); @@ -160,14 +160,14 @@ pub trait OrdersModule: let creator_transfer = Transfer { to: order.creator.clone(), - payment: Payment { + payment: FungiblePayment { token_id: token_id.clone(), amount, }, }; let caller_transfer = Transfer { to: caller.clone(), - payment: Payment { + payment: FungiblePayment { token_id, amount: penalty_amount, }, @@ -186,8 +186,8 @@ pub trait OrdersModule: &self, order_id: u64, caller: &ManagedAddress, - first_token_id: &EsdtTokenIdentifier, - second_token_id: &EsdtTokenIdentifier, + first_token_id: &TokenId, + second_token_id: &TokenId, epoch: u64, ) -> Order { let order = self.orders(order_id).get(); @@ -208,7 +208,7 @@ pub trait OrdersModule: let transfer = Transfer { to: caller.clone(), - payment: Payment { token_id, amount }, + payment: FungiblePayment { token_id, amount }, }; self.orders(order_id).clear(); @@ -308,14 +308,14 @@ pub trait OrdersModule: &self, orders: MultiValueManagedVec>, total_paid: BigUint, - token_requested: EsdtTokenIdentifier, + token_requested: TokenId, leftover: BigUint, ) -> ManagedVec> { let mut transfers: ManagedVec> = ManagedVec::new(); let mut match_provider_transfer = Transfer { to: self.blockchain().get_caller(), - payment: Payment { + payment: FungiblePayment { token_id: token_requested.clone(), amount: BigUint::zero(), }, @@ -336,7 +336,7 @@ pub trait OrdersModule: transfers.push(Transfer { to: order.creator.clone(), - payment: Payment { + payment: FungiblePayment { token_id: token_requested.clone(), amount: creator_amount + creator_deal_amount, }, @@ -353,9 +353,11 @@ pub trait OrdersModule: fn execute_transfers(&self, transfers: ManagedVec>) { for transfer in &transfers { if transfer.payment.amount > 0 { + let token_id = transfer.payment.token_id.clone(); + let amount = NonZeroBigUint::new(transfer.payment.amount.clone()).unwrap(); self.tx() .to(&transfer.to) - .single_esdt(&transfer.payment.token_id, 0, &transfer.payment.amount) + .payment(Payment::new(token_id, 0, amount)) .transfer(); } } diff --git a/contracts/examples/order-book/pair/src/validation.rs b/contracts/examples/order-book/pair/src/validation.rs index 1b3bc198fd..b7e8cfceac 100644 --- a/contracts/examples/order-book/pair/src/validation.rs +++ b/contracts/examples/order-book/pair/src/validation.rs @@ -1,11 +1,11 @@ use multiversx_sc::imports::*; -use crate::common::{FeeConfig, FeeConfigEnum}; +use crate::common::{FeeConfig, FeeConfigEnum, FungiblePayment}; use super::{ common, common::{ - Order, OrderInputParams, Payment, FEE_PENALTY_INCREASE_PERCENT, MAX_ORDERS_PER_USER, + Order, OrderInputParams, FEE_PENALTY_INCREASE_PERCENT, MAX_ORDERS_PER_USER, PERCENT_BASE_POINTS, }, }; @@ -68,31 +68,36 @@ pub trait ValidationModule: common::CommonModule { self.require_valid_order_input_deal_config(params); } - fn require_valid_buy_payment(&self) -> Payment { - let (token_id, amount) = self.call_value().single_fungible_esdt(); + fn require_valid_buy_payment(&self) -> FungiblePayment { + let payment = self.call_value().single(); let second_token_id = self.second_token_id().get(); require!( - *token_id == second_token_id, - "Token in and second token id should be the same" + payment.token_identifier.is_valid_esdt_identifier(), + "Payment is not a fungible token" + ); + require!( + payment.token_identifier == second_token_id, + "Token id and second token id should be the same" ); - Payment { - token_id: token_id.clone(), - amount: amount.clone(), + FungiblePayment { + token_id: payment.token_identifier.clone(), + amount: payment.amount.as_big_uint().clone(), } } - fn require_valid_sell_payment(&self) -> Payment { - let (token_id, amount) = self.call_value().single_fungible_esdt(); + fn require_valid_sell_payment(&self) -> FungiblePayment { + let payment = self.call_value().single(); let first_token_id = self.first_token_id().get(); + require!(payment.is_fungible(), "Payment is not a fungible token"); require!( - *token_id == first_token_id, - "Token in and first token id should be the same" + payment.token_identifier == first_token_id, + "Token id and first token id should be the same" ); - Payment { - token_id: token_id.clone(), - amount: amount.clone(), + FungiblePayment { + token_id: payment.token_identifier.clone(), + amount: payment.amount.as_big_uint().clone(), } } diff --git a/contracts/examples/ping-pong-egld/src/ping_pong.rs b/contracts/examples/ping-pong-egld/src/ping_pong.rs index 8ed5fbf76d..ce950ac407 100644 --- a/contracts/examples/ping-pong-egld/src/ping_pong.rs +++ b/contracts/examples/ping-pong-egld/src/ping_pong.rs @@ -86,7 +86,7 @@ pub trait PingPong { require!( &self .blockchain() - .get_sc_balance(&EgldOrEsdtTokenIdentifier::egld(), 0) + .get_sc_balance(EgldOrEsdtTokenIdentifier::egld(), 0) + &*payment <= max_funds, "smart contract full" diff --git a/contracts/feature-tests/basic-features/scenarios/big_num_ops_arith.scen.json b/contracts/feature-tests/basic-features/scenarios/big_num_ops_arith.scen.json index d7a7e57891..7e1c12855f 100644 --- a/contracts/feature-tests/basic-features/scenarios/big_num_ops_arith.scen.json +++ b/contracts/feature-tests/basic-features/scenarios/big_num_ops_arith.scen.json @@ -13,10 +13,10 @@ }, { "step": "scQuery", - "id": "add_big_int(0,0)", + "id": "add_big_int_big_int(0,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "0", "0" @@ -31,10 +31,10 @@ }, { "step": "scQuery", - "id": "add_big_int(0,1)", + "id": "add_big_int_big_int(0,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "0", "+1" @@ -49,10 +49,10 @@ }, { "step": "scQuery", - "id": "add_big_int(0,255)", + "id": "add_big_int_big_int(0,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "0", "+255" @@ -67,10 +67,10 @@ }, { "step": "scQuery", - "id": "add_big_int(0,18446744073709551615)", + "id": "add_big_int_big_int(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "0", "+18446744073709551615" @@ -85,10 +85,10 @@ }, { "step": "scQuery", - "id": "add_big_int(0,18446744073709551616)", + "id": "add_big_int_big_int(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "0", "+18446744073709551616" @@ -103,10 +103,10 @@ }, { "step": "scQuery", - "id": "add_big_int(0,-1)", + "id": "add_big_int_big_int(0,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "0", "-1" @@ -121,10 +121,10 @@ }, { "step": "scQuery", - "id": "add_big_int(0,-256)", + "id": "add_big_int_big_int(0,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "0", "-256" @@ -139,10 +139,10 @@ }, { "step": "scQuery", - "id": "add_big_int(1,0)", + "id": "add_big_int_big_int(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+1", "0" @@ -157,10 +157,10 @@ }, { "step": "scQuery", - "id": "add_big_int(1,1)", + "id": "add_big_int_big_int(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+1", "+1" @@ -175,10 +175,10 @@ }, { "step": "scQuery", - "id": "add_big_int(1,255)", + "id": "add_big_int_big_int(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+1", "+255" @@ -193,10 +193,10 @@ }, { "step": "scQuery", - "id": "add_big_int(1,18446744073709551615)", + "id": "add_big_int_big_int(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+1", "+18446744073709551615" @@ -211,10 +211,10 @@ }, { "step": "scQuery", - "id": "add_big_int(1,18446744073709551616)", + "id": "add_big_int_big_int(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+1", "+18446744073709551616" @@ -229,10 +229,10 @@ }, { "step": "scQuery", - "id": "add_big_int(1,-1)", + "id": "add_big_int_big_int(1,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+1", "-1" @@ -247,10 +247,10 @@ }, { "step": "scQuery", - "id": "add_big_int(1,-256)", + "id": "add_big_int_big_int(1,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+1", "-256" @@ -265,10 +265,10 @@ }, { "step": "scQuery", - "id": "add_big_int(255,0)", + "id": "add_big_int_big_int(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+255", "0" @@ -283,10 +283,10 @@ }, { "step": "scQuery", - "id": "add_big_int(255,1)", + "id": "add_big_int_big_int(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+255", "+1" @@ -301,10 +301,10 @@ }, { "step": "scQuery", - "id": "add_big_int(255,255)", + "id": "add_big_int_big_int(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+255", "+255" @@ -319,10 +319,10 @@ }, { "step": "scQuery", - "id": "add_big_int(255,18446744073709551615)", + "id": "add_big_int_big_int(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+255", "+18446744073709551615" @@ -337,10 +337,10 @@ }, { "step": "scQuery", - "id": "add_big_int(255,18446744073709551616)", + "id": "add_big_int_big_int(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+255", "+18446744073709551616" @@ -355,10 +355,10 @@ }, { "step": "scQuery", - "id": "add_big_int(255,-1)", + "id": "add_big_int_big_int(255,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+255", "-1" @@ -373,10 +373,10 @@ }, { "step": "scQuery", - "id": "add_big_int(255,-256)", + "id": "add_big_int_big_int(255,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+255", "-256" @@ -391,10 +391,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551615,0)", + "id": "add_big_int_big_int(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551615", "0" @@ -409,10 +409,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551615,1)", + "id": "add_big_int_big_int(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551615", "+1" @@ -427,10 +427,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551615,255)", + "id": "add_big_int_big_int(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551615", "+255" @@ -445,10 +445,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551615,18446744073709551615)", + "id": "add_big_int_big_int(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551615", "+18446744073709551615" @@ -463,10 +463,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551615,18446744073709551616)", + "id": "add_big_int_big_int(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551615", "+18446744073709551616" @@ -481,10 +481,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551615,-1)", + "id": "add_big_int_big_int(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551615", "-1" @@ -499,10 +499,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551615,-256)", + "id": "add_big_int_big_int(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551615", "-256" @@ -517,10 +517,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551616,0)", + "id": "add_big_int_big_int(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551616", "0" @@ -535,10 +535,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551616,1)", + "id": "add_big_int_big_int(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551616", "+1" @@ -553,10 +553,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551616,255)", + "id": "add_big_int_big_int(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551616", "+255" @@ -571,10 +571,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551616,18446744073709551615)", + "id": "add_big_int_big_int(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551616", "+18446744073709551615" @@ -589,10 +589,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551616,18446744073709551616)", + "id": "add_big_int_big_int(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551616", "+18446744073709551616" @@ -607,10 +607,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551616,-1)", + "id": "add_big_int_big_int(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551616", "-1" @@ -625,10 +625,10 @@ }, { "step": "scQuery", - "id": "add_big_int(18446744073709551616,-256)", + "id": "add_big_int_big_int(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "+18446744073709551616", "-256" @@ -643,10 +643,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-1,0)", + "id": "add_big_int_big_int(-1,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-1", "0" @@ -661,10 +661,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-1,1)", + "id": "add_big_int_big_int(-1,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-1", "+1" @@ -679,10 +679,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-1,255)", + "id": "add_big_int_big_int(-1,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-1", "+255" @@ -697,10 +697,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-1,18446744073709551615)", + "id": "add_big_int_big_int(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-1", "+18446744073709551615" @@ -715,10 +715,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-1,18446744073709551616)", + "id": "add_big_int_big_int(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-1", "+18446744073709551616" @@ -733,10 +733,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-1,-1)", + "id": "add_big_int_big_int(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-1", "-1" @@ -751,10 +751,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-1,-256)", + "id": "add_big_int_big_int(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-1", "-256" @@ -769,10 +769,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-256,0)", + "id": "add_big_int_big_int(-256,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-256", "0" @@ -787,10 +787,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-256,1)", + "id": "add_big_int_big_int(-256,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-256", "+1" @@ -805,10 +805,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-256,255)", + "id": "add_big_int_big_int(-256,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-256", "+255" @@ -823,10 +823,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-256,18446744073709551615)", + "id": "add_big_int_big_int(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-256", "+18446744073709551615" @@ -841,10 +841,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-256,18446744073709551616)", + "id": "add_big_int_big_int(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-256", "+18446744073709551616" @@ -859,10 +859,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-256,-1)", + "id": "add_big_int_big_int(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-256", "-1" @@ -877,10 +877,10 @@ }, { "step": "scQuery", - "id": "add_big_int(-256,-256)", + "id": "add_big_int_big_int(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int", + "function": "add_big_int_big_int", "arguments": [ "-256", "-256" @@ -895,10 +895,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(0,0)", + "id": "add_big_int_big_int_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "0", "0" @@ -913,10 +913,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(0,1)", + "id": "add_big_int_big_int_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "0", "+1" @@ -931,10 +931,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(0,255)", + "id": "add_big_int_big_int_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "0", "+255" @@ -949,10 +949,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(0,18446744073709551615)", + "id": "add_big_int_big_int_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "0", "+18446744073709551615" @@ -967,10 +967,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(0,18446744073709551616)", + "id": "add_big_int_big_int_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "0", "+18446744073709551616" @@ -985,10 +985,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(0,-1)", + "id": "add_big_int_big_int_ref(0,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "0", "-1" @@ -1003,10 +1003,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(0,-256)", + "id": "add_big_int_big_int_ref(0,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "0", "-256" @@ -1021,10 +1021,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(1,0)", + "id": "add_big_int_big_int_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+1", "0" @@ -1039,10 +1039,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(1,1)", + "id": "add_big_int_big_int_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+1", "+1" @@ -1057,10 +1057,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(1,255)", + "id": "add_big_int_big_int_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+1", "+255" @@ -1075,10 +1075,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(1,18446744073709551615)", + "id": "add_big_int_big_int_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+1", "+18446744073709551615" @@ -1093,10 +1093,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(1,18446744073709551616)", + "id": "add_big_int_big_int_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+1", "+18446744073709551616" @@ -1111,10 +1111,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(1,-1)", + "id": "add_big_int_big_int_ref(1,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+1", "-1" @@ -1129,10 +1129,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(1,-256)", + "id": "add_big_int_big_int_ref(1,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+1", "-256" @@ -1147,10 +1147,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(255,0)", + "id": "add_big_int_big_int_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+255", "0" @@ -1165,10 +1165,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(255,1)", + "id": "add_big_int_big_int_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+255", "+1" @@ -1183,10 +1183,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(255,255)", + "id": "add_big_int_big_int_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+255", "+255" @@ -1201,10 +1201,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(255,18446744073709551615)", + "id": "add_big_int_big_int_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+255", "+18446744073709551615" @@ -1219,10 +1219,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(255,18446744073709551616)", + "id": "add_big_int_big_int_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+255", "+18446744073709551616" @@ -1237,10 +1237,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(255,-1)", + "id": "add_big_int_big_int_ref(255,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+255", "-1" @@ -1255,10 +1255,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(255,-256)", + "id": "add_big_int_big_int_ref(255,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+255", "-256" @@ -1273,10 +1273,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551615,0)", + "id": "add_big_int_big_int_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "0" @@ -1291,10 +1291,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551615,1)", + "id": "add_big_int_big_int_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "+1" @@ -1309,10 +1309,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551615,255)", + "id": "add_big_int_big_int_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "+255" @@ -1327,10 +1327,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "add_big_int_big_int_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "+18446744073709551615" @@ -1345,10 +1345,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "add_big_int_big_int_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "+18446744073709551616" @@ -1363,10 +1363,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551615,-1)", + "id": "add_big_int_big_int_ref(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "-1" @@ -1381,10 +1381,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551615,-256)", + "id": "add_big_int_big_int_ref(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "-256" @@ -1399,10 +1399,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551616,0)", + "id": "add_big_int_big_int_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "0" @@ -1417,10 +1417,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551616,1)", + "id": "add_big_int_big_int_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "+1" @@ -1435,10 +1435,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551616,255)", + "id": "add_big_int_big_int_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "+255" @@ -1453,10 +1453,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "add_big_int_big_int_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "+18446744073709551615" @@ -1471,10 +1471,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "add_big_int_big_int_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "+18446744073709551616" @@ -1489,10 +1489,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551616,-1)", + "id": "add_big_int_big_int_ref(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "-1" @@ -1507,10 +1507,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(18446744073709551616,-256)", + "id": "add_big_int_big_int_ref(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "-256" @@ -1525,10 +1525,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-1,0)", + "id": "add_big_int_big_int_ref(-1,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-1", "0" @@ -1543,10 +1543,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-1,1)", + "id": "add_big_int_big_int_ref(-1,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-1", "+1" @@ -1561,10 +1561,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-1,255)", + "id": "add_big_int_big_int_ref(-1,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-1", "+255" @@ -1579,10 +1579,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-1,18446744073709551615)", + "id": "add_big_int_big_int_ref(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-1", "+18446744073709551615" @@ -1597,10 +1597,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-1,18446744073709551616)", + "id": "add_big_int_big_int_ref(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-1", "+18446744073709551616" @@ -1615,10 +1615,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-1,-1)", + "id": "add_big_int_big_int_ref(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-1", "-1" @@ -1633,10 +1633,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-1,-256)", + "id": "add_big_int_big_int_ref(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-1", "-256" @@ -1651,10 +1651,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-256,0)", + "id": "add_big_int_big_int_ref(-256,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-256", "0" @@ -1669,10 +1669,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-256,1)", + "id": "add_big_int_big_int_ref(-256,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-256", "+1" @@ -1687,10 +1687,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-256,255)", + "id": "add_big_int_big_int_ref(-256,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-256", "+255" @@ -1705,10 +1705,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-256,18446744073709551615)", + "id": "add_big_int_big_int_ref(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-256", "+18446744073709551615" @@ -1723,10 +1723,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-256,18446744073709551616)", + "id": "add_big_int_big_int_ref(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-256", "+18446744073709551616" @@ -1741,10 +1741,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-256,-1)", + "id": "add_big_int_big_int_ref(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-256", "-1" @@ -1759,10 +1759,10 @@ }, { "step": "scQuery", - "id": "add_big_int_ref(-256,-256)", + "id": "add_big_int_big_int_ref(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_int_ref", + "function": "add_big_int_big_int_ref", "arguments": [ "-256", "-256" @@ -1777,10 +1777,10 @@ }, { "step": "scQuery", - "id": "add_big_uint(0,0)", + "id": "add_big_int_ref_big_int(0,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ "0", "0" @@ -1795,892 +1795,874 @@ }, { "step": "scQuery", - "id": "add_big_uint(0,1)", + "id": "add_big_int_ref_big_int(0,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ "0", - "1" + "+1" ] }, "expect": { "out": [ - "1" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(0,255)", + "id": "add_big_int_ref_big_int(0,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ "0", - "255" + "+255" ] }, "expect": { "out": [ - "255" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(0,18446744073709551615)", + "id": "add_big_int_ref_big_int(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ "0", - "18446744073709551615" + "+18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(0,18446744073709551616)", + "id": "add_big_int_ref_big_int(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ "0", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "18446744073709551616" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "add_big_uint(1,0)", - "tx": { - "to": "sc:basic-features", - "function": "add_big_uint", - "arguments": [ - "1", - "0" + "+18446744073709551616" ] }, "expect": { "out": [ - "1" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(1,1)", + "id": "add_big_int_ref_big_int(0,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "1" + "0", + "-1" ] }, "expect": { "out": [ - "2" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(1,255)", + "id": "add_big_int_ref_big_int(0,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "255" + "0", + "-256" ] }, "expect": { "out": [ - "256" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(1,18446744073709551615)", + "id": "add_big_int_ref_big_int(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "18446744073709551615" + "+1", + "0" ] }, "expect": { "out": [ - "18446744073709551616" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(1,18446744073709551616)", + "id": "add_big_int_ref_big_int(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "18446744073709551616" + "+1", + "+1" ] }, "expect": { "out": [ - "18446744073709551617" + "+2" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(255,0)", + "id": "add_big_int_ref_big_int(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "0" + "+1", + "+255" ] }, "expect": { "out": [ - "255" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(255,1)", + "id": "add_big_int_ref_big_int(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "1" + "+1", + "+18446744073709551615" ] }, "expect": { "out": [ - "256" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(255,255)", + "id": "add_big_int_ref_big_int(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "255" + "+1", + "+18446744073709551616" ] }, "expect": { "out": [ - "510" + "+18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(255,18446744073709551615)", + "id": "add_big_int_ref_big_int(1,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "18446744073709551615" + "+1", + "-1" ] }, "expect": { "out": [ - "18446744073709551870" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(255,18446744073709551616)", + "id": "add_big_int_ref_big_int(1,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "18446744073709551616" + "+1", + "-256" ] }, "expect": { "out": [ - "18446744073709551871" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551615,0)", + "id": "add_big_int_ref_big_int(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", + "+255", "0" ] }, "expect": { "out": [ - "18446744073709551615" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551615,1)", + "id": "add_big_int_ref_big_int(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "1" + "+255", + "+1" ] }, "expect": { "out": [ - "18446744073709551616" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551615,255)", + "id": "add_big_int_ref_big_int(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "255" + "+255", + "+255" ] }, "expect": { "out": [ - "18446744073709551870" + "+510" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551615,18446744073709551615)", + "id": "add_big_int_ref_big_int(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "18446744073709551615" + "+255", + "+18446744073709551615" ] }, "expect": { "out": [ - "36893488147419103230" + "+18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551615,18446744073709551616)", + "id": "add_big_int_ref_big_int(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "18446744073709551616" + "+255", + "+18446744073709551616" ] }, "expect": { "out": [ - "36893488147419103231" + "+18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551616,0)", + "id": "add_big_int_ref_big_int(255,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "0" + "+255", + "-1" ] }, "expect": { "out": [ - "18446744073709551616" + "+254" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551616,1)", + "id": "add_big_int_ref_big_int(255,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "1" + "+255", + "-256" ] }, "expect": { "out": [ - "18446744073709551617" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551616,255)", + "id": "add_big_int_ref_big_int(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "255" + "+18446744073709551615", + "0" ] }, "expect": { "out": [ - "18446744073709551871" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551616,18446744073709551615)", + "id": "add_big_int_ref_big_int(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "18446744073709551615" + "+18446744073709551615", + "+1" ] }, "expect": { "out": [ - "36893488147419103231" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint(18446744073709551616,18446744073709551616)", + "id": "add_big_int_ref_big_int(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "+18446744073709551615", + "+255" ] }, "expect": { "out": [ - "36893488147419103232" + "+18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(0,0)", + "id": "add_big_int_ref_big_int(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "0", - "0" + "+18446744073709551615", + "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "+36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(0,1)", + "id": "add_big_int_ref_big_int(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "0", - "1" + "+18446744073709551615", + "+18446744073709551616" ] }, "expect": { "out": [ - "1" + "+36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(0,255)", + "id": "add_big_int_ref_big_int(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "0", - "255" + "+18446744073709551615", + "-1" ] }, "expect": { "out": [ - "255" + "+18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(0,18446744073709551615)", + "id": "add_big_int_ref_big_int(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "0", - "18446744073709551615" + "+18446744073709551615", + "-256" ] }, "expect": { "out": [ - "18446744073709551615" + "+18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(0,18446744073709551616)", + "id": "add_big_int_ref_big_int(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "0", - "18446744073709551616" + "+18446744073709551616", + "0" ] }, "expect": { "out": [ - "18446744073709551616" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(1,0)", + "id": "add_big_int_ref_big_int(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "0" + "+18446744073709551616", + "+1" ] }, "expect": { "out": [ - "1" + "+18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(1,1)", + "id": "add_big_int_ref_big_int(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "1" + "+18446744073709551616", + "+255" ] }, "expect": { "out": [ - "2" + "+18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(1,255)", + "id": "add_big_int_ref_big_int(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "255" + "+18446744073709551616", + "+18446744073709551615" ] }, "expect": { "out": [ - "256" + "+36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(1,18446744073709551615)", + "id": "add_big_int_ref_big_int(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "18446744073709551615" + "+18446744073709551616", + "+18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551616" + "+36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(1,18446744073709551616)", + "id": "add_big_int_ref_big_int(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "1", - "18446744073709551616" + "+18446744073709551616", + "-1" ] }, "expect": { "out": [ - "18446744073709551617" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(255,0)", + "id": "add_big_int_ref_big_int(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "0" + "+18446744073709551616", + "-256" ] }, "expect": { "out": [ - "255" + "+18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(255,1)", + "id": "add_big_int_ref_big_int(-1,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "1" + "-1", + "0" ] }, "expect": { "out": [ - "256" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(255,255)", + "id": "add_big_int_ref_big_int(-1,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "255" + "-1", + "+1" ] }, "expect": { "out": [ - "510" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(255,18446744073709551615)", + "id": "add_big_int_ref_big_int(-1,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "18446744073709551615" + "-1", + "+255" ] }, "expect": { "out": [ - "18446744073709551870" + "+254" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(255,18446744073709551616)", + "id": "add_big_int_ref_big_int(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "255", - "18446744073709551616" + "-1", + "+18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551871" + "+18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551615,0)", + "id": "add_big_int_ref_big_int(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "0" + "-1", + "+18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551615" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551615,1)", + "id": "add_big_int_ref_big_int(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "1" + "-1", + "-1" ] }, "expect": { "out": [ - "18446744073709551616" + "-2" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551615,255)", + "id": "add_big_int_ref_big_int(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "255" + "-1", + "-256" ] }, "expect": { "out": [ - "18446744073709551870" + "-257" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "add_big_int_ref_big_int(-256,0)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "18446744073709551615" + "-256", + "0" ] }, "expect": { "out": [ - "36893488147419103230" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "add_big_int_ref_big_int(-256,1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "18446744073709551616" + "-256", + "+1" ] }, "expect": { "out": [ - "36893488147419103231" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551616,0)", + "id": "add_big_int_ref_big_int(-256,255)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "0" + "-256", + "+255" ] }, "expect": { "out": [ - "18446744073709551616" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551616,1)", + "id": "add_big_int_ref_big_int(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "1" + "-256", + "+18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551617" + "+18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551616,255)", + "id": "add_big_int_ref_big_int(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "255" + "-256", + "+18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551871" + "+18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "add_big_int_ref_big_int(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "18446744073709551615" + "-256", + "-1" ] }, "expect": { "out": [ - "36893488147419103231" + "-257" ], "status": "0" } }, { "step": "scQuery", - "id": "add_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "add_big_int_ref_big_int(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "add_big_uint_ref", + "function": "add_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "-256", + "-256" ] }, "expect": { "out": [ - "36893488147419103232" + "-512" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(0,0)", + "id": "add_big_int_ref_big_int_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "0", "0" @@ -2695,10 +2677,10 @@ }, { "step": "scQuery", - "id": "sub_big_int(0,1)", + "id": "add_big_int_ref_big_int_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "0", "+1" @@ -2706,17 +2688,17 @@ }, "expect": { "out": [ - "-1" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(0,255)", + "id": "add_big_int_ref_big_int_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "0", "+255" @@ -2724,17 +2706,17 @@ }, "expect": { "out": [ - "-255" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(0,18446744073709551615)", + "id": "add_big_int_ref_big_int_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "0", "+18446744073709551615" @@ -2742,17 +2724,17 @@ }, "expect": { "out": [ - "-18446744073709551615" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(0,18446744073709551616)", + "id": "add_big_int_ref_big_int_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "0", "+18446744073709551616" @@ -2760,17 +2742,17 @@ }, "expect": { "out": [ - "-18446744073709551616" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(0,-1)", + "id": "add_big_int_ref_big_int_ref(0,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "0", "-1" @@ -2778,17 +2760,17 @@ }, "expect": { "out": [ - "+1" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(0,-256)", + "id": "add_big_int_ref_big_int_ref(0,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "0", "-256" @@ -2796,17 +2778,17 @@ }, "expect": { "out": [ - "+256" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(1,0)", + "id": "add_big_int_ref_big_int_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+1", "0" @@ -2821,10 +2803,10 @@ }, { "step": "scQuery", - "id": "sub_big_int(1,1)", + "id": "add_big_int_ref_big_int_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+1", "+1" @@ -2832,17 +2814,17 @@ }, "expect": { "out": [ - "0" + "+2" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(1,255)", + "id": "add_big_int_ref_big_int_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+1", "+255" @@ -2850,17 +2832,17 @@ }, "expect": { "out": [ - "-254" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(1,18446744073709551615)", + "id": "add_big_int_ref_big_int_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+1", "+18446744073709551615" @@ -2868,17 +2850,17 @@ }, "expect": { "out": [ - "-18446744073709551614" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(1,18446744073709551616)", + "id": "add_big_int_ref_big_int_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+1", "+18446744073709551616" @@ -2886,17 +2868,17 @@ }, "expect": { "out": [ - "-18446744073709551615" + "+18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(1,-1)", + "id": "add_big_int_ref_big_int_ref(1,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+1", "-1" @@ -2904,17 +2886,17 @@ }, "expect": { "out": [ - "+2" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(1,-256)", + "id": "add_big_int_ref_big_int_ref(1,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+1", "-256" @@ -2922,17 +2904,17 @@ }, "expect": { "out": [ - "+257" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(255,0)", + "id": "add_big_int_ref_big_int_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+255", "0" @@ -2947,10 +2929,10 @@ }, { "step": "scQuery", - "id": "sub_big_int(255,1)", + "id": "add_big_int_ref_big_int_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+255", "+1" @@ -2958,17 +2940,17 @@ }, "expect": { "out": [ - "+254" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(255,255)", + "id": "add_big_int_ref_big_int_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+255", "+255" @@ -2976,17 +2958,17 @@ }, "expect": { "out": [ - "0" + "+510" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(255,18446744073709551615)", + "id": "add_big_int_ref_big_int_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+255", "+18446744073709551615" @@ -2994,17 +2976,17 @@ }, "expect": { "out": [ - "-18446744073709551360" + "+18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(255,18446744073709551616)", + "id": "add_big_int_ref_big_int_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+255", "+18446744073709551616" @@ -3012,17 +2994,17 @@ }, "expect": { "out": [ - "-18446744073709551361" + "+18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(255,-1)", + "id": "add_big_int_ref_big_int_ref(255,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+255", "-1" @@ -3030,17 +3012,17 @@ }, "expect": { "out": [ - "+256" + "+254" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(255,-256)", + "id": "add_big_int_ref_big_int_ref(255,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+255", "-256" @@ -3048,17 +3030,17 @@ }, "expect": { "out": [ - "+511" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551615,0)", + "id": "add_big_int_ref_big_int_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551615", "0" @@ -3073,10 +3055,10 @@ }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551615,1)", + "id": "add_big_int_ref_big_int_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551615", "+1" @@ -3084,17 +3066,17 @@ }, "expect": { "out": [ - "+18446744073709551614" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551615,255)", + "id": "add_big_int_ref_big_int_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551615", "+255" @@ -3102,17 +3084,17 @@ }, "expect": { "out": [ - "+18446744073709551360" + "+18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551615,18446744073709551615)", + "id": "add_big_int_ref_big_int_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551615", "+18446744073709551615" @@ -3120,17 +3102,17 @@ }, "expect": { "out": [ - "0" + "+36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551615,18446744073709551616)", + "id": "add_big_int_ref_big_int_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551615", "+18446744073709551616" @@ -3138,17 +3120,17 @@ }, "expect": { "out": [ - "-1" + "+36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551615,-1)", + "id": "add_big_int_ref_big_int_ref(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551615", "-1" @@ -3156,17 +3138,17 @@ }, "expect": { "out": [ - "+18446744073709551616" + "+18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551615,-256)", + "id": "add_big_int_ref_big_int_ref(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551615", "-256" @@ -3174,17 +3156,17 @@ }, "expect": { "out": [ - "+18446744073709551871" + "+18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551616,0)", + "id": "add_big_int_ref_big_int_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551616", "0" @@ -3199,10 +3181,10 @@ }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551616,1)", + "id": "add_big_int_ref_big_int_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551616", "+1" @@ -3210,17 +3192,17 @@ }, "expect": { "out": [ - "+18446744073709551615" + "+18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551616,255)", + "id": "add_big_int_ref_big_int_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551616", "+255" @@ -3228,17 +3210,17 @@ }, "expect": { "out": [ - "+18446744073709551361" + "+18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551616,18446744073709551615)", + "id": "add_big_int_ref_big_int_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551616", "+18446744073709551615" @@ -3246,17 +3228,17 @@ }, "expect": { "out": [ - "+1" + "+36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551616,18446744073709551616)", + "id": "add_big_int_ref_big_int_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551616", "+18446744073709551616" @@ -3264,17 +3246,17 @@ }, "expect": { "out": [ - "0" + "+36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551616,-1)", + "id": "add_big_int_ref_big_int_ref(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551616", "-1" @@ -3282,17 +3264,17 @@ }, "expect": { "out": [ - "+18446744073709551617" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(18446744073709551616,-256)", + "id": "add_big_int_ref_big_int_ref(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "+18446744073709551616", "-256" @@ -3300,17 +3282,17 @@ }, "expect": { "out": [ - "+18446744073709551872" + "+18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-1,0)", + "id": "add_big_int_ref_big_int_ref(-1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-1", "0" @@ -3325,10 +3307,10 @@ }, { "step": "scQuery", - "id": "sub_big_int(-1,1)", + "id": "add_big_int_ref_big_int_ref(-1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-1", "+1" @@ -3336,17 +3318,17 @@ }, "expect": { "out": [ - "-2" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-1,255)", + "id": "add_big_int_ref_big_int_ref(-1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-1", "+255" @@ -3354,17 +3336,17 @@ }, "expect": { "out": [ - "-256" + "+254" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-1,18446744073709551615)", + "id": "add_big_int_ref_big_int_ref(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-1", "+18446744073709551615" @@ -3372,17 +3354,17 @@ }, "expect": { "out": [ - "-18446744073709551616" + "+18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-1,18446744073709551616)", + "id": "add_big_int_ref_big_int_ref(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-1", "+18446744073709551616" @@ -3390,17 +3372,17 @@ }, "expect": { "out": [ - "-18446744073709551617" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-1,-1)", + "id": "add_big_int_ref_big_int_ref(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-1", "-1" @@ -3408,17 +3390,17 @@ }, "expect": { "out": [ - "0" + "-2" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-1,-256)", + "id": "add_big_int_ref_big_int_ref(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-1", "-256" @@ -3426,17 +3408,17 @@ }, "expect": { "out": [ - "+255" + "-257" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-256,0)", + "id": "add_big_int_ref_big_int_ref(-256,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-256", "0" @@ -3451,10 +3433,10 @@ }, { "step": "scQuery", - "id": "sub_big_int(-256,1)", + "id": "add_big_int_ref_big_int_ref(-256,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-256", "+1" @@ -3462,17 +3444,17 @@ }, "expect": { "out": [ - "-257" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-256,255)", + "id": "add_big_int_ref_big_int_ref(-256,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-256", "+255" @@ -3480,17 +3462,17 @@ }, "expect": { "out": [ - "-511" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-256,18446744073709551615)", + "id": "add_big_int_ref_big_int_ref(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-256", "+18446744073709551615" @@ -3498,17 +3480,17 @@ }, "expect": { "out": [ - "-18446744073709551871" + "+18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-256,18446744073709551616)", + "id": "add_big_int_ref_big_int_ref(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-256", "+18446744073709551616" @@ -3516,17 +3498,17 @@ }, "expect": { "out": [ - "-18446744073709551872" + "+18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-256,-1)", + "id": "add_big_int_ref_big_int_ref(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-256", "-1" @@ -3534,17 +3516,17 @@ }, "expect": { "out": [ - "-255" + "-257" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int(-256,-256)", + "id": "add_big_int_ref_big_int_ref(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int", + "function": "add_big_int_ref_big_int_ref", "arguments": [ "-256", "-256" @@ -3552,17 +3534,17 @@ }, "expect": { "out": [ - "0" + "-512" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(0,0)", + "id": "add_big_uint_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ "0", "0" @@ -3577,427 +3559,445 @@ }, { "step": "scQuery", - "id": "sub_big_int_ref(0,1)", + "id": "add_big_uint_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ "0", - "+1" + "1" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(0,255)", + "id": "add_big_uint_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ "0", - "+255" + "255" ] }, "expect": { "out": [ - "-255" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(0,18446744073709551615)", + "id": "add_big_uint_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ "0", - "+18446744073709551615" + "18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551615" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(0,18446744073709551616)", + "id": "add_big_uint_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ "0", - "+18446744073709551616" + "18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551616" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(0,-1)", + "id": "add_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "0", - "-1" + "1", + "0" ] }, "expect": { "out": [ - "+1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(0,-256)", + "id": "add_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "0", - "-256" + "1", + "1" ] }, "expect": { "out": [ - "+256" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(1,0)", + "id": "add_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+1", - "0" + "1", + "255" ] }, "expect": { "out": [ - "+1" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(1,1)", + "id": "add_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+1", - "+1" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(1,255)", + "id": "add_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+1", - "+255" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "-254" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(1,18446744073709551615)", + "id": "add_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+1", - "+18446744073709551615" + "255", + "0" ] }, "expect": { "out": [ - "-18446744073709551614" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(1,18446744073709551616)", + "id": "add_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+1", - "+18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "-18446744073709551615" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(1,-1)", + "id": "add_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+1", - "-1" + "255", + "255" ] }, "expect": { "out": [ - "+2" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(1,-256)", + "id": "add_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+1", - "-256" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "+257" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(255,0)", + "id": "add_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+255", + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_big_uint_big_uint", + "arguments": [ + "18446744073709551615", "0" ] }, "expect": { "out": [ - "+255" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(255,1)", + "id": "add_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+255", - "+1" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+254" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(255,255)", + "id": "add_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+255", - "+255" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(255,18446744073709551615)", + "id": "add_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551360" + "36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(255,18446744073709551616)", + "id": "add_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+255", - "+18446744073709551616" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551361" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(255,-1)", + "id": "add_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+255", - "-1" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "+256" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(255,-256)", + "id": "add_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+255", - "-256" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+511" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551615,0)", + "id": "add_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+18446744073709551615", - "0" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+18446744073709551615" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551615,1)", + "id": "add_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+18446744073709551615", - "+1" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "+18446744073709551614" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551615,255)", + "id": "add_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint", "arguments": [ - "+18446744073709551615", - "+255" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "+18446744073709551360" + "36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "add_big_uint_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "0", + "0" ] }, "expect": { @@ -4009,442 +4009,442 @@ }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "add_big_uint_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "0", + "1" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551615,-1)", + "id": "add_big_uint_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "-1" + "0", + "255" ] }, "expect": { "out": [ - "+18446744073709551616" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551615,-256)", + "id": "add_big_uint_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "-256" + "0", + "18446744073709551615" ] }, "expect": { "out": [ - "+18446744073709551871" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551616,0)", + "id": "add_big_uint_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551616", - "0" + "0", + "18446744073709551616" ] }, "expect": { "out": [ - "+18446744073709551616" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551616,1)", + "id": "add_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+1" + "1", + "0" ] }, "expect": { "out": [ - "+18446744073709551615" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551616,255)", + "id": "add_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+255" + "1", + "1" ] }, "expect": { "out": [ - "+18446744073709551361" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "add_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "1", + "255" ] }, "expect": { "out": [ - "+1" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "add_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551616,-1)", + "id": "add_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551616", - "-1" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "+18446744073709551617" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(18446744073709551616,-256)", + "id": "add_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551616", - "-256" + "255", + "0" ] }, "expect": { "out": [ - "+18446744073709551872" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-1,0)", + "id": "add_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-1", - "0" + "255", + "1" ] }, "expect": { "out": [ - "-1" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-1,1)", + "id": "add_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-1", - "+1" + "255", + "255" ] }, "expect": { "out": [ - "-2" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-1,255)", + "id": "add_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-1", - "+255" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "-256" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-1,18446744073709551615)", + "id": "add_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-1", - "+18446744073709551615" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551616" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-1,18446744073709551616)", + "id": "add_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-1", - "+18446744073709551616" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "-18446744073709551617" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-1,-1)", + "id": "add_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-1", - "-1" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-1,-256)", + "id": "add_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-1", - "-256" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+255" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-256,0)", + "id": "add_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-256", - "0" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "-256" + "36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-256,1)", + "id": "add_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-256", - "+1" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "-257" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-256,255)", + "id": "add_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-256", - "+255" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "-511" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-256,18446744073709551615)", + "id": "add_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-256", - "+18446744073709551615" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-18446744073709551871" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-256,18446744073709551616)", + "id": "add_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-256", - "+18446744073709551616" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "-18446744073709551872" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-256,-1)", + "id": "add_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-256", - "-1" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "-255" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_int_ref(-256,-256)", + "id": "add_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_int_ref", + "function": "add_big_uint_big_uint_ref", "arguments": [ - "-256", - "-256" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(0,0)", + "id": "add_big_uint_ref_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "0", "0" @@ -4459,74 +4459,82 @@ }, { "step": "scQuery", - "id": "sub_big_uint(0,1)", + "id": "add_big_uint_ref_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "0", "1" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(0,255)", + "id": "add_big_uint_ref_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "0", "255" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(0,18446744073709551615)", + "id": "add_big_uint_ref_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "0", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(0,18446744073709551616)", + "id": "add_big_uint_ref_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "0", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(1,0)", + "id": "add_big_uint_ref_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "1", "0" @@ -4541,10 +4549,10 @@ }, { "step": "scQuery", - "id": "sub_big_uint(1,1)", + "id": "add_big_uint_ref_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "1", "1" @@ -4552,65 +4560,71 @@ }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(1,255)", + "id": "add_big_uint_ref_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "1", "255" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "256" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(1,18446744073709551615)", + "id": "add_big_uint_ref_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "1", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(1,18446744073709551616)", + "id": "add_big_uint_ref_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "1", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551617" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(255,0)", + "id": "add_big_uint_ref_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "255", "0" @@ -4625,10 +4639,10 @@ }, { "step": "scQuery", - "id": "sub_big_uint(255,1)", + "id": "add_big_uint_ref_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "255", "1" @@ -4636,17 +4650,17 @@ }, "expect": { "out": [ - "254" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(255,255)", + "id": "add_big_uint_ref_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "255", "255" @@ -4654,49 +4668,53 @@ }, "expect": { "out": [ - "0" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(255,18446744073709551615)", + "id": "add_big_uint_ref_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "255", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551870" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(255,18446744073709551616)", + "id": "add_big_uint_ref_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "255", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551871" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551615,0)", + "id": "add_big_uint_ref_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "0" @@ -4711,10 +4729,10 @@ }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551615,1)", + "id": "add_big_uint_ref_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "1" @@ -4722,17 +4740,17 @@ }, "expect": { "out": [ - "18446744073709551614" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551615,255)", + "id": "add_big_uint_ref_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "255" @@ -4740,17 +4758,17 @@ }, "expect": { "out": [ - "18446744073709551360" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551615,18446744073709551615)", + "id": "add_big_uint_ref_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -4758,33 +4776,35 @@ }, "expect": { "out": [ - "0" + "36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551615,18446744073709551616)", + "id": "add_big_uint_ref_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "36893488147419103231" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551616,0)", + "id": "add_big_uint_ref_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "0" @@ -4799,10 +4819,10 @@ }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551616,1)", + "id": "add_big_uint_ref_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "1" @@ -4810,17 +4830,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551616,255)", + "id": "add_big_uint_ref_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "255" @@ -4828,17 +4848,17 @@ }, "expect": { "out": [ - "18446744073709551361" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551616,18446744073709551615)", + "id": "add_big_uint_ref_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -4846,17 +4866,17 @@ }, "expect": { "out": [ - "1" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint(18446744073709551616,18446744073709551616)", + "id": "add_big_uint_ref_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint", + "function": "add_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -4864,17 +4884,17 @@ }, "expect": { "out": [ - "0" + "36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(0,0)", + "id": "add_big_uint_ref_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "0", "0" @@ -4889,74 +4909,82 @@ }, { "step": "scQuery", - "id": "sub_big_uint_ref(0,1)", + "id": "add_big_uint_ref_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "0", "1" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(0,255)", + "id": "add_big_uint_ref_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "0", "255" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(0,18446744073709551615)", + "id": "add_big_uint_ref_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "0", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(0,18446744073709551616)", + "id": "add_big_uint_ref_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "0", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(1,0)", + "id": "add_big_uint_ref_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "1", "0" @@ -4971,10 +4999,10 @@ }, { "step": "scQuery", - "id": "sub_big_uint_ref(1,1)", + "id": "add_big_uint_ref_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "1", "1" @@ -4982,65 +5010,71 @@ }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(1,255)", + "id": "add_big_uint_ref_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "1", "255" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "256" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(1,18446744073709551615)", + "id": "add_big_uint_ref_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "1", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(1,18446744073709551616)", + "id": "add_big_uint_ref_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "1", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551617" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(255,0)", + "id": "add_big_uint_ref_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "255", "0" @@ -5055,10 +5089,10 @@ }, { "step": "scQuery", - "id": "sub_big_uint_ref(255,1)", + "id": "add_big_uint_ref_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "255", "1" @@ -5066,17 +5100,17 @@ }, "expect": { "out": [ - "254" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(255,255)", + "id": "add_big_uint_ref_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "255", "255" @@ -5084,49 +5118,53 @@ }, "expect": { "out": [ - "0" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(255,18446744073709551615)", + "id": "add_big_uint_ref_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "255", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551870" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(255,18446744073709551616)", + "id": "add_big_uint_ref_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "255", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "18446744073709551871" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551615,0)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "0" @@ -5141,10 +5179,10 @@ }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551615,1)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "1" @@ -5152,17 +5190,17 @@ }, "expect": { "out": [ - "18446744073709551614" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551615,255)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "255" @@ -5170,17 +5208,17 @@ }, "expect": { "out": [ - "18446744073709551360" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -5188,33 +5226,35 @@ }, "expect": { "out": [ - "0" + "36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "36893488147419103231" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551616,0)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "0" @@ -5229,10 +5269,10 @@ }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551616,1)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "1" @@ -5240,17 +5280,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551616,255)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "255" @@ -5258,17 +5298,17 @@ }, "expect": { "out": [ - "18446744073709551361" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -5276,17 +5316,17 @@ }, "expect": { "out": [ - "1" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "add_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_big_uint_ref", + "function": "add_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -5294,17 +5334,17 @@ }, "expect": { "out": [ - "0" + "36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(0,0)", + "id": "add_big_uint_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ "0", "0" @@ -5319,2134 +5359,2152 @@ }, { "step": "scQuery", - "id": "mul_big_int(0,1)", + "id": "add_big_uint_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ "0", - "+1" + "1" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(0,255)", + "id": "add_big_uint_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ "0", - "+255" + "255" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(0,18446744073709551615)", + "id": "add_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "0", - "+18446744073709551615" + "1", + "0" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(0,18446744073709551616)", + "id": "add_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "0", - "+18446744073709551616" + "1", + "1" ] }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(0,-1)", + "id": "add_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "0", - "-1" + "1", + "255" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(0,-256)", + "id": "add_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "0", - "-256" + "255", + "0" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(1,0)", + "id": "add_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "+1", - "0" + "255", + "1" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(1,1)", + "id": "add_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "+1", - "+1" + "255", + "255" ] }, "expect": { "out": [ - "+1" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(1,255)", + "id": "add_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "+1", - "+255" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "+255" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(1,18446744073709551615)", + "id": "add_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "+1", - "+18446744073709551615" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+18446744073709551615" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(1,18446744073709551616)", + "id": "add_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "+1", - "+18446744073709551616" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+18446744073709551616" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(1,-1)", + "id": "add_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "+1", - "-1" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "-1" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(1,-256)", + "id": "add_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "+1", - "-256" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-256" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(255,0)", + "id": "add_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u32", "arguments": [ - "+255", - "0" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(255,1)", + "id": "add_big_uint_ref_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+255", - "+1" + "0", + "0" ] }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(255,255)", + "id": "add_big_uint_ref_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+255", - "+255" + "0", + "1" ] }, "expect": { "out": [ - "+65025" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(255,18446744073709551615)", + "id": "add_big_uint_ref_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+255", - "+18446744073709551615" + "0", + "255" ] }, "expect": { "out": [ - "+4703919738795935661825" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(255,18446744073709551616)", + "id": "add_big_uint_ref_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+255", - "+18446744073709551616" + "1", + "0" ] }, "expect": { "out": [ - "+4703919738795935662080" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(255,-1)", + "id": "add_big_uint_ref_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+255", - "-1" + "1", + "1" ] }, "expect": { "out": [ - "-255" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(255,-256)", + "id": "add_big_uint_ref_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+255", - "-256" + "1", + "255" ] }, "expect": { "out": [ - "-65280" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551615,0)", + "id": "add_big_uint_ref_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551615", + "255", "0" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551615,1)", + "id": "add_big_uint_ref_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551615", - "+1" + "255", + "1" ] }, "expect": { "out": [ - "+18446744073709551615" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551615,255)", + "id": "add_big_uint_ref_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551615", - "+255" + "255", + "255" ] }, "expect": { "out": [ - "+4703919738795935661825" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551615,18446744073709551615)", + "id": "add_big_uint_ref_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "+340282366920938463426481119284349108225" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551615,18446744073709551616)", + "id": "add_big_uint_ref_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+340282366920938463444927863358058659840" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551615,-1)", + "id": "add_big_uint_ref_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551615", - "-1" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-18446744073709551615" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551615,-256)", + "id": "add_big_uint_ref_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551615", - "-256" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "-4722366482869645213440" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551616,0)", + "id": "add_big_uint_ref_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551616", - "0" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551616,1)", + "id": "add_big_uint_ref_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u32", "arguments": [ - "+18446744073709551616", - "+1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+18446744073709551616" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551616,255)", + "id": "add_big_uint_u64(0,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "+18446744073709551616", - "+255" + "0", + "0" ] }, "expect": { "out": [ - "+4703919738795935662080" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551616,18446744073709551615)", + "id": "add_big_uint_u64(0,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "0", + "1" ] }, "expect": { "out": [ - "+340282366920938463444927863358058659840" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551616,18446744073709551616)", + "id": "add_big_uint_u64(0,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "0", + "255" ] }, "expect": { "out": [ - "+340282366920938463463374607431768211456" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551616,-1)", + "id": "add_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "+18446744073709551616", - "-1" + "1", + "0" ] }, "expect": { "out": [ - "-18446744073709551616" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(18446744073709551616,-256)", + "id": "add_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "+18446744073709551616", - "-256" + "1", + "1" ] }, "expect": { "out": [ - "-4722366482869645213696" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-1,0)", + "id": "add_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-1", - "0" + "1", + "255" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-1,1)", + "id": "add_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-1", - "+1" + "255", + "0" ] }, "expect": { "out": [ - "-1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-1,255)", + "id": "add_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-1", - "+255" + "255", + "1" ] }, "expect": { "out": [ - "-255" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-1,18446744073709551615)", + "id": "add_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-1", - "+18446744073709551615" + "255", + "255" ] }, "expect": { "out": [ - "-18446744073709551615" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-1,18446744073709551616)", + "id": "add_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-1", - "+18446744073709551616" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "-18446744073709551616" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-1,-1)", + "id": "add_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-1", - "-1" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+1" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-1,-256)", + "id": "add_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-1", - "-256" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+256" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-256,0)", + "id": "add_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-256", + "18446744073709551616", "0" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-256,1)", + "id": "add_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-256", - "+1" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-256" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-256,255)", + "id": "add_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_u64", "arguments": [ - "-256", - "+255" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "-65280" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-256,18446744073709551615)", + "id": "add_big_uint_ref_u64(0,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u64", "arguments": [ - "-256", - "+18446744073709551615" + "0", + "0" ] }, "expect": { "out": [ - "-4722366482869645213440" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-256,18446744073709551616)", + "id": "add_big_uint_ref_u64(0,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u64", "arguments": [ - "-256", - "+18446744073709551616" + "0", + "1" ] }, "expect": { "out": [ - "-4722366482869645213696" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-256,-1)", + "id": "add_big_uint_ref_u64(0,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u64", "arguments": [ - "-256", - "-1" + "0", + "255" ] }, "expect": { "out": [ - "+256" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int(-256,-256)", + "id": "add_big_uint_ref_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int", + "function": "add_big_uint_ref_u64", "arguments": [ - "-256", - "-256" + "1", + "0" ] }, "expect": { "out": [ - "+65536" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(0,0)", + "id": "add_big_uint_ref_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "0", - "0" + "1", + "1" ] }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(0,1)", + "id": "add_big_uint_ref_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "0", - "+1" + "1", + "255" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(0,255)", + "id": "add_big_uint_ref_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "0", - "+255" + "255", + "0" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(0,18446744073709551615)", + "id": "add_big_uint_ref_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "0", - "+18446744073709551615" + "255", + "1" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(0,18446744073709551616)", + "id": "add_big_uint_ref_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "0", - "+18446744073709551616" + "255", + "255" ] }, "expect": { "out": [ - "0" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(0,-1)", + "id": "add_big_uint_ref_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "0", - "-1" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(0,-256)", + "id": "add_big_uint_ref_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "0", - "-256" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(1,0)", + "id": "add_big_uint_ref_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "+1", - "0" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(1,1)", + "id": "add_big_uint_ref_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "+1", - "+1" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "+1" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(1,255)", + "id": "add_big_uint_ref_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "+1", - "+255" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+255" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(1,18446744073709551615)", + "id": "add_big_uint_ref_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_big_uint_ref_u64", "arguments": [ - "+1", - "+18446744073709551615" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+18446744073709551615" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(1,18446744073709551616)", + "id": "add_non_zero_big_uint_non_zero_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+18446744073709551616" + "1", + "1" ] }, "expect": { "out": [ - "+18446744073709551616" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(1,-1)", + "id": "add_non_zero_big_uint_non_zero_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "-1" + "1", + "255" ] }, "expect": { "out": [ - "-1" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(1,-256)", + "id": "add_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "-256" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "-256" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(255,0)", + "id": "add_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "0" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(255,1)", + "id": "add_non_zero_big_uint_non_zero_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+1" + "255", + "1" ] }, "expect": { "out": [ - "+255" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(255,255)", + "id": "add_non_zero_big_uint_non_zero_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+255" + "255", + "255" ] }, "expect": { "out": [ - "+65025" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(255,18446744073709551615)", + "id": "add_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+18446744073709551615" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "+4703919738795935661825" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(255,18446744073709551616)", + "id": "add_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+18446744073709551616" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "+4703919738795935662080" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(255,-1)", + "id": "add_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "-1" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-255" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(255,-256)", + "id": "add_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "-256" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-65280" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551615,0)", + "id": "add_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551615", - "0" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551615,1)", + "id": "add_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551615", - "+1" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "+18446744073709551615" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551615,255)", + "id": "add_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551615", - "+255" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+4703919738795935661825" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "add_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+340282366920938463426481119284349108225" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "add_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "+340282366920938463444927863358058659840" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551615,-1)", + "id": "add_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551615", - "-1" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551615" + "36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551615,-256)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "-256" + "1", + "1" ] }, "expect": { "out": [ - "-4722366482869645213440" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551616,0)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "0" + "1", + "255" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551616,1)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+1" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "+18446744073709551616" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551616,255)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+255" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "+4703919738795935662080" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "255", + "1" ] }, "expect": { "out": [ - "+340282366920938463444927863358058659840" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "255", + "255" ] }, "expect": { "out": [ - "+340282366920938463463374607431768211456" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551616,-1)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "-1" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551616" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(18446744073709551616,-256)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "-256" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "-4722366482869645213696" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-1,0)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-1", - "0" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-1,1)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-1", - "+1" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-1" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-1,255)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-1", - "+255" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "-255" + "36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-1,18446744073709551615)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-1", - "+18446744073709551615" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551615" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-1,18446744073709551616)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-1", - "+18446744073709551616" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-18446744073709551616" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-1,-1)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-1", - "-1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+1" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-1,-256)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-1", - "-256" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "+256" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-256,0)", + "id": "add_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-256", - "0" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-256,1)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "-256", - "+1" + "1", + "1" ] }, "expect": { "out": [ - "-256" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-256,255)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "-256", - "+255" + "1", + "255" ] }, "expect": { "out": [ - "-65280" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-256,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "-256", - "+18446744073709551615" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "-4722366482869645213440" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-256,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "-256", - "+18446744073709551616" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "-4722366482869645213696" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-256,-1)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "-256", - "-1" + "255", + "1" ] }, "expect": { "out": [ - "+256" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_int_ref(-256,-256)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_int_ref", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "-256", - "-256" + "255", + "255" ] }, "expect": { "out": [ - "+65536" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(0,0)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "0", - "0" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(0,1)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "0", + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", "1" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(0,255)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "0", + "18446744073709551615", "255" ] }, "expect": { "out": [ - "0" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(0,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "0", + "18446744073709551615", "18446744073709551615" ] }, "expect": { "out": [ - "0" + "36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(0,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "0", + "18446744073709551615", "18446744073709551616" ] }, "expect": { "out": [ - "0" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(1,0)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "1", - "0" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(1,1)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "1", - "1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "1" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(1,255)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "1", - "255" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "255" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(1,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint", "arguments": [ - "1", - "18446744073709551615" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551615" + "36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(1,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "1", - "18446744073709551616" + "1" ] }, "expect": { "out": [ - "18446744073709551616" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(255,0)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ - "255", - "0" + "1", + "255" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(255,1)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ - "255", - "1" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "255" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(255,255)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ - "255", - "255" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "65025" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(255,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "255", - "18446744073709551615" + "1" ] }, "expect": { "out": [ - "4703919738795935661825" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(255,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "255", - "18446744073709551616" + "255" ] }, "expect": { "out": [ - "4703919738795935662080" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551615,0)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ - "18446744073709551615", - "0" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551615,1)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ - "18446744073709551615", - "1" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551615,255)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "18446744073709551615", - "255" + "1" ] }, "expect": { "out": [ - "4703919738795935661825" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551615,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "18446744073709551615", - "18446744073709551615" + "255" ] }, "expect": { "out": [ - "340282366920938463426481119284349108225" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551615,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "18446744073709551615", - "18446744073709551616" + "18446744073709551615" ] }, "expect": { "out": [ - "340282366920938463444927863358058659840" + "36893488147419103230" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551616,0)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ - "18446744073709551616", - "0" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551616,1)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "18446744073709551616", "1" @@ -7454,17 +7512,17 @@ }, "expect": { "out": [ - "18446744073709551616" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551616,255)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "18446744073709551616", "255" @@ -7472,17 +7530,17 @@ }, "expect": { "out": [ - "4703919738795935662080" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551616,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -7490,17 +7548,17 @@ }, "expect": { "out": [ - "340282366920938463444927863358058659840" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint(18446744073709551616,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint", + "function": "add_non_zero_big_uint_ref_non_zero_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -7508,182 +7566,182 @@ }, "expect": { "out": [ - "340282366920938463463374607431768211456" + "36893488147419103232" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(0,0)", + "id": "add_non_zero_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "0" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(0,1)", + "id": "add_non_zero_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "1" ] }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(0,255)", + "id": "add_non_zero_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "255" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(0,18446744073709551615)", + "id": "add_non_zero_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "0", - "18446744073709551615" + "255", + "0" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(0,18446744073709551616)", + "id": "add_non_zero_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "0", - "18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(1,0)", + "id": "add_non_zero_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "1", - "0" + "255", + "255" ] }, "expect": { "out": [ - "0" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(1,1)", + "id": "add_non_zero_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "1", - "1" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "1" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(1,255)", + "id": "add_non_zero_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "1", - "255" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "255" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(1,18446744073709551615)", + "id": "add_non_zero_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "1", - "18446744073709551615" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(1,18446744073709551616)", + "id": "add_non_zero_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "1", - "18446744073709551616" + "18446744073709551616", + "0" ] }, "expect": { @@ -7695,211 +7753,211 @@ }, { "step": "scQuery", - "id": "mul_big_uint_ref(255,0)", + "id": "add_non_zero_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "255", - "0" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(255,1)", + "id": "add_non_zero_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u32", "arguments": [ - "255", - "1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "255" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(255,255)", + "id": "add_non_zero_big_uint_ref_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ - "255", - "255" + "1", + "0" ] }, "expect": { "out": [ - "65025" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(255,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ - "255", - "18446744073709551615" + "1", + "1" ] }, "expect": { "out": [ - "4703919738795935661825" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(255,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ - "255", - "18446744073709551616" + "1", + "255" ] }, "expect": { "out": [ - "4703919738795935662080" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551615,0)", + "id": "add_non_zero_big_uint_ref_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ - "18446744073709551615", + "255", "0" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551615,1)", + "id": "add_non_zero_big_uint_ref_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ - "18446744073709551615", + "255", "1" ] }, "expect": { "out": [ - "18446744073709551615" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551615,255)", + "id": "add_non_zero_big_uint_ref_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ - "18446744073709551615", + "255", "255" ] }, "expect": { "out": [ - "4703919738795935661825" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ "18446744073709551615", - "18446744073709551615" + "0" ] }, "expect": { "out": [ - "340282366920938463426481119284349108225" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ "18446744073709551615", - "18446744073709551616" + "1" ] }, "expect": { "out": [ - "340282366920938463444927863358058659840" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551616,0)", + "id": "add_non_zero_big_uint_ref_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ - "18446744073709551616", - "0" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551870" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551616,1)", + "id": "add_non_zero_big_uint_ref_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ "18446744073709551616", - "1" + "0" ] }, "expect": { @@ -7911,720 +7969,768 @@ }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551616,255)", + "id": "add_non_zero_big_uint_ref_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ "18446744073709551616", - "255" + "1" ] }, "expect": { "out": [ - "4703919738795935662080" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_ref_u32", "arguments": [ "18446744073709551616", - "18446744073709551615" + "255" ] }, "expect": { "out": [ - "340282366920938463444927863358058659840" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "add_non_zero_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_big_uint_ref", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "1", + "0" ] }, "expect": { "out": [ - "340282366920938463463374607431768211456" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(0,0)", + "id": "add_non_zero_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "0", - "0" + "1", + "1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "2" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(0,1)", + "id": "add_non_zero_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "0", - "+1" + "1", + "255" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(0,255)", + "id": "add_non_zero_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "0", - "+255" + "255", + "0" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(0,18446744073709551615)", + "id": "add_non_zero_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "0", - "+18446744073709551615" + "255", + "1" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(0,18446744073709551616)", + "id": "add_non_zero_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "0", - "+18446744073709551616" + "255", + "255" ] }, "expect": { "out": [ - "0" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(0,-1)", + "id": "add_non_zero_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "0", - "-1" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(0,-256)", + "id": "add_non_zero_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "0", - "-256" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(1,0)", + "id": "add_non_zero_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "+1", - "0" + "18446744073709551615", + "255" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "18446744073709551870" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(1,1)", + "id": "add_non_zero_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "+1", - "+1" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "+1" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(1,255)", + "id": "add_non_zero_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "+1", - "+255" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(1,18446744073709551615)", + "id": "add_non_zero_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_u64", "arguments": [ - "+1", - "+18446744073709551615" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(1,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+1", - "+18446744073709551616" + "1", + "0" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(1,-1)", + "id": "add_non_zero_big_uint_ref_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+1", - "-1" + "1", + "1" ] }, "expect": { "out": [ - "-1" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(1,-256)", + "id": "add_non_zero_big_uint_ref_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+1", - "-256" + "1", + "255" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(255,0)", + "id": "add_non_zero_big_uint_ref_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+255", + "255", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(255,1)", + "id": "add_non_zero_big_uint_ref_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+255", - "+1" + "255", + "1" ] }, "expect": { "out": [ - "+255" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(255,255)", + "id": "add_non_zero_big_uint_ref_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+255", - "+255" + "255", + "255" ] }, "expect": { "out": [ - "+1" + "510" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(255,18446744073709551615)", + "id": "add_non_zero_big_uint_ref_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(255,18446744073709551616)", + "id": "add_non_zero_big_uint_ref_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+255", - "+18446744073709551616" + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_non_zero_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" ] }, "expect": { "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_non_zero_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(255,-1)", + "id": "add_non_zero_big_uint_ref_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+255", - "-1" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-255" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(255,-256)", + "id": "add_non_zero_big_uint_ref_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "add_non_zero_big_uint_ref_u64", "arguments": [ - "+255", - "-256" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551615,0)", + "id": "sub_big_int_big_int(0,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551615,1)", + "id": "sub_big_int_big_int(0,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "+1" ] }, "expect": { "out": [ - "+18446744073709551615" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551615,255)", + "id": "sub_big_int_big_int(0,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "+255" ] }, "expect": { "out": [ - "+72340172838076673" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551615,18446744073709551615)", + "id": "sub_big_int_big_int(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551615,18446744073709551616)", + "id": "sub_big_int_big_int(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551615,-1)", + "id": "sub_big_int_big_int(0,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "-1" ] }, "expect": { "out": [ - "-18446744073709551615" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551615,-256)", + "id": "sub_big_int_big_int(0,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "-256" ] }, "expect": { "out": [ - "-72057594037927935" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551616,0)", + "id": "sub_big_int_big_int(1,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551616,1)", + "id": "sub_big_int_big_int(1,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "+1" ] }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551616,255)", + "id": "sub_big_int_big_int(1,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "+255" ] }, "expect": { "out": [ - "+72340172838076673" + "-254" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551616,18446744073709551615)", + "id": "sub_big_int_big_int(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "-18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551616,18446744073709551616)", + "id": "sub_big_int_big_int(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551616" ] }, "expect": { "out": [ - "+1" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551616,-1)", + "id": "sub_big_int_big_int(1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "-1" ] }, "expect": { "out": [ - "-18446744073709551616" + "+2" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(18446744073709551616,-256)", + "id": "sub_big_int_big_int(1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "-256" ] }, "expect": { "out": [ - "-72057594037927936" + "+257" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-1,0)", + "id": "sub_big_int_big_int(255,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-1", + "+255", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-1,1)", + "id": "sub_big_int_big_int(255,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-1", + "+255", "+1" ] }, "expect": { "out": [ - "-1" + "+254" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-1,255)", + "id": "sub_big_int_big_int(255,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-1", + "+255", "+255" ] }, @@ -8637,136 +8743,138 @@ }, { "step": "scQuery", - "id": "div_big_int(-1,18446744073709551615)", + "id": "sub_big_int_big_int(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-1", + "+255", "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "-18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-1,18446744073709551616)", + "id": "sub_big_int_big_int(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-1", + "+255", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-1,-1)", + "id": "sub_big_int_big_int(255,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-1", + "+255", "-1" ] }, "expect": { "out": [ - "+1" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-1,-256)", + "id": "sub_big_int_big_int(255,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-1", + "+255", "-256" ] }, "expect": { "out": [ - "0" + "+511" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-256,0)", + "id": "sub_big_int_big_int(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-256,1)", + "id": "sub_big_int_big_int(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "+1" ] }, "expect": { "out": [ - "-256" + "+18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-256,255)", + "id": "sub_big_int_big_int(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "+255" ] }, "expect": { "out": [ - "-1" + "+18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-256,18446744073709551615)", + "id": "sub_big_int_big_int(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551615" ] }, @@ -8779,136 +8887,138 @@ }, { "step": "scQuery", - "id": "div_big_int(-256,18446744073709551616)", + "id": "sub_big_int_big_int(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-256,-1)", + "id": "sub_big_int_big_int(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "-1" ] }, "expect": { "out": [ - "+256" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int(-256,-256)", + "id": "sub_big_int_big_int(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int", + "function": "sub_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "-256" ] }, "expect": { "out": [ - "+1" + "+18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(0,0)", + "id": "sub_big_int_big_int(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(0,1)", + "id": "sub_big_int_big_int(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "+1" ] }, "expect": { "out": [ - "0" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(0,255)", + "id": "sub_big_int_big_int(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "+255" ] }, "expect": { "out": [ - "0" + "+18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(0,18446744073709551615)", + "id": "sub_big_int_big_int(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(0,18446744073709551616)", + "id": "sub_big_int_big_int(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "+18446744073709551616" ] }, @@ -8921,260 +9031,264 @@ }, { "step": "scQuery", - "id": "div_big_int_ref(0,-1)", + "id": "sub_big_int_big_int(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "-1" ] }, "expect": { "out": [ - "0" + "+18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(0,-256)", + "id": "sub_big_int_big_int(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "-256" ] }, "expect": { "out": [ - "0" + "+18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(1,0)", + "id": "sub_big_int_big_int(-1,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+1", + "-1", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(1,1)", + "id": "sub_big_int_big_int(-1,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+1", + "-1", "+1" ] }, "expect": { "out": [ - "+1" + "-2" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(1,255)", + "id": "sub_big_int_big_int(-1,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+1", + "-1", "+255" ] }, "expect": { "out": [ - "0" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(1,18446744073709551615)", + "id": "sub_big_int_big_int(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+1", + "-1", "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(1,18446744073709551616)", + "id": "sub_big_int_big_int(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+1", + "-1", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(1,-1)", + "id": "sub_big_int_big_int(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+1", + "-1", "-1" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(1,-256)", + "id": "sub_big_int_big_int(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+1", + "-1", "-256" ] }, "expect": { "out": [ - "0" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(255,0)", + "id": "sub_big_int_big_int(-256,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+255", + "-256", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-256" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(255,1)", + "id": "sub_big_int_big_int(-256,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+255", + "-256", "+1" ] }, "expect": { "out": [ - "+255" + "-257" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(255,255)", + "id": "sub_big_int_big_int(-256,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+255", + "-256", "+255" ] }, "expect": { "out": [ - "+1" + "-511" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(255,18446744073709551615)", + "id": "sub_big_int_big_int(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+255", + "-256", "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "-18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(255,18446744073709551616)", + "id": "sub_big_int_big_int(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+255", + "-256", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(255,-1)", + "id": "sub_big_int_big_int(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+255", + "-256", "-1" ] }, @@ -9187,12 +9301,12 @@ }, { "step": "scQuery", - "id": "div_big_int_ref(255,-256)", + "id": "sub_big_int_big_int(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int", "arguments": [ - "+255", + "-256", "-256" ] }, @@ -9205,294 +9319,300 @@ }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551615,0)", + "id": "sub_big_int_big_int_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551615,1)", + "id": "sub_big_int_big_int_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+1" ] }, "expect": { "out": [ - "+18446744073709551615" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551615,255)", + "id": "sub_big_int_big_int_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+255" ] }, "expect": { "out": [ - "+72340172838076673" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "sub_big_int_big_int_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "sub_big_int_big_int_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551615,-1)", + "id": "sub_big_int_big_int_ref(0,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "-1" ] }, "expect": { "out": [ - "-18446744073709551615" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551615,-256)", + "id": "sub_big_int_big_int_ref(0,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "-256" ] }, "expect": { "out": [ - "-72057594037927935" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551616,0)", + "id": "sub_big_int_big_int_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551616,1)", + "id": "sub_big_int_big_int_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+1" ] }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551616,255)", + "id": "sub_big_int_big_int_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+255" ] }, "expect": { "out": [ - "+72340172838076673" + "-254" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "sub_big_int_big_int_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "-18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "sub_big_int_big_int_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551616" ] }, "expect": { "out": [ - "+1" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551616,-1)", + "id": "sub_big_int_big_int_ref(1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "-1" ] }, "expect": { "out": [ - "-18446744073709551616" + "+2" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(18446744073709551616,-256)", + "id": "sub_big_int_big_int_ref(1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "-256" ] }, "expect": { "out": [ - "-72057594037927936" + "+257" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-1,0)", + "id": "sub_big_int_big_int_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-1,1)", + "id": "sub_big_int_big_int_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "+1" ] }, "expect": { "out": [ - "-1" + "+254" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-1,255)", + "id": "sub_big_int_big_int_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "+255" ] }, @@ -9505,136 +9625,138 @@ }, { "step": "scQuery", - "id": "div_big_int_ref(-1,18446744073709551615)", + "id": "sub_big_int_big_int_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "-18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-1,18446744073709551616)", + "id": "sub_big_int_big_int_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-1,-1)", + "id": "sub_big_int_big_int_ref(255,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "-1" ] }, "expect": { "out": [ - "+1" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-1,-256)", + "id": "sub_big_int_big_int_ref(255,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "-256" ] }, "expect": { "out": [ - "0" + "+511" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-256,0)", + "id": "sub_big_int_big_int_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-256,1)", + "id": "sub_big_int_big_int_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+1" ] }, "expect": { "out": [ - "-256" + "+18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-256,255)", + "id": "sub_big_int_big_int_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+255" ] }, "expect": { "out": [ - "-1" + "+18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-256,18446744073709551615)", + "id": "sub_big_int_big_int_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551615" ] }, @@ -9647,137 +9769,139 @@ }, { "step": "scQuery", - "id": "div_big_int_ref(-256,18446744073709551616)", + "id": "sub_big_int_big_int_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-256,-1)", + "id": "sub_big_int_big_int_ref(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "-1" ] }, "expect": { "out": [ - "+256" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_int_ref(-256,-256)", + "id": "sub_big_int_big_int_ref(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_int_ref", + "function": "sub_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "-256" ] }, "expect": { "out": [ - "+1" + "+18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(0,0)", + "id": "sub_big_int_big_int_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "0", + "+18446744073709551616", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(0,1)", + "id": "sub_big_int_big_int_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "0", - "1" + "+18446744073709551616", + "+1" ] }, "expect": { "out": [ - "0" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(0,255)", + "id": "sub_big_int_big_int_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "0", - "255" + "+18446744073709551616", + "+255" ] }, "expect": { "out": [ - "0" + "+18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(0,18446744073709551615)", + "id": "sub_big_int_big_int_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "0", - "18446744073709551615" + "+18446744073709551616", + "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(0,18446744073709551616)", + "id": "sub_big_int_big_int_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "0", - "18446744073709551616" + "+18446744073709551616", + "+18446744073709551616" ] }, "expect": { @@ -9789,153 +9913,139 @@ }, { "step": "scQuery", - "id": "div_big_uint(1,0)", + "id": "sub_big_int_big_int_ref(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "1", - "0" + "+18446744073709551616", + "-1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551617" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(1,1)", + "id": "sub_big_int_big_int_ref(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "1", - "1" + "+18446744073709551616", + "-256" ] }, "expect": { "out": [ - "1" + "+18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(1,255)", + "id": "sub_big_int_big_int_ref(-1,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "1", - "255" + "-1", + "0" ] }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(1,18446744073709551615)", + "id": "sub_big_int_big_int_ref(-1,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "1", - "18446744073709551615" + "-1", + "+1" ] }, "expect": { "out": [ - "0" + "-2" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(1,18446744073709551616)", + "id": "sub_big_int_big_int_ref(-1,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "1", - "18446744073709551616" + "-1", + "+255" ] }, "expect": { "out": [ - "0" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(255,0)", - "tx": { - "to": "sc:basic-features", - "function": "div_big_uint", - "arguments": [ - "255", - "0" - ] - }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "div_big_uint(255,1)", + "id": "sub_big_int_big_int_ref(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "255", - "1" + "-1", + "+18446744073709551615" ] }, "expect": { "out": [ - "255" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(255,255)", + "id": "sub_big_int_big_int_ref(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "255", - "255" + "-1", + "+18446744073709551616" ] }, "expect": { "out": [ - "1" + "-18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(255,18446744073709551615)", + "id": "sub_big_int_big_int_ref(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "255", - "18446744073709551615" + "-1", + "-1" ] }, "expect": { @@ -9947,435 +10057,445 @@ }, { "step": "scQuery", - "id": "div_big_uint(255,18446744073709551616)", + "id": "sub_big_int_big_int_ref(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "255", - "18446744073709551616" + "-1", + "-256" ] }, "expect": { "out": [ - "0" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551615,0)", + "id": "sub_big_int_big_int_ref(-256,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "18446744073709551615", + "-256", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-256" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551615,1)", + "id": "sub_big_int_big_int_ref(-256,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "1" + "-256", + "+1" ] }, "expect": { "out": [ - "18446744073709551615" + "-257" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551615,255)", + "id": "sub_big_int_big_int_ref(-256,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "255" + "-256", + "+255" ] }, "expect": { "out": [ - "72340172838076673" + "-511" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551615,18446744073709551615)", + "id": "sub_big_int_big_int_ref(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "18446744073709551615" + "-256", + "+18446744073709551615" ] }, "expect": { "out": [ - "1" + "-18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551615,18446744073709551616)", + "id": "sub_big_int_big_int_ref(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "18446744073709551616" + "-256", + "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551616,0)", + "id": "sub_big_int_big_int_ref(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "18446744073709551616", - "0" + "-256", + "-1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551616,1)", + "id": "sub_big_int_big_int_ref(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_big_int_ref", "arguments": [ - "18446744073709551616", - "1" + "-256", + "-256" ] }, "expect": { "out": [ - "18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551616,255)", + "id": "sub_big_int_ref_big_int(0,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "255" + "0", + "0" ] }, "expect": { "out": [ - "72340172838076673" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551616,18446744073709551615)", + "id": "sub_big_int_ref_big_int(0,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "18446744073709551615" + "0", + "+1" ] }, "expect": { "out": [ - "1" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint(18446744073709551616,18446744073709551616)", + "id": "sub_big_int_ref_big_int(0,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "0", + "+255" ] }, "expect": { "out": [ - "1" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(0,0)", + "id": "sub_big_int_ref_big_int(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ "0", - "0" + "+18446744073709551615" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(0,1)", + "id": "sub_big_int_ref_big_int(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ "0", - "1" + "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(0,255)", + "id": "sub_big_int_ref_big_int(0,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ "0", - "255" + "-1" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(0,18446744073709551615)", + "id": "sub_big_int_ref_big_int(0,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ "0", - "18446744073709551615" + "-256" ] }, "expect": { "out": [ - "0" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(0,18446744073709551616)", + "id": "sub_big_int_ref_big_int(1,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "0", - "18446744073709551616" + "+1", + "0" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(1,0)", + "id": "sub_big_int_ref_big_int(1,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "1", - "0" + "+1", + "+1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(1,1)", + "id": "sub_big_int_ref_big_int(1,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "1", - "1" + "+1", + "+255" ] }, "expect": { "out": [ - "1" + "-254" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(1,255)", + "id": "sub_big_int_ref_big_int(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "1", - "255" + "+1", + "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "-18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(1,18446744073709551615)", + "id": "sub_big_int_ref_big_int(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "1", - "18446744073709551615" + "+1", + "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(1,18446744073709551616)", + "id": "sub_big_int_ref_big_int(1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "1", - "18446744073709551616" + "+1", + "-1" ] }, "expect": { "out": [ - "0" + "+2" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(255,0)", + "id": "sub_big_int_ref_big_int(1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "255", - "0" + "+1", + "-256" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+257" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(255,1)", + "id": "sub_big_int_ref_big_int(255,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "255", - "1" + "+255", + "0" ] }, "expect": { "out": [ - "255" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(255,255)", + "id": "sub_big_int_ref_big_int(255,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "255", - "255" + "+255", + "+1" ] }, "expect": { "out": [ - "1" + "+254" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(255,18446744073709551615)", + "id": "sub_big_int_ref_big_int(255,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "255", - "18446744073709551615" + "+255", + "+255" ] }, "expect": { @@ -10387,276 +10507,282 @@ }, { "step": "scQuery", - "id": "div_big_uint_ref(255,18446744073709551616)", + "id": "sub_big_int_ref_big_int(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "255", - "18446744073709551616" + "+255", + "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "-18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551615,0)", + "id": "sub_big_int_ref_big_int(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "0" + "+255", + "+18446744073709551616" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-18446744073709551361" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551615,1)", + "id": "sub_big_int_ref_big_int(255,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "1" + "+255", + "-1" ] }, "expect": { "out": [ - "18446744073709551615" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551615,255)", + "id": "sub_big_int_ref_big_int(255,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "255" + "+255", + "-256" ] }, "expect": { "out": [ - "72340172838076673" + "+511" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "sub_big_int_ref_big_int(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "18446744073709551615" + "+18446744073709551615", + "0" ] }, "expect": { "out": [ - "1" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "sub_big_int_ref_big_int(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551615", - "18446744073709551616" + "+18446744073709551615", + "+1" ] }, "expect": { "out": [ - "0" + "+18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551616,0)", + "id": "sub_big_int_ref_big_int(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "0" + "+18446744073709551615", + "+255" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551360" + ], + "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551616,1)", + "id": "sub_big_int_ref_big_int(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "1" + "+18446744073709551615", + "+18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551616,255)", + "id": "sub_big_int_ref_big_int(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "255" + "+18446744073709551615", + "+18446744073709551616" ] }, "expect": { "out": [ - "72340172838076673" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "sub_big_int_ref_big_int(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "18446744073709551615" + "+18446744073709551615", + "-1" ] }, "expect": { "out": [ - "1" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "div_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "sub_big_int_ref_big_int(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "div_big_uint_ref", + "function": "sub_big_int_ref_big_int", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "+18446744073709551615", + "-256" ] }, "expect": { "out": [ - "1" + "+18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(0,0)", + "id": "sub_big_int_ref_big_int(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "0", + "+18446744073709551616", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(0,1)", + "id": "sub_big_int_ref_big_int(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "0", + "+18446744073709551616", "+1" ] }, "expect": { "out": [ - "0" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(0,255)", + "id": "sub_big_int_ref_big_int(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "0", + "+18446744073709551616", "+255" ] }, "expect": { "out": [ - "0" + "+18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(0,18446744073709551615)", + "id": "sub_big_int_ref_big_int(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "0", + "+18446744073709551616", "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(0,18446744073709551616)", + "id": "sub_big_int_ref_big_int(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "0", + "+18446744073709551616", "+18446744073709551616" ] }, @@ -10669,136 +10795,138 @@ }, { "step": "scQuery", - "id": "rem_big_int(0,-1)", + "id": "sub_big_int_ref_big_int(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "0", + "+18446744073709551616", "-1" ] }, "expect": { "out": [ - "0" + "+18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(0,-256)", + "id": "sub_big_int_ref_big_int(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "0", + "+18446744073709551616", "-256" ] }, "expect": { "out": [ - "0" + "+18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(1,0)", + "id": "sub_big_int_ref_big_int(-1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+1", + "-1", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(1,1)", + "id": "sub_big_int_ref_big_int(-1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+1", + "-1", "+1" ] }, "expect": { "out": [ - "0" + "-2" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(1,255)", + "id": "sub_big_int_ref_big_int(-1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+1", + "-1", "+255" ] }, "expect": { "out": [ - "+1" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(1,18446744073709551615)", + "id": "sub_big_int_ref_big_int(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+1", + "-1", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(1,18446744073709551616)", + "id": "sub_big_int_ref_big_int(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+1", + "-1", "+18446744073709551616" ] }, "expect": { "out": [ - "+1" + "-18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(1,-1)", + "id": "sub_big_int_ref_big_int(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+1", + "-1", "-1" ] }, @@ -10811,294 +10939,300 @@ }, { "step": "scQuery", - "id": "rem_big_int(1,-256)", + "id": "sub_big_int_ref_big_int(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+1", + "-1", "-256" ] }, "expect": { "out": [ - "+1" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(255,0)", + "id": "sub_big_int_ref_big_int(-256,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+255", + "-256", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-256" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(255,1)", + "id": "sub_big_int_ref_big_int(-256,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+255", + "-256", "+1" ] }, "expect": { "out": [ - "0" + "-257" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(255,255)", + "id": "sub_big_int_ref_big_int(-256,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+255", + "-256", "+255" ] }, "expect": { "out": [ - "0" + "-511" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(255,18446744073709551615)", + "id": "sub_big_int_ref_big_int(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+255", + "-256", "+18446744073709551615" ] }, "expect": { "out": [ - "+255" + "-18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(255,18446744073709551616)", + "id": "sub_big_int_ref_big_int(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+255", + "-256", "+18446744073709551616" ] }, "expect": { "out": [ - "+255" + "-18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(255,-1)", + "id": "sub_big_int_ref_big_int(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+255", + "-256", "-1" ] }, "expect": { "out": [ - "0" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(255,-256)", + "id": "sub_big_int_ref_big_int(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int", "arguments": [ - "+255", + "-256", "-256" ] }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551615,0)", + "id": "sub_big_int_ref_big_int_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551615,1)", + "id": "sub_big_int_ref_big_int_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+1" ] }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551615,255)", + "id": "sub_big_int_ref_big_int_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+255" ] }, "expect": { "out": [ - "0" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551615,18446744073709551615)", + "id": "sub_big_int_ref_big_int_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551615,18446744073709551616)", + "id": "sub_big_int_ref_big_int_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551616" ] }, "expect": { "out": [ - "+18446744073709551615" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551615,-1)", + "id": "sub_big_int_ref_big_int_ref(0,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "-1" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551615,-256)", + "id": "sub_big_int_ref_big_int_ref(0,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "-256" ] }, "expect": { "out": [ - "+255" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551616,0)", + "id": "sub_big_int_ref_big_int_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551616,1)", + "id": "sub_big_int_ref_big_int_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+1" ] }, @@ -11111,420 +11245,426 @@ }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551616,255)", + "id": "sub_big_int_ref_big_int_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+255" ] }, "expect": { "out": [ - "+1" + "-254" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551616,18446744073709551615)", + "id": "sub_big_int_ref_big_int_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "-18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551616,18446744073709551616)", + "id": "sub_big_int_ref_big_int_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551616,-1)", + "id": "sub_big_int_ref_big_int_ref(1,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "-1" ] }, "expect": { "out": [ - "0" + "+2" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(18446744073709551616,-256)", + "id": "sub_big_int_ref_big_int_ref(1,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "-256" ] }, "expect": { "out": [ - "0" + "+257" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-1,0)", + "id": "sub_big_int_ref_big_int_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-1", + "+255", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-1,1)", + "id": "sub_big_int_ref_big_int_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-1", + "+255", "+1" ] }, "expect": { "out": [ - "0" + "+254" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-1,255)", + "id": "sub_big_int_ref_big_int_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-1", + "+255", "+255" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-1,18446744073709551615)", + "id": "sub_big_int_ref_big_int_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-1", + "+255", "+18446744073709551615" ] }, "expect": { "out": [ - "-1" + "-18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-1,18446744073709551616)", + "id": "sub_big_int_ref_big_int_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-1", + "+255", "+18446744073709551616" ] }, "expect": { "out": [ - "-1" + "-18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-1,-1)", + "id": "sub_big_int_ref_big_int_ref(255,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-1", + "+255", "-1" ] }, "expect": { "out": [ - "0" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-1,-256)", + "id": "sub_big_int_ref_big_int_ref(255,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-1", + "+255", "-256" ] }, "expect": { "out": [ - "-1" + "+511" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-256,0)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-256,1)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+1" ] }, "expect": { "out": [ - "0" + "+18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-256,255)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+255" ] }, "expect": { "out": [ - "-1" + "+18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-256,18446744073709551615)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551615" ] }, "expect": { "out": [ - "-256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-256,18446744073709551616)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551616" ] }, "expect": { "out": [ - "-256" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-256,-1)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "-1" ] }, "expect": { "out": [ - "0" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int(-256,-256)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "-256" ] }, "expect": { "out": [ - "0" + "+18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(0,0)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "0", + "+18446744073709551616", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "+18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(0,1)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "0", + "+18446744073709551616", "+1" ] }, "expect": { "out": [ - "0" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(0,255)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "0", + "+18446744073709551616", "+255" ] }, "expect": { "out": [ - "0" + "+18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(0,18446744073709551615)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "0", + "+18446744073709551616", "+18446744073709551615" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(0,18446744073709551616)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "0", + "+18446744073709551616", "+18446744073709551616" ] }, @@ -11537,136 +11677,138 @@ }, { "step": "scQuery", - "id": "rem_big_int_ref(0,-1)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "0", + "+18446744073709551616", "-1" ] }, "expect": { "out": [ - "0" + "+18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(0,-256)", + "id": "sub_big_int_ref_big_int_ref(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "0", + "+18446744073709551616", "-256" ] }, "expect": { "out": [ - "0" + "+18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(1,0)", + "id": "sub_big_int_ref_big_int_ref(-1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+1", + "-1", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(1,1)", + "id": "sub_big_int_ref_big_int_ref(-1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+1", + "-1", "+1" ] }, "expect": { "out": [ - "0" + "-2" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(1,255)", + "id": "sub_big_int_ref_big_int_ref(-1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+1", + "-1", "+255" ] }, "expect": { "out": [ - "+1" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(1,18446744073709551615)", + "id": "sub_big_int_ref_big_int_ref(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+1", + "-1", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(1,18446744073709551616)", + "id": "sub_big_int_ref_big_int_ref(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+1", + "-1", "+18446744073709551616" ] }, "expect": { "out": [ - "+1" + "-18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(1,-1)", + "id": "sub_big_int_ref_big_int_ref(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+1", + "-1", "-1" ] }, @@ -11679,173 +11821,159 @@ }, { "step": "scQuery", - "id": "rem_big_int_ref(1,-256)", + "id": "sub_big_int_ref_big_int_ref(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+1", + "-1", "-256" ] }, "expect": { "out": [ - "+1" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(255,0)", + "id": "sub_big_int_ref_big_int_ref(-256,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+255", + "-256", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "-256" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(255,1)", + "id": "sub_big_int_ref_big_int_ref(-256,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+255", + "-256", "+1" ] }, "expect": { "out": [ - "0" + "-257" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(255,255)", + "id": "sub_big_int_ref_big_int_ref(-256,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+255", + "-256", "+255" ] }, "expect": { "out": [ - "0" + "-511" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(255,18446744073709551615)", + "id": "sub_big_int_ref_big_int_ref(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+255", + "-256", "+18446744073709551615" ] }, "expect": { "out": [ - "+255" + "-18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(255,18446744073709551616)", + "id": "sub_big_int_ref_big_int_ref(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+255", + "-256", "+18446744073709551616" ] }, "expect": { "out": [ - "+255" + "-18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(255,-1)", + "id": "sub_big_int_ref_big_int_ref(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+255", + "-256", "-1" ] }, "expect": { "out": [ - "0" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(255,-256)", + "id": "sub_big_int_ref_big_int_ref(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_int_ref_big_int_ref", "arguments": [ - "+255", + "-256", "-256" ] }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551615,0)", + "id": "sub_big_uint_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551615", + "0", "0" ] }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551615,1)", - "tx": { - "to": "sc:basic-features", - "function": "rem_big_int_ref", - "arguments": [ - "+18446744073709551615", - "+1" - ] - }, "expect": { "out": [ "0" @@ -11855,209 +11983,197 @@ }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551615,255)", + "id": "sub_big_uint_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551615", - "+255" + "0", + "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "sub_big_uint_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "0", + "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "sub_big_uint_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "0", + "18446744073709551615" ] }, "expect": { - "out": [ - "+18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551615,-1)", + "id": "sub_big_uint_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551615", - "-1" + "0", + "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551615,-256)", + "id": "sub_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551615", - "-256" + "1", + "0" ] }, "expect": { "out": [ - "+255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551616,0)", + "id": "sub_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551616", - "0" + "1", + "1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551616,1)", + "id": "sub_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551616", - "+1" + "1", + "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551616,255)", + "id": "sub_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551616", - "+255" + "1", + "18446744073709551615" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "sub_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "1", + "18446744073709551616" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "sub_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "255", + "0" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551616,-1)", + "id": "sub_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551616", - "-1" + "255", + "1" ] }, "expect": { "out": [ - "0" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(18446744073709551616,-256)", + "id": "sub_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "+18446744073709551616", - "-256" + "255", + "255" ] }, "expect": { @@ -12069,101 +12185,99 @@ }, { "step": "scQuery", - "id": "rem_big_int_ref(-1,0)", + "id": "sub_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-1", - "0" + "255", + "18446744073709551615" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-1,1)", + "id": "sub_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-1", - "+1" + "255", + "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-1,255)", + "id": "sub_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-1", - "+255" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "-1" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-1,18446744073709551615)", + "id": "sub_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-1", - "+18446744073709551615" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-1" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-1,18446744073709551616)", + "id": "sub_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-1", - "+18446744073709551616" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-1" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-1,-1)", + "id": "sub_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-1", - "-1" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { @@ -12175,119 +12289,101 @@ }, { "step": "scQuery", - "id": "rem_big_int_ref(-1,-256)", + "id": "sub_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-1", - "-256" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { - "out": [ - "-1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-256,0)", + "id": "sub_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-256", + "18446744073709551616", "0" ] }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "rem_big_int_ref(-256,1)", - "tx": { - "to": "sc:basic-features", - "function": "rem_big_int_ref", - "arguments": [ - "-256", - "+1" - ] - }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-256,255)", + "id": "sub_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-256", - "+255" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-1" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-256,18446744073709551615)", + "id": "sub_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-256", - "+18446744073709551615" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "-256" + "18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-256,18446744073709551616)", + "id": "sub_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-256", - "+18446744073709551616" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "-256" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_int_ref(-256,-1)", + "id": "sub_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint", "arguments": [ - "-256", - "-1" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { @@ -12299,13 +12395,13 @@ }, { "step": "scQuery", - "id": "rem_big_int_ref(-256,-256)", + "id": "sub_big_uint_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_int_ref", + "function": "sub_big_uint_big_uint_ref", "arguments": [ - "-256", - "-256" + "0", + "0" ] }, "expect": { @@ -12317,114 +12413,92 @@ }, { "step": "scQuery", - "id": "rem_big_uint(0,0)", - "tx": { - "to": "sc:basic-features", - "function": "rem_big_uint", - "arguments": [ - "0", - "0" - ] - }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "rem_big_uint(0,1)", + "id": "sub_big_uint_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "0", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(0,255)", + "id": "sub_big_uint_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "0", "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(0,18446744073709551615)", + "id": "sub_big_uint_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "0", "18446744073709551615" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(0,18446744073709551616)", + "id": "sub_big_uint_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "0", "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(1,0)", + "id": "sub_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "1", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(1,1)", + "id": "sub_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "1", "1" @@ -12439,80 +12513,76 @@ }, { "step": "scQuery", - "id": "rem_big_uint(1,255)", + "id": "sub_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "1", "255" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(1,18446744073709551615)", + "id": "sub_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551615" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(1,18446744073709551616)", + "id": "sub_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551616" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(255,0)", + "id": "sub_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "255", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(255,1)", + "id": "sub_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "255", "1" @@ -12520,17 +12590,17 @@ }, "expect": { "out": [ - "0" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(255,255)", + "id": "sub_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "255", "255" @@ -12545,62 +12615,60 @@ }, { "step": "scQuery", - "id": "rem_big_uint(255,18446744073709551615)", + "id": "sub_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551615" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(255,18446744073709551616)", + "id": "sub_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551616" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551615,0)", + "id": "sub_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551615,1)", + "id": "sub_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "1" @@ -12608,17 +12676,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551615,255)", + "id": "sub_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "255" @@ -12626,17 +12694,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551615,18446744073709551615)", + "id": "sub_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -12651,44 +12719,44 @@ }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551615,18446744073709551616)", + "id": "sub_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551616" ] }, "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551616,0)", + "id": "sub_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551616,1)", + "id": "sub_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "1" @@ -12696,17 +12764,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551616,255)", + "id": "sub_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "255" @@ -12714,17 +12782,17 @@ }, "expect": { "out": [ - "1" + "18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551616,18446744073709551615)", + "id": "sub_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -12739,10 +12807,10 @@ }, { "step": "scQuery", - "id": "rem_big_uint(18446744073709551616,18446744073709551616)", + "id": "sub_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint", + "function": "sub_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -12757,114 +12825,110 @@ }, { "step": "scQuery", - "id": "rem_big_uint_ref(0,0)", + "id": "sub_big_uint_ref_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "0", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(0,1)", + "id": "sub_big_uint_ref_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "0", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(0,255)", + "id": "sub_big_uint_ref_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "0", "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(0,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "0", "18446744073709551615" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(0,18446744073709551616)", + "id": "sub_big_uint_ref_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "0", "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(1,0)", + "id": "sub_big_uint_ref_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "1", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(1,1)", + "id": "sub_big_uint_ref_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "1", "1" @@ -12879,80 +12943,76 @@ }, { "step": "scQuery", - "id": "rem_big_uint_ref(1,255)", + "id": "sub_big_uint_ref_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "1", "255" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(1,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "1", "18446744073709551615" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(1,18446744073709551616)", + "id": "sub_big_uint_ref_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "1", "18446744073709551616" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(255,0)", + "id": "sub_big_uint_ref_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "255", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(255,1)", + "id": "sub_big_uint_ref_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "255", "1" @@ -12960,17 +13020,17 @@ }, "expect": { "out": [ - "0" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(255,255)", + "id": "sub_big_uint_ref_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "255", "255" @@ -12985,62 +13045,60 @@ }, { "step": "scQuery", - "id": "rem_big_uint_ref(255,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "255", "18446744073709551615" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(255,18446744073709551616)", + "id": "sub_big_uint_ref_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "255", "18446744073709551616" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551615,0)", + "id": "sub_big_uint_ref_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551615,1)", + "id": "sub_big_uint_ref_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "1" @@ -13048,17 +13106,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551615,255)", + "id": "sub_big_uint_ref_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "255" @@ -13066,17 +13124,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -13091,44 +13149,44 @@ }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "sub_big_uint_ref_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "18446744073709551616" ] }, "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551616,0)", + "id": "sub_big_uint_ref_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "0" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551616,1)", + "id": "sub_big_uint_ref_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "1" @@ -13136,17 +13194,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551616,255)", + "id": "sub_big_uint_ref_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "255" @@ -13154,17 +13212,17 @@ }, "expect": { "out": [ - "1" + "18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -13179,10 +13237,10 @@ }, { "step": "scQuery", - "id": "rem_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "sub_big_uint_ref_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_big_uint_ref", + "function": "sub_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -13197,10 +13255,10 @@ }, { "step": "scQuery", - "id": "add_assign_big_int(0,0)", + "id": "sub_big_uint_ref_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ "0", "0" @@ -13215,211 +13273,197 @@ }, { "step": "scQuery", - "id": "add_assign_big_int(0,1)", + "id": "sub_big_uint_ref_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ "0", - "+1" + "1" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(0,255)", + "id": "sub_big_uint_ref_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ "0", - "+255" + "255" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(0,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ "0", - "+18446744073709551615" + "18446744073709551615" ] }, "expect": { - "out": [ - "+18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(0,18446744073709551616)", + "id": "sub_big_uint_ref_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ "0", - "+18446744073709551616" + "18446744073709551616" ] }, "expect": { - "out": [ - "+18446744073709551616" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(0,-1)", + "id": "sub_big_uint_ref_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "0", - "-1" + "1", + "0" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(0,-256)", + "id": "sub_big_uint_ref_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "0", - "-256" + "1", + "1" ] }, "expect": { "out": [ - "-256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(1,0)", + "id": "sub_big_uint_ref_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+1", - "0" + "1", + "255" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(1,1)", + "id": "sub_big_uint_ref_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+1", - "+1" + "1", + "18446744073709551615" ] }, "expect": { - "out": [ - "+2" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(1,255)", + "id": "sub_big_uint_ref_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+1", - "+255" + "1", + "18446744073709551616" ] }, "expect": { - "out": [ - "+256" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(1,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+1", - "+18446744073709551615" + "255", + "0" ] }, "expect": { "out": [ - "+18446744073709551616" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(1,18446744073709551616)", + "id": "sub_big_uint_ref_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+1", - "+18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "+18446744073709551617" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(1,-1)", + "id": "sub_big_uint_ref_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+1", - "-1" + "255", + "255" ] }, "expect": { @@ -13431,877 +13475,40473 @@ }, { "step": "scQuery", - "id": "add_assign_big_int(1,-256)", + "id": "sub_big_uint_ref_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+1", - "-256" + "255", + "18446744073709551615" ] }, "expect": { - "out": [ - "-255" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(255,0)", + "id": "sub_big_uint_ref_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+255", - "0" + "255", + "18446744073709551616" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(255,1)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+255", - "+1" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "+256" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(255,255)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+255", - "+255" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+510" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(255,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+18446744073709551870" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(255,18446744073709551616)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+255", - "+18446744073709551616" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "+18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(255,-1)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+255", - "-1" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { - "out": [ - "+254" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(255,-256)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+255", - "-256" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "-1" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551615,0)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+18446744073709551615", - "0" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+18446744073709551615" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551615,1)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+18446744073709551616" + "18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551615,255)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+255" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "+18446744073709551870" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551615,18446744073709551615)", + "id": "sub_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "+36893488147419103230" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551615,18446744073709551616)", + "id": "sub_big_uint_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "0", + "0" ] }, "expect": { "out": [ - "+36893488147419103231" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551615,-1)", + "id": "sub_big_uint_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551615", - "-1" + "0", + "1" ] }, "expect": { - "out": [ - "+18446744073709551614" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551615,-256)", + "id": "sub_big_uint_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551615", - "-256" + "0", + "255" ] }, "expect": { - "out": [ - "+18446744073709551359" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551616,0)", + "id": "sub_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551616", + "1", "0" ] }, "expect": { "out": [ - "+18446744073709551616" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551616,1)", + "id": "sub_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+1" + "1", + "1" ] }, "expect": { "out": [ - "+18446744073709551617" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551616,255)", + "id": "sub_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+255" + "1", + "255" ] }, "expect": { - "out": [ - "+18446744073709551871" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551616,18446744073709551615)", + "id": "sub_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "255", + "0" ] }, "expect": { "out": [ - "+36893488147419103231" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551616,18446744073709551616)", + "id": "sub_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "+36893488147419103232" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551616,-1)", + "id": "sub_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551616", - "-1" + "255", + "255" ] }, "expect": { "out": [ - "+18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(18446744073709551616,-256)", + "id": "sub_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "+18446744073709551616", - "-256" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "+18446744073709551360" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-1,0)", + "id": "sub_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "-1", - "0" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-1" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-1,1)", + "id": "sub_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "-1", - "+1" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-1,255)", + "id": "sub_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "-1", - "+255" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "+254" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-1,18446744073709551615)", + "id": "sub_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "-1", - "+18446744073709551615" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+18446744073709551614" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-1,18446744073709551616)", + "id": "sub_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_u32", "arguments": [ - "-1", - "+18446744073709551616" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+18446744073709551615" + "18446744073709551361" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-1,-1)", + "id": "sub_big_uint_ref_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-1", - "-1" + "0", + "0" ] }, "expect": { "out": [ - "-2" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-1,-256)", + "id": "sub_big_uint_ref_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-1", - "-256" + "0", + "1" ] }, "expect": { - "out": [ - "-257" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(-256,0)", + "id": "sub_big_uint_ref_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-256", - "0" + "0", + "255" ] }, "expect": { - "out": [ - "-256" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(-256,1)", + "id": "sub_big_uint_ref_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-256", - "+1" + "1", + "0" ] }, "expect": { "out": [ - "-255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-256,255)", + "id": "sub_big_uint_ref_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-256", - "+255" + "1", + "1" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-256,18446744073709551615)", + "id": "sub_big_uint_ref_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-256", - "+18446744073709551615" + "1", + "255" ] }, "expect": { - "out": [ - "+18446744073709551359" - ], - "status": "0" + "status": "4", + "message": "str:cannot subtract because result would be negative" } }, { "step": "scQuery", - "id": "add_assign_big_int(-256,18446744073709551616)", + "id": "sub_big_uint_ref_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-256", - "+18446744073709551616" + "255", + "0" ] }, "expect": { "out": [ - "+18446744073709551360" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-256,-1)", + "id": "sub_big_uint_ref_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-256", - "-1" + "255", + "1" ] }, "expect": { "out": [ - "-257" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int(-256,-256)", + "id": "sub_big_uint_ref_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int", + "function": "sub_big_uint_ref_u32", "arguments": [ - "-256", - "-256" + "255", + "255" ] }, "expect": { "out": [ - "-512" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(0,0)", + "id": "sub_big_uint_ref_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "sub_big_uint_ref_u32", "arguments": [ - "0", + "18446744073709551615", "0" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(0,1)", + "id": "sub_big_uint_ref_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "sub_big_uint_ref_u32", "arguments": [ - "0", - "+1" + "18446744073709551615", + "1" ] }, "expect": { "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_non_zero_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+65536" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+65536" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+65536" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_int_ref_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+65536" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_non_zero_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-72057594037927935" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-72057594037927936" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-72057594037927935" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-72057594037927936" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-72057594037927935" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-72057594037927936" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-72057594037927935" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-72057594037927936" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_int_ref_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "div_non_zero_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "div_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "72340172838076673" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_int_ref_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_int_ref_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_non_zero_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "rem_non_zero_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "+254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+36893488147419103230" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "+18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "+18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+36893488147419103232" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "+18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "+254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "-2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "-257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "-257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "-512" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "+254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+36893488147419103230" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "+18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "+18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+36893488147419103232" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "+18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "+254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "-2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "-257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "-257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_int_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "-512" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103230" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103232" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103230" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103232" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103230" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103232" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103230" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103232" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103230" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103232" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103230" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103232" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "510" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551870" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "add_assign_non_zero_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "add_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "-254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "+2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "+257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "+511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "+18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "+18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "+18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "-254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "+2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "+257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "+511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "+18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "+18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "+18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_int_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:cannot subtract because result would be negative" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "sub_assign_non_zero_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "sub_assign_non_zero_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551361" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-256", + "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+65536" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "0", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(0,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "0", + "-256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+255" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+1", + "-256" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+1" + ] + }, + "expect": { + "out": [ + "+255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+255" + ] + }, + "expect": { + "out": [ + "+65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(255,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "-1" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(255,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+255", + "-256" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551615,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551615,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551615", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+1" + ] + }, + "expect": { + "out": [ + "+18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+255" + ] + }, + "expect": { + "out": [ + "+4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "+340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "+340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551616,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-1" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(18446744073709551616,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "+18446744073709551616", + "-256" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "-1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+255" + ] + }, + "expect": { + "out": [ + "-255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "+1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-1,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-1", + "-256" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-256,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-256,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-256", "+1" + ] + }, + "expect": { + "out": [ + "-256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-256,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+255" + ] + }, + "expect": { + "out": [ + "-65280" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551615" + ] + }, + "expect": { + "out": [ + "-4722366482869645213440" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "+18446744073709551616" + ] + }, + "expect": { + "out": [ + "-4722366482869645213696" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-256,-1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "-1" + ] + }, + "expect": { + "out": [ + "+256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_int_big_int_ref(-256,-256)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_int_big_int_ref", + "arguments": [ + "-256", + "-256" + ] + }, + "expect": { + "out": [ + "+65536" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463426481119284349108225" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(0,255)", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_big_uint_ref", "arguments": [ - "0", - "+255" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "+255" + "340282366920938463444927863358058659840" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(0,18446744073709551615)", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_big_uint_ref", "arguments": [ - "0", - "+18446744073709551615" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "+18446744073709551615" + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935662080" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(0,18446744073709551616)", + "id": "mul_assign_big_uint_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ "0", - "+18446744073709551616" + "0" ] }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(0,-1)", + "id": "mul_assign_big_uint_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ "0", - "-1" + "1" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(0,-256)", + "id": "mul_assign_big_uint_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ "0", - "-256" + "255" ] }, "expect": { "out": [ - "-256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(1,0)", + "id": "mul_assign_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+1", + "1", "0" ] }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(1,1)", + "id": "mul_assign_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+1", - "+1" + "1", + "1" ] }, "expect": { "out": [ - "+2" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(1,255)", + "id": "mul_assign_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+1", - "+255" + "1", + "255" ] }, "expect": { "out": [ - "+256" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(1,18446744073709551615)", + "id": "mul_assign_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+1", - "+18446744073709551615" + "255", + "0" ] }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(1,18446744073709551616)", + "id": "mul_assign_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+1", - "+18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "+18446744073709551617" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(1,-1)", + "id": "mul_assign_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+1", - "-1" + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" ] }, "expect": { @@ -14313,766 +53953,962 @@ }, { "step": "scQuery", - "id": "add_assign_big_int_ref(1,-256)", + "id": "mul_assign_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+1", - "-256" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-255" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(255,0)", + "id": "mul_assign_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+255", - "0" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+255" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(255,1)", + "id": "mul_assign_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+255", - "+1" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "+256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(255,255)", + "id": "mul_assign_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+255", - "+255" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+510" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(255,18446744073709551615)", + "id": "mul_assign_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u32", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+18446744073709551870" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(255,18446744073709551616)", + "id": "mul_assign_big_uint_u64(0,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+255", - "+18446744073709551616" + "0", + "0" ] }, "expect": { "out": [ - "+18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(255,-1)", + "id": "mul_assign_big_uint_u64(0,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+255", - "-1" + "0", + "1" ] }, "expect": { "out": [ - "+254" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(255,-256)", + "id": "mul_assign_big_uint_u64(0,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+255", - "-256" + "0", + "255" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551615,0)", + "id": "mul_assign_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551615", + "1", "0" ] }, "expect": { "out": [ - "+18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551615,1)", + "id": "mul_assign_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551615", - "+1" + "1", + "1" ] }, "expect": { "out": [ - "+18446744073709551616" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551615,255)", + "id": "mul_assign_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551615", - "+255" + "1", + "255" ] }, "expect": { "out": [ - "+18446744073709551870" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "mul_assign_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "255", + "0" ] }, "expect": { "out": [ - "+36893488147419103230" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "mul_assign_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "+36893488147419103231" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551615,-1)", + "id": "mul_assign_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551615", - "-1" + "255", + "255" ] }, "expect": { "out": [ - "+18446744073709551614" + "65025" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551615,-256)", + "id": "mul_assign_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551615", - "-256" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "+18446744073709551359" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551616,0)", + "id": "mul_assign_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551616", + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_big_uint_u64", + "arguments": [ + "18446744073709551616", "0" ] }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551616,1)", + "id": "mul_assign_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551616", - "+1" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+18446744073709551617" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551616,255)", + "id": "mul_assign_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_big_uint_u64", "arguments": [ - "+18446744073709551616", - "+255" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+18446744073709551871" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "1", + "1" ] }, "expect": { "out": [ - "+36893488147419103231" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "1", + "255" ] }, "expect": { "out": [ - "+36893488147419103232" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551616,-1)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551616", - "-1" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "+18446744073709551615" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(18446744073709551616,-256)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+18446744073709551616", - "-256" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "+18446744073709551360" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-1,0)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-1", - "0" + "255", + "1" ] }, "expect": { "out": [ - "-1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-1,1)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-1", - "+1" + "255", + "255" ] }, "expect": { "out": [ - "0" + "65025" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-1,255)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-1", - "+255" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "+254" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-1,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-1", - "+18446744073709551615" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "+18446744073709551614" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-1,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-1", - "+18446744073709551616" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+18446744073709551615" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-1,-1)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-1", - "-1" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-2" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-1,-256)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-1", - "-256" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "-257" + "340282366920938463426481119284349108225" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-256,0)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-256", - "0" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "-256" + "340282366920938463444927863358058659840" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-256,1)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-256", - "+1" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-255" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-256,255)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-256", - "+255" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "-1" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-256,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "-256", - "+18446744073709551615" + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "340282366920938463444927863358058659840" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "340282366920938463463374607431768211456" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "65025" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "4703919738795935661825" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "+18446744073709551359" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-256,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-256", - "+18446744073709551616" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+18446744073709551360" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-256,-1)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-256", - "-1" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-257" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_int_ref(-256,-256)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_int_ref", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "-256", - "-256" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "-512" + "340282366920938463426481119284349108225" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(0,0)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "0", - "0" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "340282366920938463444927863358058659840" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(0,1)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "0", + "18446744073709551616", "1" ] }, "expect": { "out": [ - "1" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(0,255)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "0", + "18446744073709551616", "255" ] }, "expect": { "out": [ - "255" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(0,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "0", + "18446744073709551616", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "340282366920938463444927863358058659840" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(0,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "0", + "18446744073709551616", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551616" + "340282366920938463463374607431768211456" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(1,0)", + "id": "mul_assign_non_zero_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "1", "0" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint(1,1)", + "id": "mul_assign_non_zero_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "1", "1" @@ -15080,17 +54916,17 @@ }, "expect": { "out": [ - "2" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(1,255)", + "id": "mul_assign_non_zero_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "1", "255" @@ -15098,17 +54934,17 @@ }, "expect": { "out": [ - "256" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(1,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "1", "18446744073709551615" @@ -15116,17 +54952,17 @@ }, "expect": { "out": [ - "18446744073709551616" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(1,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "1", "18446744073709551616" @@ -15134,35 +54970,33 @@ }, "expect": { "out": [ - "18446744073709551617" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(255,0)", + "id": "mul_assign_non_zero_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "255", "0" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint(255,1)", + "id": "mul_assign_non_zero_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "255", "1" @@ -15170,17 +55004,17 @@ }, "expect": { "out": [ - "256" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(255,255)", + "id": "mul_assign_non_zero_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "255", "255" @@ -15188,17 +55022,17 @@ }, "expect": { "out": [ - "510" + "65025" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(255,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "255", "18446744073709551615" @@ -15206,17 +55040,17 @@ }, "expect": { "out": [ - "18446744073709551870" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(255,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "255", "18446744073709551616" @@ -15224,35 +55058,33 @@ }, "expect": { "out": [ - "18446744073709551871" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551615,0)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551615", "0" ] }, "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551615,1)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551615", "1" @@ -15260,17 +55092,17 @@ }, "expect": { "out": [ - "18446744073709551616" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551615,255)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551615", "255" @@ -15278,17 +55110,17 @@ }, "expect": { "out": [ - "18446744073709551870" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551615,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -15296,17 +55128,17 @@ }, "expect": { "out": [ - "36893488147419103230" + "340282366920938463426481119284349108225" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551615,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -15314,35 +55146,33 @@ }, "expect": { "out": [ - "36893488147419103231" + "340282366920938463444927863358058659840" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551616,0)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551616", "0" ] }, "expect": { - "out": [ - "18446744073709551616" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551616,1)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551616", "1" @@ -15350,17 +55180,17 @@ }, "expect": { "out": [ - "18446744073709551617" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551616,255)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551616", "255" @@ -15368,17 +55198,17 @@ }, "expect": { "out": [ - "18446744073709551871" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551616,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -15386,17 +55216,17 @@ }, "expect": { "out": [ - "36893488147419103231" + "340282366920938463444927863358058659840" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint(18446744073709551616,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint", + "function": "mul_assign_non_zero_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -15404,37 +55234,35 @@ }, "expect": { "out": [ - "36893488147419103232" + "340282366920938463463374607431768211456" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(0,0)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "0", + "1", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(0,1)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "0", + "1", "1" ] }, @@ -15447,12 +55275,12 @@ }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(0,255)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "0", + "1", "255" ] }, @@ -15465,12 +55293,12 @@ }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(0,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "0", + "1", "18446744073709551615" ] }, @@ -15483,12 +55311,12 @@ }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(0,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "0", + "1", "18446744073709551616" ] }, @@ -15501,210 +55329,204 @@ }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(1,0)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "1", + "255", "0" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(1,1)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "1", + "255", "1" ] }, "expect": { "out": [ - "2" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(1,255)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "1", + "255", "255" ] }, "expect": { "out": [ - "256" + "65025" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(1,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "1", + "255", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551616" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(1,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "1", + "255", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551617" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(255,0)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "255", + "18446744073709551615", "0" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(255,1)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "255", + "18446744073709551615", "1" ] }, "expect": { "out": [ - "256" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(255,255)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "255", + "18446744073709551615", "255" ] }, "expect": { "out": [ - "510" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(255,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "255", + "18446744073709551615", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551870" + "340282366920938463426481119284349108225" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(255,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "255", + "18446744073709551615", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551871" + "340282366920938463444927863358058659840" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551615,0)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "18446744073709551616", "0" ] }, "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551615,1)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "18446744073709551616", "1" ] }, @@ -15717,588 +55539,534 @@ }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551615,255)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "18446744073709551616", "255" ] }, "expect": { "out": [ - "18446744073709551870" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "18446744073709551616", "18446744073709551615" ] }, "expect": { "out": [ - "36893488147419103230" + "340282366920938463444927863358058659840" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "18446744073709551616", "18446744073709551616" ] }, "expect": { "out": [ - "36893488147419103231" + "340282366920938463463374607431768211456" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551616,0)", + "id": "mul_assign_non_zero_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "18446744073709551616", + "1", "0" ] }, "expect": { - "out": [ - "18446744073709551616" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551616,1)", + "id": "mul_assign_non_zero_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "18446744073709551616", + "1", "1" ] }, "expect": { "out": [ - "18446744073709551617" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551616,255)", + "id": "mul_assign_non_zero_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "18446744073709551616", + "1", "255" ] }, "expect": { "out": [ - "18446744073709551871" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "18446744073709551616", - "18446744073709551615" + "255", + "0" ] }, "expect": { - "out": [ - "36893488147419103231" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "add_assign_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "add_assign_big_uint_ref", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "36893488147419103232" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(0,0)", + "id": "mul_assign_non_zero_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "0" + "255", + "255" ] }, "expect": { "out": [ - "0" + "65025" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(0,1)", + "id": "mul_assign_non_zero_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "+1" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "-1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "sub_assign_big_int(0,255)", + "id": "mul_assign_non_zero_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "+255" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-255" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(0,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "+18446744073709551615" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-18446744073709551615" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(0,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "+18446744073709551616" + "18446744073709551616", + "0" ] }, "expect": { - "out": [ - "-18446744073709551616" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "sub_assign_big_int(0,-1)", + "id": "mul_assign_non_zero_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "-1" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+1" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(0,-256)", + "id": "mul_assign_non_zero_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "-256" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+256" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(1,0)", + "id": "mul_assign_non_zero_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+1", + "1", "0" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "sub_assign_big_int(1,1)", - "tx": { - "to": "sc:basic-features", - "function": "sub_assign_big_int", - "arguments": [ - "+1", - "+1" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "sub_assign_big_int(1,255)", + "id": "mul_assign_non_zero_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+1", - "+255" + "1", + "1" ] }, "expect": { "out": [ - "-254" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(1,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+1", - "+18446744073709551615" + "1", + "255" ] }, "expect": { "out": [ - "-18446744073709551614" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(1,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+1", - "+18446744073709551616" + "255", + "0" ] }, "expect": { - "out": [ - "-18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "sub_assign_big_int(1,-1)", + "id": "mul_assign_non_zero_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+1", - "-1" + "255", + "1" ] }, "expect": { "out": [ - "+2" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(1,-256)", + "id": "mul_assign_non_zero_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+1", - "-256" + "255", + "255" ] }, "expect": { "out": [ - "+257" + "65025" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(255,0)", + "id": "mul_assign_non_zero_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+255", + "18446744073709551615", "0" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "sub_assign_big_int(255,1)", - "tx": { - "to": "sc:basic-features", - "function": "sub_assign_big_int", - "arguments": [ - "+255", - "+1" - ] - }, - "expect": { - "out": [ - "+254" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "sub_assign_big_int(255,255)", + "id": "mul_assign_non_zero_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+255", - "+255" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(255,18446744073709551615)", + "id": "mul_assign_non_zero_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-18446744073709551360" + "4703919738795935661825" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(255,18446744073709551616)", + "id": "mul_assign_non_zero_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+255", - "+18446744073709551616" + "18446744073709551616", + "0" ] }, "expect": { - "out": [ - "-18446744073709551361" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "sub_assign_big_int(255,-1)", + "id": "mul_assign_non_zero_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+255", - "-1" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+256" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(255,-256)", + "id": "mul_assign_non_zero_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "mul_assign_non_zero_big_uint_u64", "arguments": [ - "+255", - "-256" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+511" + "4703919738795935662080" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551615,0)", + "id": "div_assign_big_int_big_int(0,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "0" ] }, "expect": { - "out": [ - "+18446744073709551615" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551615,1)", + "id": "div_assign_big_int_big_int(0,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "+1" ] }, "expect": { "out": [ - "+18446744073709551614" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551615,255)", + "id": "div_assign_big_int_big_int(0,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "+255" ] }, "expect": { "out": [ - "+18446744073709551360" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551615,18446744073709551615)", + "id": "div_assign_big_int_big_int(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551615" ] }, @@ -16311,138 +56079,136 @@ }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551615,18446744073709551616)", + "id": "div_assign_big_int_big_int(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551616" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551615,-1)", + "id": "div_assign_big_int_big_int(0,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "-1" ] }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551615,-256)", + "id": "div_assign_big_int_big_int(0,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551615", + "0", "-256" ] }, "expect": { "out": [ - "+18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551616,0)", + "id": "div_assign_big_int_big_int(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "0" ] }, "expect": { - "out": [ - "+18446744073709551616" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551616,1)", + "id": "div_assign_big_int_big_int(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "+1" ] }, "expect": { "out": [ - "+18446744073709551615" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551616,255)", + "id": "div_assign_big_int_big_int(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "+255" ] }, "expect": { "out": [ - "+18446744073709551361" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551616,18446744073709551615)", + "id": "div_assign_big_int_big_int(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551616,18446744073709551616)", + "id": "div_assign_big_int_big_int(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551616" ] }, @@ -16455,642 +56221,632 @@ }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551616,-1)", + "id": "div_assign_big_int_big_int(1,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "-1" ] }, "expect": { "out": [ - "+18446744073709551617" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(18446744073709551616,-256)", + "id": "div_assign_big_int_big_int(1,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "+18446744073709551616", + "+1", "-256" ] }, "expect": { "out": [ - "+18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-1,0)", + "id": "div_assign_big_int_big_int(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-1", + "+255", "0" ] }, "expect": { - "out": [ - "-1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-1,1)", + "id": "div_assign_big_int_big_int(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-1", + "+255", "+1" ] }, "expect": { "out": [ - "-2" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-1,255)", + "id": "div_assign_big_int_big_int(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-1", + "+255", "+255" ] }, "expect": { "out": [ - "-256" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-1,18446744073709551615)", + "id": "div_assign_big_int_big_int(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-1", + "+255", "+18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-1,18446744073709551616)", + "id": "div_assign_big_int_big_int(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-1", + "+255", "+18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551617" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-1,-1)", + "id": "div_assign_big_int_big_int(255,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-1", + "+255", "-1" ] }, "expect": { "out": [ - "0" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-1,-256)", + "id": "div_assign_big_int_big_int(255,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-1", + "+255", "-256" ] }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-256,0)", + "id": "div_assign_big_int_big_int(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "0" ] }, "expect": { - "out": [ - "-256" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-256,1)", + "id": "div_assign_big_int_big_int(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "+1" ] }, "expect": { "out": [ - "-257" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-256,255)", + "id": "div_assign_big_int_big_int(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "+255" ] }, "expect": { "out": [ - "-511" + "+72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-256,18446744073709551615)", + "id": "div_assign_big_int_big_int(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551871" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-256,18446744073709551616)", + "id": "div_assign_big_int_big_int(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-256,-1)", + "id": "div_assign_big_int_big_int(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "-1" ] }, "expect": { "out": [ - "-255" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int(-256,-256)", + "id": "div_assign_big_int_big_int(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int", + "function": "div_assign_big_int_big_int", "arguments": [ - "-256", + "+18446744073709551615", "-256" ] }, "expect": { "out": [ - "0" + "-72057594037927935" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(0,0)", + "id": "div_assign_big_int_big_int(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(0,1)", + "id": "div_assign_big_int_big_int(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "+1" ] }, "expect": { "out": [ - "-1" + "+18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(0,255)", + "id": "div_assign_big_int_big_int(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "+255" ] }, "expect": { "out": [ - "-255" + "+72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(0,18446744073709551615)", + "id": "div_assign_big_int_big_int(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "+18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551615" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(0,18446744073709551616)", + "id": "div_assign_big_int_big_int(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "+18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551616" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(0,-1)", + "id": "div_assign_big_int_big_int(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "-1" ] }, "expect": { "out": [ - "+1" + "-18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(0,-256)", + "id": "div_assign_big_int_big_int(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "0", + "+18446744073709551616", "-256" ] }, "expect": { "out": [ - "+256" + "-72057594037927936" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(1,0)", + "id": "div_assign_big_int_big_int(-1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+1", + "-1", "0" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(1,1)", + "id": "div_assign_big_int_big_int(-1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+1", + "-1", "+1" ] }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(1,255)", + "id": "div_assign_big_int_big_int(-1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+1", + "-1", "+255" ] }, "expect": { "out": [ - "-254" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(1,18446744073709551615)", + "id": "div_assign_big_int_big_int(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+1", + "-1", "+18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551614" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(1,18446744073709551616)", + "id": "div_assign_big_int_big_int(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+1", + "-1", "+18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(1,-1)", + "id": "div_assign_big_int_big_int(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+1", + "-1", "-1" ] }, "expect": { "out": [ - "+2" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(1,-256)", + "id": "div_assign_big_int_big_int(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+1", + "-1", "-256" ] }, "expect": { "out": [ - "+257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(255,0)", + "id": "div_assign_big_int_big_int(-256,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+255", + "-256", "0" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(255,1)", + "id": "div_assign_big_int_big_int(-256,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+255", + "-256", "+1" ] }, "expect": { "out": [ - "+254" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(255,255)", + "id": "div_assign_big_int_big_int(-256,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+255", + "-256", "+255" ] }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(255,18446744073709551615)", + "id": "div_assign_big_int_big_int(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+255", + "-256", "+18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551360" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(255,18446744073709551616)", + "id": "div_assign_big_int_big_int(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+255", + "-256", "+18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551361" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(255,-1)", + "id": "div_assign_big_int_big_int(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+255", + "-256", "-1" ] }, @@ -17103,84 +56859,82 @@ }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(255,-256)", + "id": "div_assign_big_int_big_int(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int", "arguments": [ - "+255", + "-256", "-256" ] }, "expect": { "out": [ - "+511" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551615,0)", + "id": "div_assign_big_int_big_int_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "0" ] }, "expect": { - "out": [ - "+18446744073709551615" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551615,1)", + "id": "div_assign_big_int_big_int_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+1" ] }, "expect": { "out": [ - "+18446744073709551614" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551615,255)", + "id": "div_assign_big_int_big_int_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+255" ] }, "expect": { "out": [ - "+18446744073709551360" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "div_assign_big_int_big_int_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551615" ] }, @@ -17193,138 +56947,136 @@ }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "div_assign_big_int_big_int_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "+18446744073709551616" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551615,-1)", + "id": "div_assign_big_int_big_int_ref(0,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "-1" ] }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551615,-256)", + "id": "div_assign_big_int_big_int_ref(0,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551615", + "0", "-256" ] }, "expect": { "out": [ - "+18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551616,0)", + "id": "div_assign_big_int_big_int_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "0" ] }, "expect": { - "out": [ - "+18446744073709551616" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551616,1)", + "id": "div_assign_big_int_big_int_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+1" ] }, "expect": { "out": [ - "+18446744073709551615" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551616,255)", + "id": "div_assign_big_int_big_int_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+255" ] }, "expect": { "out": [ - "+18446744073709551361" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "div_assign_big_int_big_int_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551615" ] }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "div_assign_big_int_big_int_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "+18446744073709551616" ] }, @@ -17337,503 +57089,473 @@ }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551616,-1)", + "id": "div_assign_big_int_big_int_ref(1,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "-1" ] }, "expect": { "out": [ - "+18446744073709551617" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(18446744073709551616,-256)", + "id": "div_assign_big_int_big_int_ref(1,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "+18446744073709551616", + "+1", "-256" ] }, "expect": { "out": [ - "+18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-1,0)", + "id": "div_assign_big_int_big_int_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "0" ] }, "expect": { - "out": [ - "-1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-1,1)", + "id": "div_assign_big_int_big_int_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "+1" ] }, "expect": { "out": [ - "-2" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-1,255)", + "id": "div_assign_big_int_big_int_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "+255" ] }, "expect": { "out": [ - "-256" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-1,18446744073709551615)", + "id": "div_assign_big_int_big_int_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "+18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-1,18446744073709551616)", + "id": "div_assign_big_int_big_int_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "+18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551617" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-1,-1)", + "id": "div_assign_big_int_big_int_ref(255,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "-1" ] }, "expect": { "out": [ - "0" + "-255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-1,-256)", + "id": "div_assign_big_int_big_int_ref(255,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-1", + "+255", "-256" ] }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-256,0)", + "id": "div_assign_big_int_big_int_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "0" ] }, "expect": { - "out": [ - "-256" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-256,1)", + "id": "div_assign_big_int_big_int_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+1" ] }, "expect": { "out": [ - "-257" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-256,255)", + "id": "div_assign_big_int_big_int_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+255" ] }, "expect": { "out": [ - "-511" + "+72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-256,18446744073709551615)", + "id": "div_assign_big_int_big_int_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551615" ] }, "expect": { "out": [ - "-18446744073709551871" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-256,18446744073709551616)", + "id": "div_assign_big_int_big_int_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "+18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-256,-1)", + "id": "div_assign_big_int_big_int_ref(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "-1" ] }, "expect": { "out": [ - "-255" + "-18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_int_ref(-256,-256)", + "id": "div_assign_big_int_big_int_ref(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_int_ref", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "-256", + "+18446744073709551615", "-256" ] }, "expect": { "out": [ - "0" + "-72057594037927935" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(0,0)", + "id": "div_assign_big_int_big_int_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "0", - "0" - ] - }, - "expect": { - "out": [ + "+18446744073709551616", "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "sub_assign_big_uint(0,1)", - "tx": { - "to": "sc:basic-features", - "function": "sub_assign_big_uint", - "arguments": [ - "0", - "1" - ] - }, - "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" - } - }, - { - "step": "scQuery", - "id": "sub_assign_big_uint(0,255)", - "tx": { - "to": "sc:basic-features", - "function": "sub_assign_big_uint", - "arguments": [ - "0", - "255" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(0,18446744073709551615)", + "id": "div_assign_big_int_big_int_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "0", - "18446744073709551615" + "+18446744073709551616", + "+1" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "+18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(0,18446744073709551616)", + "id": "div_assign_big_int_big_int_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "0", - "18446744073709551616" + "+18446744073709551616", + "+255" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "+72340172838076673" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(1,0)", + "id": "div_assign_big_int_big_int_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "1", - "0" + "+18446744073709551616", + "+18446744073709551615" ] }, "expect": { "out": [ - "1" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(1,1)", + "id": "div_assign_big_int_big_int_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "1", - "1" + "+18446744073709551616", + "+18446744073709551616" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(1,255)", + "id": "div_assign_big_int_big_int_ref(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "1", - "255" + "+18446744073709551616", + "-1" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "-18446744073709551616" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(1,18446744073709551615)", + "id": "div_assign_big_int_big_int_ref(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "1", - "18446744073709551615" + "+18446744073709551616", + "-256" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "-72057594037927936" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(1,18446744073709551616)", + "id": "div_assign_big_int_big_int_ref(-1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "1", - "18446744073709551616" + "-1", + "0" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(255,0)", + "id": "div_assign_big_int_big_int_ref(-1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "255", - "0" + "-1", + "+1" ] }, "expect": { "out": [ - "255" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(255,1)", + "id": "div_assign_big_int_big_int_ref(-1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "255", - "1" + "-1", + "+255" ] }, "expect": { "out": [ - "254" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(255,255)", + "id": "div_assign_big_int_big_int_ref(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "255", - "255" + "-1", + "+18446744073709551615" ] }, "expect": { @@ -17845,320 +57567,292 @@ }, { "step": "scQuery", - "id": "sub_assign_big_uint(255,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "sub_assign_big_uint", - "arguments": [ - "255", - "18446744073709551615" - ] - }, - "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" - } - }, - { - "step": "scQuery", - "id": "sub_assign_big_uint(255,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "sub_assign_big_uint", - "arguments": [ - "255", - "18446744073709551616" - ] - }, - "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" - } - }, - { - "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551615,0)", + "id": "div_assign_big_int_big_int_ref(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "0" + "-1", + "+18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551615,1)", + "id": "div_assign_big_int_big_int_ref(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "1" + "-1", + "-1" ] }, "expect": { "out": [ - "18446744073709551614" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551615,255)", + "id": "div_assign_big_int_big_int_ref(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "255" + "-1", + "-256" ] }, "expect": { "out": [ - "18446744073709551360" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551615,18446744073709551615)", + "id": "div_assign_big_int_big_int_ref(-256,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "18446744073709551615" + "-256", + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551615,18446744073709551616)", + "id": "div_assign_big_int_big_int_ref(-256,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551615", - "18446744073709551616" + "-256", + "+1" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "-256" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551616,0)", + "id": "div_assign_big_int_big_int_ref(-256,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551616", - "0" + "-256", + "+255" ] }, "expect": { "out": [ - "18446744073709551616" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551616,1)", + "id": "div_assign_big_int_big_int_ref(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551616", - "1" + "-256", + "+18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551616,255)", + "id": "div_assign_big_int_big_int_ref(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551616", - "255" + "-256", + "+18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551361" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551616,18446744073709551615)", + "id": "div_assign_big_int_big_int_ref(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551616", - "18446744073709551615" + "-256", + "-1" ] }, "expect": { "out": [ - "1" + "+256" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint(18446744073709551616,18446744073709551616)", + "id": "div_assign_big_int_big_int_ref(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint", + "function": "div_assign_big_int_big_int_ref", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "-256", + "-256" ] }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(0,0)", + "id": "div_assign_big_uint_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "0", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(0,1)", + "id": "div_assign_big_uint_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "0", "1" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(0,255)", + "id": "div_assign_big_uint_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "0", "255" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(0,18446744073709551615)", + "id": "div_assign_big_uint_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "0", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(0,18446744073709551616)", + "id": "div_assign_big_uint_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "0", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(1,0)", + "id": "div_assign_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "1", "0" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(1,1)", + "id": "div_assign_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "1", "1" @@ -18166,83 +57860,87 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(1,255)", + "id": "div_assign_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "1", "255" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(1,18446744073709551615)", + "id": "div_assign_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "1", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(1,18446744073709551616)", + "id": "div_assign_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "1", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(255,0)", + "id": "div_assign_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "255", "0" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(255,1)", + "id": "div_assign_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "255", "1" @@ -18250,17 +57948,17 @@ }, "expect": { "out": [ - "254" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(255,255)", + "id": "div_assign_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "255", "255" @@ -18268,67 +57966,69 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(255,18446744073709551615)", + "id": "div_assign_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "255", "18446744073709551615" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(255,18446744073709551616)", + "id": "div_assign_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "255", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551615,0)", + "id": "div_assign_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "0" ] }, "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551615,1)", + "id": "div_assign_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "1" @@ -18336,17 +58036,17 @@ }, "expect": { "out": [ - "18446744073709551614" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551615,255)", + "id": "div_assign_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "255" @@ -18354,17 +58054,17 @@ }, "expect": { "out": [ - "18446744073709551360" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "div_assign_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -18372,51 +58072,51 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "div_assign_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551616" ] }, "expect": { - "status": "4", - "message": "str:cannot subtract because result would be negative" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551616,0)", + "id": "div_assign_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "0" ] }, "expect": { - "out": [ - "18446744073709551616" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551616,1)", + "id": "div_assign_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "1" @@ -18424,17 +58124,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551616,255)", + "id": "div_assign_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "255" @@ -18442,17 +58142,17 @@ }, "expect": { "out": [ - "18446744073709551361" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "div_assign_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -18467,10 +58167,10 @@ }, { "step": "scQuery", - "id": "sub_assign_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "div_assign_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "sub_assign_big_uint_ref", + "function": "div_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -18478,38 +58178,36 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(0,0)", + "id": "div_assign_big_uint_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ "0", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(0,1)", + "id": "div_assign_big_uint_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ "0", - "+1" + "1" ] }, "expect": { @@ -18521,13 +58219,13 @@ }, { "step": "scQuery", - "id": "mul_assign_big_int(0,255)", + "id": "div_assign_big_uint_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ "0", - "+255" + "255" ] }, "expect": { @@ -18539,13 +58237,13 @@ }, { "step": "scQuery", - "id": "mul_assign_big_int(0,18446744073709551615)", + "id": "div_assign_big_uint_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ "0", - "+18446744073709551615" + "18446744073709551615" ] }, "expect": { @@ -18557,13 +58255,13 @@ }, { "step": "scQuery", - "id": "mul_assign_big_int(0,18446744073709551616)", + "id": "div_assign_big_uint_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ "0", - "+18446744073709551616" + "18446744073709551616" ] }, "expect": { @@ -18575,31 +58273,47 @@ }, { "step": "scQuery", - "id": "mul_assign_big_int(0,-1)", + "id": "div_assign_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "0", - "-1" + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_assign_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(0,-256)", + "id": "div_assign_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "0", - "-256" + "1", + "255" ] }, "expect": { @@ -18611,13 +58325,13 @@ }, { "step": "scQuery", - "id": "mul_assign_big_int(1,0)", + "id": "div_assign_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "0" + "1", + "18446744073709551615" ] }, "expect": { @@ -18629,373 +58343,381 @@ }, { "step": "scQuery", - "id": "mul_assign_big_int(1,1)", + "id": "div_assign_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "+1" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(1,255)", + "id": "div_assign_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "+255" + "255", + "0" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(1,18446744073709551615)", + "id": "div_assign_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "+18446744073709551615" + "255", + "1" ] }, "expect": { "out": [ - "+18446744073709551615" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(1,18446744073709551616)", + "id": "div_assign_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "+18446744073709551616" + "255", + "255" ] }, "expect": { "out": [ - "+18446744073709551616" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(1,-1)", + "id": "div_assign_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "-1" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(1,-256)", + "id": "div_assign_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "-256" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "-256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(255,0)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+255", + "18446744073709551615", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(255,1)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "+1" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+255" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(255,255)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "+255" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+65025" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(255,18446744073709551615)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "+4703919738795935661825" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(255,18446744073709551616)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "+18446744073709551616" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "+4703919738795935662080" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(255,-1)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "-1" + "18446744073709551616", + "0" ] }, "expect": { - "out": [ - "-255" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(255,-256)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "-256" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-65280" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551615,0)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "0" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551615,1)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+1" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "+18446744073709551615" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551615,255)", + "id": "div_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+255" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "+4703919738795935661825" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551615,18446744073709551615)", + "id": "div_assign_big_uint_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "0", + "0" ] }, "expect": { - "out": [ - "+340282366920938463426481119284349108225" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551615,18446744073709551616)", + "id": "div_assign_big_uint_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "0", + "1" ] }, "expect": { "out": [ - "+340282366920938463444927863358058659840" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551615,-1)", + "id": "div_assign_big_uint_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551615", - "-1" + "0", + "255" ] }, "expect": { "out": [ - "-18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551615,-256)", + "id": "div_assign_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551615", - "-256" + "1", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_assign_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_assign_big_uint_u32", + "arguments": [ + "1", + "1" ] }, "expect": { "out": [ - "-4722366482869645213440" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551616,0)", + "id": "div_assign_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "0" + "1", + "255" ] }, "expect": { @@ -19007,1360 +58729,1334 @@ }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551616,1)", + "id": "div_assign_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+1" + "255", + "0" ] }, "expect": { - "out": [ - "+18446744073709551616" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551616,255)", + "id": "div_assign_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+255" + "255", + "1" ] }, "expect": { "out": [ - "+4703919738795935662080" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551616,18446744073709551615)", + "id": "div_assign_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "255", + "255" ] }, "expect": { "out": [ - "+340282366920938463444927863358058659840" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551616,18446744073709551616)", + "id": "div_assign_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "+340282366920938463463374607431768211456" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551616,-1)", + "id": "div_assign_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "-1" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-18446744073709551616" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(18446744073709551616,-256)", + "id": "div_assign_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "-256" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-4722366482869645213696" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-1,0)", + "id": "div_assign_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "-1", + "18446744073709551616", "0" ] }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_assign_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-1,1)", + "id": "div_assign_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u32", "arguments": [ - "-1", - "+1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "-1" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-1,255)", + "id": "div_assign_big_uint_u64(0,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-1", - "+255" + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "div_assign_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "div_assign_big_uint_u64", + "arguments": [ + "0", + "1" ] }, "expect": { "out": [ - "-255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-1,18446744073709551615)", + "id": "div_assign_big_uint_u64(0,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-1", - "+18446744073709551615" + "0", + "255" ] }, "expect": { "out": [ - "-18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-1,18446744073709551616)", + "id": "div_assign_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-1", - "+18446744073709551616" + "1", + "0" ] }, "expect": { - "out": [ - "-18446744073709551616" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-1,-1)", + "id": "div_assign_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-1", - "-1" + "1", + "1" ] }, "expect": { "out": [ - "+1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-1,-256)", + "id": "div_assign_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-1", - "-256" + "1", + "255" ] }, "expect": { "out": [ - "+256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-256,0)", + "id": "div_assign_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-256", + "255", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-256,1)", + "id": "div_assign_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-256", - "+1" + "255", + "1" ] }, "expect": { "out": [ - "-256" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-256,255)", + "id": "div_assign_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-256", - "+255" + "255", + "255" ] }, "expect": { "out": [ - "-65280" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-256,18446744073709551615)", + "id": "div_assign_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-256", - "+18446744073709551615" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "-4722366482869645213440" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-256,18446744073709551616)", + "id": "div_assign_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-256", - "+18446744073709551616" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-4722366482869645213696" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-256,-1)", + "id": "div_assign_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-256", - "-1" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+256" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int(-256,-256)", + "id": "div_assign_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int", + "function": "div_assign_big_uint_u64", "arguments": [ - "-256", - "-256" + "18446744073709551616", + "0" ] }, "expect": { - "out": [ - "+65536" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(0,0)", + "id": "div_assign_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_big_uint_u64", "arguments": [ - "0", - "0" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(0,1)", + "id": "div_assign_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_big_uint_u64", "arguments": [ - "0", - "+1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(0,255)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "+255" + "1", + "1" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(0,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "+18446744073709551615" + "1", + "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(0,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "+18446744073709551616" + "1", + "18446744073709551615" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(0,-1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "-1" + "1", + "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(0,-256)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "-256" + "255", + "1" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(1,0)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "0" + "255", + "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(1,1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+1" + "255", + "18446744073709551615" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(1,255)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+255" + "255", + "18446744073709551616" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(1,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+18446744073709551615" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "+18446744073709551615" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(1,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+18446744073709551616" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+18446744073709551616" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(1,-1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "-1" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(1,-256)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "-256" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { - "out": [ - "-256" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(255,0)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "0" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(255,1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+255" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(255,255)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+255" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "+65025" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(255,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "+4703919738795935661825" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(255,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+255", - "+18446744073709551616" + "1", + "1" ] }, "expect": { "out": [ - "+4703919738795935662080" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(255,-1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+255", - "-1" + "1", + "255" ] }, "expect": { - "out": [ - "-255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(255,-256)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+255", - "-256" + "1", + "18446744073709551615" ] }, "expect": { - "out": [ - "-65280" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551615,0)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "0" + "1", + "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551615,1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+1" + "255", + "1" ] }, "expect": { "out": [ - "+18446744073709551615" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551615,255)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+255" + "255", + "255" ] }, "expect": { "out": [ - "+4703919738795935661825" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "255", + "18446744073709551615" ] }, "expect": { - "out": [ - "+340282366920938463426481119284349108225" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "255", + "18446744073709551616" ] }, "expect": { - "out": [ - "+340282366920938463444927863358058659840" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551615,-1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "-1" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-18446744073709551615" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551615,-256)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "-256" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-4722366482869645213440" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551616,0)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "0" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551616,1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+1" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { - "out": [ - "+18446744073709551616" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551616,255)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+255" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "+4703919738795935662080" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "+340282366920938463444927863358058659840" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "+340282366920938463463374607431768211456" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551616,-1)", + "id": "div_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "-1" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { "out": [ - "-18446744073709551616" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(18446744073709551616,-256)", + "id": "div_assign_non_zero_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "+18446744073709551616", - "-256" + "1", + "0" ] }, "expect": { - "out": [ - "-4722366482869645213696" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-1,0)", + "id": "div_assign_non_zero_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "0" + "1", + "1" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-1,1)", + "id": "div_assign_non_zero_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "+1" + "1", + "255" ] }, "expect": { - "out": [ - "-1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-1,255)", + "id": "div_assign_non_zero_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "+255" + "1", + "18446744073709551615" ] }, "expect": { - "out": [ - "-255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-1,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "+18446744073709551615" + "1", + "18446744073709551616" ] }, "expect": { - "out": [ - "-18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-1,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "+18446744073709551616" + "255", + "0" ] }, "expect": { - "out": [ - "-18446744073709551616" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-1,-1)", + "id": "div_assign_non_zero_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "-1" + "255", + "1" ] }, "expect": { "out": [ - "+1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-1,-256)", + "id": "div_assign_non_zero_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "-256" + "255", + "255" ] }, "expect": { "out": [ - "+256" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-256,0)", + "id": "div_assign_non_zero_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "0" + "255", + "18446744073709551615" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-256,1)", + "id": "div_assign_non_zero_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "+1" + "255", + "18446744073709551616" ] }, "expect": { - "out": [ - "-256" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-256,255)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "+255" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "-65280" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-256,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "+18446744073709551615" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "-4722366482869645213440" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-256,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "+18446744073709551616" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "-4722366482869645213696" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-256,-1)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "-1" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "+256" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_int_ref(-256,-256)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_int_ref", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "-256" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { - "out": [ - "+65536" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(0,0)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(0,1)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "1" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(0,255)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "255" ] }, "expect": { "out": [ - "0" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(0,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "18446744073709551615" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(0,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "18446744073709551616" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(1,0)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(1,1)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "1" @@ -20375,82 +60071,74 @@ }, { "step": "scQuery", - "id": "mul_assign_big_uint(1,255)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "255" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(1,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551615" ] }, "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(1,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551616" ] }, "expect": { - "out": [ - "18446744073709551616" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(255,0)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(255,1)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "1" @@ -20465,10 +60153,10 @@ }, { "step": "scQuery", - "id": "mul_assign_big_uint(255,255)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "255" @@ -20476,71 +60164,65 @@ }, "expect": { "out": [ - "65025" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(255,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551615" ] }, "expect": { - "out": [ - "4703919738795935661825" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(255,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551616" ] }, "expect": { - "out": [ - "4703919738795935662080" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551615,0)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551615,1)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "1" @@ -20555,10 +60237,10 @@ }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551615,255)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "255" @@ -20566,17 +60248,17 @@ }, "expect": { "out": [ - "4703919738795935661825" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551615,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -20584,53 +60266,49 @@ }, "expect": { "out": [ - "340282366920938463426481119284349108225" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551615,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551616" ] }, "expect": { - "out": [ - "340282366920938463444927863358058659840" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551616,0)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551616,1)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "1" @@ -20645,10 +60323,10 @@ }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551616,255)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "255" @@ -20656,17 +60334,17 @@ }, "expect": { "out": [ - "4703919738795935662080" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551616,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -20674,17 +60352,17 @@ }, "expect": { "out": [ - "340282366920938463444927863358058659840" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint(18446744073709551616,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint", + "function": "div_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -20692,128 +60370,104 @@ }, "expect": { "out": [ - "340282366920938463463374607431768211456" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(0,0)", + "id": "div_assign_non_zero_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(0,1)", + "id": "div_assign_non_zero_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "1" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(0,255)", + "id": "div_assign_non_zero_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(0,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "18446744073709551615" - ] - }, - "expect": { - "out": [ + "255", "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "mul_assign_big_uint_ref(0,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", - "arguments": [ - "0", - "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(1,0)", + "id": "div_assign_non_zero_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "0" + "255", + "1" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(1,1)", + "id": "div_assign_non_zero_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "1" + "255", + "255" ] }, "expect": { @@ -20825,31 +60479,29 @@ }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(1,255)", + "id": "div_assign_non_zero_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "255" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(1,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "18446744073709551615" + "18446744073709551615", + "1" ] }, "expect": { @@ -20861,298 +60513,286 @@ }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(1,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "18446744073709551616" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "18446744073709551616" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(255,0)", + "id": "div_assign_non_zero_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "255", + "18446744073709551616", "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(255,1)", + "id": "div_assign_non_zero_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "255", + "18446744073709551616", "1" ] }, "expect": { "out": [ - "255" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(255,255)", + "id": "div_assign_non_zero_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u32", "arguments": [ - "255", + "18446744073709551616", "255" ] }, "expect": { "out": [ - "65025" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(255,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ - "255", - "18446744073709551615" + "1", + "0" ] }, "expect": { - "out": [ - "4703919738795935661825" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(255,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ - "255", - "18446744073709551616" + "1", + "1" ] }, "expect": { "out": [ - "4703919738795935662080" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551615,0)", + "id": "div_assign_non_zero_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551615", - "0" + "1", + "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551615,1)", + "id": "div_assign_non_zero_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551615", - "1" + "255", + "0" ] }, "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551615,255)", + "id": "div_assign_non_zero_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551615", - "255" + "255", + "1" ] }, "expect": { "out": [ - "4703919738795935661825" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551615", - "18446744073709551615" + "255", + "255" ] }, "expect": { "out": [ - "340282366920938463426481119284349108225" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551615", - "18446744073709551616" + "0" ] }, "expect": { - "out": [ - "340282366920938463444927863358058659840" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551616,0)", + "id": "div_assign_non_zero_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551616", - "0" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551616,1)", + "id": "div_assign_non_zero_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551616", - "1" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "18446744073709551616" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551616,255)", + "id": "div_assign_non_zero_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551616", - "255" + "0" ] }, "expect": { - "out": [ - "4703919738795935662080" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "div_assign_non_zero_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551616", - "18446744073709551615" + "1" ] }, "expect": { "out": [ - "340282366920938463444927863358058659840" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "mul_assign_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "div_assign_non_zero_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "mul_assign_big_uint_ref", + "function": "div_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551616", - "18446744073709551616" + "255" ] }, "expect": { "out": [ - "340282366920938463463374607431768211456" + "72340172838076673" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(0,0)", + "id": "rem_assign_big_int_big_int(0,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "0", "0" @@ -21165,10 +60805,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(0,1)", + "id": "rem_assign_big_int_big_int(0,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "0", "+1" @@ -21183,10 +60823,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(0,255)", + "id": "rem_assign_big_int_big_int(0,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "0", "+255" @@ -21201,10 +60841,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(0,18446744073709551615)", + "id": "rem_assign_big_int_big_int(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "0", "+18446744073709551615" @@ -21219,10 +60859,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(0,18446744073709551616)", + "id": "rem_assign_big_int_big_int(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "0", "+18446744073709551616" @@ -21237,10 +60877,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(0,-1)", + "id": "rem_assign_big_int_big_int(0,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "0", "-1" @@ -21255,10 +60895,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(0,-256)", + "id": "rem_assign_big_int_big_int(0,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "0", "-256" @@ -21273,10 +60913,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(1,0)", + "id": "rem_assign_big_int_big_int(1,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+1", "0" @@ -21289,10 +60929,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(1,1)", + "id": "rem_assign_big_int_big_int(1,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+1", "+1" @@ -21300,17 +60940,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(1,255)", + "id": "rem_assign_big_int_big_int(1,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+1", "+255" @@ -21318,17 +60958,17 @@ }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(1,18446744073709551615)", + "id": "rem_assign_big_int_big_int(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+1", "+18446744073709551615" @@ -21336,17 +60976,17 @@ }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(1,18446744073709551616)", + "id": "rem_assign_big_int_big_int(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+1", "+18446744073709551616" @@ -21354,17 +60994,17 @@ }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(1,-1)", + "id": "rem_assign_big_int_big_int(1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+1", "-1" @@ -21372,17 +61012,17 @@ }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(1,-256)", + "id": "rem_assign_big_int_big_int(1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+1", "-256" @@ -21390,17 +61030,17 @@ }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(255,0)", + "id": "rem_assign_big_int_big_int(255,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+255", "0" @@ -21413,10 +61053,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(255,1)", + "id": "rem_assign_big_int_big_int(255,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+255", "+1" @@ -21424,17 +61064,17 @@ }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(255,255)", + "id": "rem_assign_big_int_big_int(255,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+255", "+255" @@ -21442,17 +61082,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(255,18446744073709551615)", + "id": "rem_assign_big_int_big_int(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+255", "+18446744073709551615" @@ -21460,17 +61100,17 @@ }, "expect": { "out": [ - "0" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(255,18446744073709551616)", + "id": "rem_assign_big_int_big_int(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+255", "+18446744073709551616" @@ -21478,17 +61118,17 @@ }, "expect": { "out": [ - "0" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(255,-1)", + "id": "rem_assign_big_int_big_int(255,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+255", "-1" @@ -21496,17 +61136,17 @@ }, "expect": { "out": [ - "-255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(255,-256)", + "id": "rem_assign_big_int_big_int(255,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+255", "-256" @@ -21514,17 +61154,17 @@ }, "expect": { "out": [ - "0" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551615,0)", + "id": "rem_assign_big_int_big_int(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551615", "0" @@ -21537,10 +61177,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551615,1)", + "id": "rem_assign_big_int_big_int(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551615", "+1" @@ -21548,17 +61188,17 @@ }, "expect": { "out": [ - "+18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551615,255)", + "id": "rem_assign_big_int_big_int(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551615", "+255" @@ -21566,17 +61206,17 @@ }, "expect": { "out": [ - "+72340172838076673" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551615,18446744073709551615)", + "id": "rem_assign_big_int_big_int(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551615", "+18446744073709551615" @@ -21584,17 +61224,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551615,18446744073709551616)", + "id": "rem_assign_big_int_big_int(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551615", "+18446744073709551616" @@ -21602,17 +61242,17 @@ }, "expect": { "out": [ - "0" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551615,-1)", + "id": "rem_assign_big_int_big_int(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551615", "-1" @@ -21620,17 +61260,17 @@ }, "expect": { "out": [ - "-18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551615,-256)", + "id": "rem_assign_big_int_big_int(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551615", "-256" @@ -21638,17 +61278,17 @@ }, "expect": { "out": [ - "-72057594037927935" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551616,0)", + "id": "rem_assign_big_int_big_int(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551616", "0" @@ -21661,10 +61301,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551616,1)", + "id": "rem_assign_big_int_big_int(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551616", "+1" @@ -21672,17 +61312,17 @@ }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551616,255)", + "id": "rem_assign_big_int_big_int(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551616", "+255" @@ -21690,17 +61330,17 @@ }, "expect": { "out": [ - "+72340172838076673" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551616,18446744073709551615)", + "id": "rem_assign_big_int_big_int(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551616", "+18446744073709551615" @@ -21715,10 +61355,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551616,18446744073709551616)", + "id": "rem_assign_big_int_big_int(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551616", "+18446744073709551616" @@ -21726,17 +61366,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551616,-1)", + "id": "rem_assign_big_int_big_int(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551616", "-1" @@ -21744,17 +61384,17 @@ }, "expect": { "out": [ - "-18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(18446744073709551616,-256)", + "id": "rem_assign_big_int_big_int(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "+18446744073709551616", "-256" @@ -21762,17 +61402,17 @@ }, "expect": { "out": [ - "-72057594037927936" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-1,0)", + "id": "rem_assign_big_int_big_int(-1,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-1", "0" @@ -21785,10 +61425,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(-1,1)", + "id": "rem_assign_big_int_big_int(-1,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-1", "+1" @@ -21796,17 +61436,17 @@ }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-1,255)", + "id": "rem_assign_big_int_big_int(-1,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-1", "+255" @@ -21814,17 +61454,17 @@ }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-1,18446744073709551615)", + "id": "rem_assign_big_int_big_int(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-1", "+18446744073709551615" @@ -21832,17 +61472,17 @@ }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-1,18446744073709551616)", + "id": "rem_assign_big_int_big_int(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-1", "+18446744073709551616" @@ -21850,17 +61490,17 @@ }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-1,-1)", + "id": "rem_assign_big_int_big_int(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-1", "-1" @@ -21868,17 +61508,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-1,-256)", + "id": "rem_assign_big_int_big_int(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-1", "-256" @@ -21886,17 +61526,17 @@ }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-256,0)", + "id": "rem_assign_big_int_big_int(-256,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-256", "0" @@ -21909,10 +61549,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(-256,1)", + "id": "rem_assign_big_int_big_int(-256,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-256", "+1" @@ -21920,17 +61560,17 @@ }, "expect": { "out": [ - "-256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-256,255)", + "id": "rem_assign_big_int_big_int(-256,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-256", "+255" @@ -21945,10 +61585,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int(-256,18446744073709551615)", + "id": "rem_assign_big_int_big_int(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-256", "+18446744073709551615" @@ -21956,17 +61596,17 @@ }, "expect": { "out": [ - "0" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-256,18446744073709551616)", + "id": "rem_assign_big_int_big_int(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-256", "+18446744073709551616" @@ -21974,17 +61614,17 @@ }, "expect": { "out": [ - "0" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-256,-1)", + "id": "rem_assign_big_int_big_int(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-256", "-1" @@ -21992,17 +61632,17 @@ }, "expect": { "out": [ - "+256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int(-256,-256)", + "id": "rem_assign_big_int_big_int(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int", + "function": "rem_assign_big_int_big_int", "arguments": [ "-256", "-256" @@ -22010,17 +61650,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(0,0)", + "id": "rem_assign_big_int_big_int_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "0", "0" @@ -22033,10 +61673,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(0,1)", + "id": "rem_assign_big_int_big_int_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "0", "+1" @@ -22051,10 +61691,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(0,255)", + "id": "rem_assign_big_int_big_int_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "0", "+255" @@ -22069,10 +61709,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(0,18446744073709551615)", + "id": "rem_assign_big_int_big_int_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "0", "+18446744073709551615" @@ -22087,10 +61727,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(0,18446744073709551616)", + "id": "rem_assign_big_int_big_int_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "0", "+18446744073709551616" @@ -22105,10 +61745,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(0,-1)", + "id": "rem_assign_big_int_big_int_ref(0,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "0", "-1" @@ -22123,10 +61763,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(0,-256)", + "id": "rem_assign_big_int_big_int_ref(0,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "0", "-256" @@ -22141,10 +61781,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(1,0)", + "id": "rem_assign_big_int_big_int_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+1", "0" @@ -22157,10 +61797,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(1,1)", + "id": "rem_assign_big_int_big_int_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+1", "+1" @@ -22168,17 +61808,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(1,255)", + "id": "rem_assign_big_int_big_int_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+1", "+255" @@ -22186,17 +61826,17 @@ }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(1,18446744073709551615)", + "id": "rem_assign_big_int_big_int_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+1", "+18446744073709551615" @@ -22204,17 +61844,17 @@ }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(1,18446744073709551616)", + "id": "rem_assign_big_int_big_int_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+1", "+18446744073709551616" @@ -22222,17 +61862,17 @@ }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(1,-1)", + "id": "rem_assign_big_int_big_int_ref(1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+1", "-1" @@ -22240,17 +61880,17 @@ }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(1,-256)", + "id": "rem_assign_big_int_big_int_ref(1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+1", "-256" @@ -22258,17 +61898,17 @@ }, "expect": { "out": [ - "0" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(255,0)", + "id": "rem_assign_big_int_big_int_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+255", "0" @@ -22281,10 +61921,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(255,1)", + "id": "rem_assign_big_int_big_int_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+255", "+1" @@ -22292,17 +61932,17 @@ }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(255,255)", + "id": "rem_assign_big_int_big_int_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+255", "+255" @@ -22310,17 +61950,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(255,18446744073709551615)", + "id": "rem_assign_big_int_big_int_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+255", "+18446744073709551615" @@ -22328,17 +61968,17 @@ }, "expect": { "out": [ - "0" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(255,18446744073709551616)", + "id": "rem_assign_big_int_big_int_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+255", "+18446744073709551616" @@ -22346,17 +61986,17 @@ }, "expect": { "out": [ - "0" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(255,-1)", + "id": "rem_assign_big_int_big_int_ref(255,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+255", "-1" @@ -22364,17 +62004,17 @@ }, "expect": { "out": [ - "-255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(255,-256)", + "id": "rem_assign_big_int_big_int_ref(255,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+255", "-256" @@ -22382,17 +62022,17 @@ }, "expect": { "out": [ - "0" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551615,0)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "0" @@ -22405,10 +62045,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551615,1)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "+1" @@ -22416,17 +62056,17 @@ }, "expect": { "out": [ - "+18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551615,255)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "+255" @@ -22434,17 +62074,17 @@ }, "expect": { "out": [ - "+72340172838076673" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "+18446744073709551615" @@ -22452,17 +62092,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "+18446744073709551616" @@ -22470,17 +62110,17 @@ }, "expect": { "out": [ - "0" + "+18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551615,-1)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551615,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "-1" @@ -22488,17 +62128,17 @@ }, "expect": { "out": [ - "-18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551615,-256)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551615,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551615", "-256" @@ -22506,17 +62146,17 @@ }, "expect": { "out": [ - "-72057594037927935" + "+255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551616,0)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "0" @@ -22529,10 +62169,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551616,1)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "+1" @@ -22540,17 +62180,17 @@ }, "expect": { "out": [ - "+18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551616,255)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "+255" @@ -22558,17 +62198,17 @@ }, "expect": { "out": [ - "+72340172838076673" + "+1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "+18446744073709551615" @@ -22583,10 +62223,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "+18446744073709551616" @@ -22594,17 +62234,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551616,-1)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551616,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "-1" @@ -22612,17 +62252,17 @@ }, "expect": { "out": [ - "-18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(18446744073709551616,-256)", + "id": "rem_assign_big_int_big_int_ref(18446744073709551616,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "+18446744073709551616", "-256" @@ -22630,17 +62270,17 @@ }, "expect": { "out": [ - "-72057594037927936" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-1,0)", + "id": "rem_assign_big_int_big_int_ref(-1,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-1", "0" @@ -22653,10 +62293,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-1,1)", + "id": "rem_assign_big_int_big_int_ref(-1,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-1", "+1" @@ -22664,17 +62304,17 @@ }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-1,255)", + "id": "rem_assign_big_int_big_int_ref(-1,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-1", "+255" @@ -22682,17 +62322,17 @@ }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-1,18446744073709551615)", + "id": "rem_assign_big_int_big_int_ref(-1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-1", "+18446744073709551615" @@ -22700,17 +62340,17 @@ }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-1,18446744073709551616)", + "id": "rem_assign_big_int_big_int_ref(-1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-1", "+18446744073709551616" @@ -22718,17 +62358,17 @@ }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-1,-1)", + "id": "rem_assign_big_int_big_int_ref(-1,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-1", "-1" @@ -22736,17 +62376,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-1,-256)", + "id": "rem_assign_big_int_big_int_ref(-1,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-1", "-256" @@ -22754,17 +62394,17 @@ }, "expect": { "out": [ - "0" + "-1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-256,0)", + "id": "rem_assign_big_int_big_int_ref(-256,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-256", "0" @@ -22777,10 +62417,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-256,1)", + "id": "rem_assign_big_int_big_int_ref(-256,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-256", "+1" @@ -22788,17 +62428,17 @@ }, "expect": { "out": [ - "-256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-256,255)", + "id": "rem_assign_big_int_big_int_ref(-256,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-256", "+255" @@ -22813,10 +62453,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-256,18446744073709551615)", + "id": "rem_assign_big_int_big_int_ref(-256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-256", "+18446744073709551615" @@ -22824,17 +62464,17 @@ }, "expect": { "out": [ - "0" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-256,18446744073709551616)", + "id": "rem_assign_big_int_big_int_ref(-256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-256", "+18446744073709551616" @@ -22842,17 +62482,17 @@ }, "expect": { "out": [ - "0" + "-256" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-256,-1)", + "id": "rem_assign_big_int_big_int_ref(-256,-1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-256", "-1" @@ -22860,17 +62500,17 @@ }, "expect": { "out": [ - "+256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_int_ref(-256,-256)", + "id": "rem_assign_big_int_big_int_ref(-256,-256)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_int_ref", + "function": "rem_assign_big_int_big_int_ref", "arguments": [ "-256", "-256" @@ -22878,17 +62518,17 @@ }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint(0,0)", + "id": "rem_assign_big_uint_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "0", "0" @@ -22901,10 +62541,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint(0,1)", + "id": "rem_assign_big_uint_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "0", "1" @@ -22919,10 +62559,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint(0,255)", + "id": "rem_assign_big_uint_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "0", "255" @@ -22937,10 +62577,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint(0,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "0", "18446744073709551615" @@ -22955,10 +62595,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint(0,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "0", "18446744073709551616" @@ -22973,10 +62613,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint(1,0)", + "id": "rem_assign_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "1", "0" @@ -22989,51 +62629,15 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint(1,1)", + "id": "rem_assign_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "1", "1" ] }, - "expect": { - "out": [ - "1" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(1,255)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "1", - "255" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(1,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "1", - "18446744073709551615" - ] - }, "expect": { "out": [ "0" @@ -23043,401 +62647,15 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint(1,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "1", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(255,0)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "255", - "0" - ] - }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(255,1)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "255", - "1" - ] - }, - "expect": { - "out": [ - "255" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(255,255)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "255", - "255" - ] - }, - "expect": { - "out": [ - "1" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(255,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "255", - "18446744073709551615" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(255,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "255", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551615,0)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551615", - "0" - ] - }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551615,1)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551615", - "1" - ] - }, - "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551615,255)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551615", - "255" - ] - }, - "expect": { - "out": [ - "72340172838076673" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551615,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551615", - "18446744073709551615" - ] - }, - "expect": { - "out": [ - "1" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551615,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551615", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551616,0)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551616", - "0" - ] - }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551616,1)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551616", - "1" - ] - }, - "expect": { - "out": [ - "18446744073709551616" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551616,255)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551616", - "255" - ] - }, - "expect": { - "out": [ - "72340172838076673" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551616,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551616", - "18446744073709551615" - ] - }, - "expect": { - "out": [ - "1" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint(18446744073709551616,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint", - "arguments": [ - "18446744073709551616", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "1" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint_ref(0,0)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", - "arguments": [ - "0", - "0" - ] - }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint_ref(0,1)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", - "arguments": [ - "0", - "1" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint_ref(0,255)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", - "arguments": [ - "0", "255" ] }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint_ref(0,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", - "arguments": [ - "0", - "18446744073709551615" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint_ref(0,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", - "arguments": [ - "0", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint_ref(1,0)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", - "arguments": [ - "1", - "0" - ] - }, - "expect": { - "status": "10", - "message": "str:division by 0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint_ref(1,1)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", - "arguments": [ - "1", - "1" - ] - }, "expect": { "out": [ "1" @@ -23447,28 +62665,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(1,255)", - "tx": { - "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", - "arguments": [ - "1", - "255" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "div_assign_big_uint_ref(1,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "1", "18446744073709551615" @@ -23476,17 +62676,17 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(1,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "1", "18446744073709551616" @@ -23494,17 +62694,17 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(255,0)", + "id": "rem_assign_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "255", "0" @@ -23517,10 +62717,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(255,1)", + "id": "rem_assign_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "255", "1" @@ -23528,17 +62728,17 @@ }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(255,255)", + "id": "rem_assign_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "255", "255" @@ -23546,17 +62746,17 @@ }, "expect": { "out": [ - "1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(255,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "255", "18446744073709551615" @@ -23564,17 +62764,17 @@ }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(255,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "255", "18446744073709551616" @@ -23582,17 +62782,17 @@ }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551615,0)", + "id": "rem_assign_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "0" @@ -23605,10 +62805,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551615,1)", + "id": "rem_assign_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "1" @@ -23616,17 +62816,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551615,255)", + "id": "rem_assign_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "255" @@ -23634,17 +62834,17 @@ }, "expect": { "out": [ - "72340172838076673" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -23652,17 +62852,17 @@ }, "expect": { "out": [ - "1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -23670,17 +62870,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551616,0)", + "id": "rem_assign_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "0" @@ -23693,10 +62893,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551616,1)", + "id": "rem_assign_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "1" @@ -23704,17 +62904,17 @@ }, "expect": { "out": [ - "18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551616,255)", + "id": "rem_assign_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "255" @@ -23722,17 +62922,17 @@ }, "expect": { "out": [ - "72340172838076673" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -23747,10 +62947,10 @@ }, { "step": "scQuery", - "id": "div_assign_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "div_assign_big_uint_ref", + "function": "rem_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -23758,17 +62958,17 @@ }, "expect": { "out": [ - "1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(0,0)", + "id": "rem_assign_big_uint_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ "0", "0" @@ -23781,13 +62981,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(0,1)", + "id": "rem_assign_big_uint_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ "0", - "+1" + "1" ] }, "expect": { @@ -23799,13 +62999,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(0,255)", + "id": "rem_assign_big_uint_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ "0", - "+255" + "255" ] }, "expect": { @@ -23817,13 +63017,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(0,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ "0", - "+18446744073709551615" + "18446744073709551615" ] }, "expect": { @@ -23835,13 +63035,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(0,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ "0", - "+18446744073709551616" + "18446744073709551616" ] }, "expect": { @@ -23853,31 +63053,29 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(0,-1)", + "id": "rem_assign_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "0", - "-1" + "1", + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(0,-256)", + "id": "rem_assign_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "0", - "-256" + "1", + "1" ] }, "expect": { @@ -23889,101 +63087,101 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(1,0)", + "id": "rem_assign_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "0" + "1", + "255" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(1,1)", + "id": "rem_assign_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "+1" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(1,255)", + "id": "rem_assign_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "+255" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "+1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(1,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "+18446744073709551615" + "255", + "0" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(1,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "+18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "+1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(1,-1)", + "id": "rem_assign_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "-1" + "255", + "255" ] }, "expect": { @@ -23995,65 +63193,65 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(1,-256)", + "id": "rem_assign_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+1", - "-256" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "+1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(255,0)", + "id": "rem_assign_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "0" + "255", + "18446744073709551616" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "255" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(255,1)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "+1" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(255,255)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "+255" + "18446744073709551615", + "1" ] }, "expect": { @@ -24065,137 +63263,137 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(255,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(255,18446744073709551616)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "+18446744073709551616" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(255,-1)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "-1" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(255,-256)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+255", - "-256" + "18446744073709551616", + "0" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551615,0)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "0" + "18446744073709551616", + "1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551615,1)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551615,255)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+255" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551615,18446744073709551615)", + "id": "rem_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { @@ -24207,31 +63405,29 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551615,18446744073709551616)", + "id": "rem_assign_big_uint_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "0", + "0" ] }, "expect": { - "out": [ - "+18446744073709551615" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551615,-1)", + "id": "rem_assign_big_uint_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551615", - "-1" + "0", + "1" ] }, "expect": { @@ -24243,30 +63439,30 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551615,-256)", + "id": "rem_assign_big_uint_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551615", - "-256" + "0", + "255" ] }, "expect": { "out": [ - "+255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551616,0)", + "id": "rem_assign_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", + "1", "0" ] }, @@ -24277,13 +63473,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551616,1)", + "id": "rem_assign_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+1" + "1", + "1" ] }, "expect": { @@ -24295,49 +63491,47 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551616,255)", + "id": "rem_assign_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+255" + "1", + "255" ] }, "expect": { "out": [ - "+1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551616,18446744073709551615)", + "id": "rem_assign_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "255", + "0" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551616,18446744073709551616)", + "id": "rem_assign_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "255", + "1" ] }, "expect": { @@ -24349,13 +63543,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551616,-1)", + "id": "rem_assign_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "-1" + "255", + "255" ] }, "expect": { @@ -24367,47 +63561,47 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(18446744073709551616,-256)", + "id": "rem_assign_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "+18446744073709551616", - "-256" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-1,0)", + "id": "rem_assign_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "-1", - "0" + "18446744073709551615", + "1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "0" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-1,1)", + "id": "rem_assign_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "-1", - "+1" + "18446744073709551615", + "255" ] }, "expect": { @@ -24419,67 +63613,81 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(-1,255)", + "id": "rem_assign_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "-1", - "+255" + "18446744073709551616", + "0" ] }, "expect": { - "out": [ - "-1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-1,18446744073709551615)", + "id": "rem_assign_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "-1", - "+18446744073709551615" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-1,18446744073709551616)", + "id": "rem_assign_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u32", "arguments": [ - "-1", - "+18446744073709551616" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-1,-1)", + "id": "rem_assign_big_uint_u64(0,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-1", - "-1" + "0", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_assign_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_assign_big_uint_u64", + "arguments": [ + "0", + "1" ] }, "expect": { @@ -24491,30 +63699,30 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(-1,-256)", + "id": "rem_assign_big_uint_u64(0,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-1", - "-256" + "0", + "255" ] }, "expect": { "out": [ - "-1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-256,0)", + "id": "rem_assign_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-256", + "1", "0" ] }, @@ -24525,13 +63733,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(-256,1)", + "id": "rem_assign_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-256", - "+1" + "1", + "1" ] }, "expect": { @@ -24543,67 +63751,99 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(-256,255)", + "id": "rem_assign_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-256", - "+255" + "1", + "255" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-256,18446744073709551615)", + "id": "rem_assign_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-256", - "+18446744073709551615" + "255", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_assign_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_assign_big_uint_u64", + "arguments": [ + "255", + "1" ] }, "expect": { "out": [ - "-256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-256,18446744073709551616)", + "id": "rem_assign_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-256", - "+18446744073709551616" + "255", + "255" ] }, "expect": { "out": [ - "-256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int(-256,-1)", + "id": "rem_assign_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-256", - "-1" + "18446744073709551615", + "0" + ] + }, + "expect": { + "status": "10", + "message": "str:division by 0" + } + }, + { + "step": "scQuery", + "id": "rem_assign_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "rem_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" ] }, "expect": { @@ -24615,13 +63855,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int(-256,-256)", + "id": "rem_assign_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int", + "function": "rem_assign_big_uint_u64", "arguments": [ - "-256", - "-256" + "18446744073709551615", + "255" ] }, "expect": { @@ -24633,12 +63873,12 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(0,0)", + "id": "rem_assign_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_big_uint_u64", "arguments": [ - "0", + "18446744073709551616", "0" ] }, @@ -24649,13 +63889,13 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(0,1)", + "id": "rem_assign_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_big_uint_u64", "arguments": [ - "0", - "+1" + "18446744073709551616", + "1" ] }, "expect": { @@ -24667,598 +63907,574 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(0,255)", + "id": "rem_assign_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_big_uint_u64", "arguments": [ - "0", - "+255" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(0,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "+18446744073709551615" + "1", + "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(0,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "+18446744073709551616" + "1", + "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(0,-1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "-1" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(0,-256)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "0", - "-256" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(1,0)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "0" + "255", + "1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(1,1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+1" + "255", + "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(1,255)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+255" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "+1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(1,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+18446744073709551615" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "+1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(1,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "+18446744073709551616" + "18446744073709551615", + "1" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(1,-1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "-1" + "18446744073709551615", + "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(1,-256)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+1", - "-256" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(255,0)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "0" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "18446744073709551615" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(255,1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+1" + "18446744073709551616", + "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(255,255)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+255" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(255,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+18446744073709551615" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "+255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(255,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint", "arguments": [ - "+255", - "+18446744073709551616" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(255,-1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+255", - "-1" + "1", + "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(255,-256)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+255", - "-256" + "1", + "255" ] }, "expect": { "out": [ - "+255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551615,0)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "0" + "1", + "18446744073709551615" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "out": [ + "1" + ], + "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551615,1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+1" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551615,255)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+255" + "255", + "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551615,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+18446744073709551615" + "255", + "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551615,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "+18446744073709551616" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "+18446744073709551615" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551615,-1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "-1" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551615,-256)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551615", - "-256" + "18446744073709551615", + "1" ] }, "expect": { - "out": [ - "+255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551616,0)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "0" + "18446744073709551615", + "255" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551616,1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+1" + "18446744073709551615", + "18446744073709551615" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551616,255)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+255" + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "+1" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551616,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+18446744073709551615" + "18446744073709551616", + "1" ] }, "expect": { - "out": [ - "+1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551616,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "+18446744073709551616" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551616,-1)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "-1" + "18446744073709551616", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(18446744073709551616,-256)", + "id": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_non_zero_big_uint_ref", "arguments": [ - "+18446744073709551616", - "-256" + "18446744073709551616", + "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-1,0)", + "id": "rem_assign_non_zero_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", + "1", "0" ] }, @@ -25269,244 +64485,248 @@ }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-1,1)", + "id": "rem_assign_non_zero_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "+1" + "1", + "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-1,255)", + "id": "rem_assign_non_zero_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "+255" + "1", + "255" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-1,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "+18446744073709551615" + "1", + "18446744073709551615" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-1,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "+18446744073709551616" + "1", + "18446744073709551616" ] }, "expect": { "out": [ - "-1" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-1,-1)", + "id": "rem_assign_non_zero_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "-1" + "255", + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-1,-256)", + "id": "rem_assign_non_zero_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-1", - "-256" + "255", + "1" ] }, "expect": { - "out": [ - "-1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-256,0)", + "id": "rem_assign_non_zero_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "0" + "255", + "255" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-256,1)", + "id": "rem_assign_non_zero_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "+1" + "255", + "18446744073709551615" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-256,255)", + "id": "rem_assign_non_zero_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "+255" + "255", + "18446744073709551616" ] }, "expect": { "out": [ - "-1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-256,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "+18446744073709551615" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "-256" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-256,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "+18446744073709551616" + "18446744073709551615", + "1" ] }, "expect": { - "out": [ - "-256" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-256,-1)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "-1" + "18446744073709551615", + "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_int_ref(-256,-256)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_int_ref", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "-256", - "-256" + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "status": "4", + "message": "str:zero value not allowed" + } + }, + { + "step": "scQuery", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "rem_assign_non_zero_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(0,0)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "0" ] }, @@ -25517,82 +64737,78 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(0,1)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(0,255)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(0,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "18446744073709551615" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(0,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint", "arguments": [ - "0", + "18446744073709551616", "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(1,0)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "0" @@ -25605,28 +64821,26 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(1,1)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(1,255)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "255" @@ -25641,10 +64855,10 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(1,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551615" @@ -25659,10 +64873,10 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(1,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551616" @@ -25677,10 +64891,10 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(255,0)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "0" @@ -25693,46 +64907,42 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(255,1)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(255,255)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(255,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551615" @@ -25747,10 +64957,10 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(255,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551616" @@ -25765,10 +64975,10 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551615,0)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "0" @@ -25781,64 +64991,58 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551615,1)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551615,255)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551615,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551615" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551615,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -25853,10 +65057,10 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551616,0)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "0" @@ -25869,28 +65073,26 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551616,1)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551616,255)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "255" @@ -25905,10 +65107,10 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551616,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -25923,30 +65125,28 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint(18446744073709551616,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint", + "function": "rem_assign_non_zero_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551616" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(0,0)", + "id": "rem_assign_non_zero_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "0" ] }, @@ -25957,260 +65157,242 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(0,1)", + "id": "rem_assign_non_zero_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(0,255)", + "id": "rem_assign_non_zero_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "0", + "1", "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(0,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "18446744073709551615" + "255", + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(0,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "0", - "18446744073709551616" + "255", + "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(1,0)", + "id": "rem_assign_non_zero_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "0" + "255", + "255" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(1,1)", + "id": "rem_assign_non_zero_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "1" + "18446744073709551615", + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(1,255)", + "id": "rem_assign_non_zero_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "255" + "18446744073709551615", + "1" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(1,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "18446744073709551615" + "18446744073709551615", + "255" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(1,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "1", - "18446744073709551616" + "18446744073709551616", + "0" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(255,0)", + "id": "rem_assign_non_zero_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "255", - "0" + "18446744073709551616", + "1" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(255,1)", + "id": "rem_assign_non_zero_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u32", "arguments": [ - "255", - "1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(255,255)", + "id": "rem_assign_non_zero_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ - "255", - "255" + "1", + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(255,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ - "255", - "18446744073709551615" + "1", + "1" ] }, "expect": { - "out": [ - "255" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(255,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ - "255", - "18446744073709551616" + "1", + "255" ] }, "expect": { "out": [ - "255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551615,0)", + "id": "rem_assign_non_zero_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551615", + "255", "0" ] }, @@ -26221,160 +65403,130 @@ }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551615,1)", + "id": "rem_assign_non_zero_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551615", + "255", "1" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551615,255)", + "id": "rem_assign_non_zero_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551615", + "255", "255" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551615", - "18446744073709551615" + "0" ] }, "expect": { - "out": [ - "0" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551615", - "18446744073709551616" + "1" ] }, "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551616,0)", + "id": "rem_assign_non_zero_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ - "18446744073709551616", - "0" + "18446744073709551615", + "255" ] }, "expect": { - "status": "10", - "message": "str:division by 0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551616,1)", + "id": "rem_assign_non_zero_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551616", - "1" - ] - }, - "expect": { - "out": [ "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551616,255)", - "tx": { - "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", - "arguments": [ - "18446744073709551616", - "255" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "10", + "message": "str:division by 0" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "rem_assign_non_zero_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551616", - "18446744073709551615" + "1" ] }, "expect": { - "out": [ - "1" - ], - "status": "0" + "status": "4", + "message": "str:zero value not allowed" } }, { "step": "scQuery", - "id": "rem_assign_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "rem_assign_non_zero_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "rem_assign_big_uint_ref", + "function": "rem_assign_non_zero_big_uint_u64", "arguments": [ "18446744073709551616", - "18446744073709551616" + "255" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } diff --git a/contracts/feature-tests/basic-features/scenarios/big_num_ops_bitwise.scen.json b/contracts/feature-tests/basic-features/scenarios/big_num_ops_bitwise.scen.json index 0a67dfbfc2..3dda2a2855 100644 --- a/contracts/feature-tests/basic-features/scenarios/big_num_ops_bitwise.scen.json +++ b/contracts/feature-tests/basic-features/scenarios/big_num_ops_bitwise.scen.json @@ -13,10 +13,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(0,0)", + "id": "bit_and_big_uint_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "0", "0" @@ -31,10 +31,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(0,1)", + "id": "bit_and_big_uint_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "0", "1" @@ -49,10 +49,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(0,2)", + "id": "bit_and_big_uint_big_uint(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "0", "2" @@ -67,10 +67,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(0,255)", + "id": "bit_and_big_uint_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "0", "255" @@ -85,10 +85,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(0,256)", + "id": "bit_and_big_uint_big_uint(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "0", "256" @@ -103,10 +103,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(0,18446744073709551615)", + "id": "bit_and_big_uint_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "0", "18446744073709551615" @@ -121,10 +121,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(0,18446744073709551616)", + "id": "bit_and_big_uint_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "0", "18446744073709551616" @@ -139,10 +139,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(1,0)", + "id": "bit_and_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "1", "0" @@ -157,10 +157,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(1,1)", + "id": "bit_and_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "1", "1" @@ -175,10 +175,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(1,2)", + "id": "bit_and_big_uint_big_uint(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "1", "2" @@ -193,10 +193,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(1,255)", + "id": "bit_and_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "1", "255" @@ -211,10 +211,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(1,256)", + "id": "bit_and_big_uint_big_uint(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "1", "256" @@ -229,10 +229,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(1,18446744073709551615)", + "id": "bit_and_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "1", "18446744073709551615" @@ -247,10 +247,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(1,18446744073709551616)", + "id": "bit_and_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "1", "18446744073709551616" @@ -265,10 +265,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(2,0)", + "id": "bit_and_big_uint_big_uint(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "2", "0" @@ -283,10 +283,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(2,1)", + "id": "bit_and_big_uint_big_uint(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "2", "1" @@ -301,10 +301,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(2,2)", + "id": "bit_and_big_uint_big_uint(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "2", "2" @@ -319,10 +319,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(2,255)", + "id": "bit_and_big_uint_big_uint(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "2", "255" @@ -337,10 +337,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(2,256)", + "id": "bit_and_big_uint_big_uint(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "2", "256" @@ -355,10 +355,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(2,18446744073709551615)", + "id": "bit_and_big_uint_big_uint(2,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "2", "18446744073709551615" @@ -373,10 +373,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(2,18446744073709551616)", + "id": "bit_and_big_uint_big_uint(2,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "2", "18446744073709551616" @@ -391,10 +391,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(255,0)", + "id": "bit_and_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "255", "0" @@ -409,10 +409,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(255,1)", + "id": "bit_and_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "255", "1" @@ -427,10 +427,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(255,2)", + "id": "bit_and_big_uint_big_uint(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "255", "2" @@ -445,10 +445,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(255,255)", + "id": "bit_and_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "255", "255" @@ -463,10 +463,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(255,256)", + "id": "bit_and_big_uint_big_uint(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "255", "256" @@ -481,10 +481,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(255,18446744073709551615)", + "id": "bit_and_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "255", "18446744073709551615" @@ -499,10 +499,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(255,18446744073709551616)", + "id": "bit_and_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "255", "18446744073709551616" @@ -517,10 +517,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(256,0)", + "id": "bit_and_big_uint_big_uint(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "256", "0" @@ -535,10 +535,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(256,1)", + "id": "bit_and_big_uint_big_uint(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "256", "1" @@ -553,10 +553,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(256,2)", + "id": "bit_and_big_uint_big_uint(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "256", "2" @@ -571,10 +571,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(256,255)", + "id": "bit_and_big_uint_big_uint(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "256", "255" @@ -589,10 +589,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(256,256)", + "id": "bit_and_big_uint_big_uint(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "256", "256" @@ -607,10 +607,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(256,18446744073709551615)", + "id": "bit_and_big_uint_big_uint(256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "256", "18446744073709551615" @@ -625,10 +625,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(256,18446744073709551616)", + "id": "bit_and_big_uint_big_uint(256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "256", "18446744073709551616" @@ -643,10 +643,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551615,0)", + "id": "bit_and_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551615", "0" @@ -661,10 +661,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551615,1)", + "id": "bit_and_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551615", "1" @@ -679,10 +679,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551615,2)", + "id": "bit_and_big_uint_big_uint(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551615", "2" @@ -697,10 +697,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551615,255)", + "id": "bit_and_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551615", "255" @@ -715,10 +715,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551615,256)", + "id": "bit_and_big_uint_big_uint(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551615", "256" @@ -733,10 +733,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551615,18446744073709551615)", + "id": "bit_and_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -751,10 +751,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551615,18446744073709551616)", + "id": "bit_and_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -769,10 +769,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551616,0)", + "id": "bit_and_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551616", "0" @@ -787,10 +787,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551616,1)", + "id": "bit_and_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551616", "1" @@ -805,10 +805,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551616,2)", + "id": "bit_and_big_uint_big_uint(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551616", "2" @@ -823,10 +823,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551616,255)", + "id": "bit_and_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551616", "255" @@ -841,10 +841,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551616,256)", + "id": "bit_and_big_uint_big_uint(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551616", "256" @@ -859,10 +859,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551616,18446744073709551615)", + "id": "bit_and_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -877,10 +877,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint(18446744073709551616,18446744073709551616)", + "id": "bit_and_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint", + "function": "bit_and_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -895,10 +895,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(0,0)", + "id": "bit_and_big_uint_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "0", "0" @@ -913,10 +913,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(0,1)", + "id": "bit_and_big_uint_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "0", "1" @@ -931,10 +931,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(0,2)", + "id": "bit_and_big_uint_big_uint_ref(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "0", "2" @@ -949,10 +949,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(0,255)", + "id": "bit_and_big_uint_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "0", "255" @@ -967,10 +967,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(0,256)", + "id": "bit_and_big_uint_big_uint_ref(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "0", "256" @@ -985,10 +985,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(0,18446744073709551615)", + "id": "bit_and_big_uint_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "0", "18446744073709551615" @@ -1003,10 +1003,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(0,18446744073709551616)", + "id": "bit_and_big_uint_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "0", "18446744073709551616" @@ -1021,10 +1021,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(1,0)", + "id": "bit_and_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "1", "0" @@ -1039,10 +1039,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(1,1)", + "id": "bit_and_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "1", "1" @@ -1057,10 +1057,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(1,2)", + "id": "bit_and_big_uint_big_uint_ref(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "1", "2" @@ -1075,10 +1075,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(1,255)", + "id": "bit_and_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "1", "255" @@ -1093,10 +1093,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(1,256)", + "id": "bit_and_big_uint_big_uint_ref(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "1", "256" @@ -1111,10 +1111,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(1,18446744073709551615)", + "id": "bit_and_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551615" @@ -1129,10 +1129,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(1,18446744073709551616)", + "id": "bit_and_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551616" @@ -1147,10 +1147,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(2,0)", + "id": "bit_and_big_uint_big_uint_ref(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "2", "0" @@ -1165,10 +1165,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(2,1)", + "id": "bit_and_big_uint_big_uint_ref(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "2", "1" @@ -1183,10 +1183,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(2,2)", + "id": "bit_and_big_uint_big_uint_ref(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "2", "2" @@ -1201,10 +1201,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(2,255)", + "id": "bit_and_big_uint_big_uint_ref(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "2", "255" @@ -1219,10 +1219,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(2,256)", + "id": "bit_and_big_uint_big_uint_ref(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "2", "256" @@ -1237,10 +1237,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(2,18446744073709551615)", + "id": "bit_and_big_uint_big_uint_ref(2,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "2", "18446744073709551615" @@ -1255,10 +1255,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(2,18446744073709551616)", + "id": "bit_and_big_uint_big_uint_ref(2,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "2", "18446744073709551616" @@ -1273,10 +1273,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(255,0)", + "id": "bit_and_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "255", "0" @@ -1291,10 +1291,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(255,1)", + "id": "bit_and_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "255", "1" @@ -1309,10 +1309,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(255,2)", + "id": "bit_and_big_uint_big_uint_ref(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "255", "2" @@ -1327,10 +1327,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(255,255)", + "id": "bit_and_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "255", "255" @@ -1345,10 +1345,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(255,256)", + "id": "bit_and_big_uint_big_uint_ref(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "255", "256" @@ -1363,10 +1363,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(255,18446744073709551615)", + "id": "bit_and_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551615" @@ -1381,10 +1381,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(255,18446744073709551616)", + "id": "bit_and_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551616" @@ -1399,10 +1399,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(256,0)", + "id": "bit_and_big_uint_big_uint_ref(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "256", "0" @@ -1417,10 +1417,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(256,1)", + "id": "bit_and_big_uint_big_uint_ref(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "256", "1" @@ -1435,10 +1435,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(256,2)", + "id": "bit_and_big_uint_big_uint_ref(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "256", "2" @@ -1453,10 +1453,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(256,255)", + "id": "bit_and_big_uint_big_uint_ref(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "256", "255" @@ -1471,10 +1471,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(256,256)", + "id": "bit_and_big_uint_big_uint_ref(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "256", "256" @@ -1489,10 +1489,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(256,18446744073709551615)", + "id": "bit_and_big_uint_big_uint_ref(256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "256", "18446744073709551615" @@ -1507,10 +1507,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(256,18446744073709551616)", + "id": "bit_and_big_uint_big_uint_ref(256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "256", "18446744073709551616" @@ -1525,10 +1525,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551615,0)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "0" @@ -1543,10 +1543,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551615,1)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "1" @@ -1561,10 +1561,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551615,2)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "2" @@ -1579,10 +1579,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551615,255)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "255" @@ -1597,10 +1597,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551615,256)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "256" @@ -1615,10 +1615,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -1633,10 +1633,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -1651,10 +1651,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551616,0)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "0" @@ -1669,10 +1669,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551616,1)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "1" @@ -1687,10 +1687,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551616,2)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "2" @@ -1705,10 +1705,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551616,255)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "255" @@ -1723,10 +1723,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551616,256)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "256" @@ -1741,10 +1741,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -1759,10 +1759,10 @@ }, { "step": "scQuery", - "id": "bit_and_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "bit_and_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_big_uint_ref", + "function": "bit_and_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -1777,10 +1777,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint(0,0)", + "id": "bit_and_big_uint_ref_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "0", "0" @@ -1795,10 +1795,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint(0,1)", + "id": "bit_and_big_uint_ref_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "0", "1" @@ -1806,17 +1806,17 @@ }, "expect": { "out": [ - "1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(0,2)", + "id": "bit_and_big_uint_ref_big_uint(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "0", "2" @@ -1824,17 +1824,17 @@ }, "expect": { "out": [ - "2" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(0,255)", + "id": "bit_and_big_uint_ref_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "0", "255" @@ -1842,17 +1842,17 @@ }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(0,256)", + "id": "bit_and_big_uint_ref_big_uint(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "0", "256" @@ -1860,17 +1860,17 @@ }, "expect": { "out": [ - "256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(0,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "0", "18446744073709551615" @@ -1878,17 +1878,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(0,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "0", "18446744073709551616" @@ -1896,17 +1896,17 @@ }, "expect": { "out": [ - "18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(1,0)", + "id": "bit_and_big_uint_ref_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "1", "0" @@ -1914,17 +1914,17 @@ }, "expect": { "out": [ - "1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(1,1)", + "id": "bit_and_big_uint_ref_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "1", "1" @@ -1939,10 +1939,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint(1,2)", + "id": "bit_and_big_uint_ref_big_uint(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "1", "2" @@ -1950,17 +1950,17 @@ }, "expect": { "out": [ - "3" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(1,255)", + "id": "bit_and_big_uint_ref_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "1", "255" @@ -1968,17 +1968,17 @@ }, "expect": { "out": [ - "255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(1,256)", + "id": "bit_and_big_uint_ref_big_uint(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "1", "256" @@ -1986,17 +1986,17 @@ }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(1,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "1", "18446744073709551615" @@ -2004,17 +2004,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(1,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "1", "18446744073709551616" @@ -2022,17 +2022,17 @@ }, "expect": { "out": [ - "18446744073709551617" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(2,0)", + "id": "bit_and_big_uint_ref_big_uint(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "2", "0" @@ -2040,17 +2040,17 @@ }, "expect": { "out": [ - "2" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(2,1)", + "id": "bit_and_big_uint_ref_big_uint(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "2", "1" @@ -2058,17 +2058,17 @@ }, "expect": { "out": [ - "3" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(2,2)", + "id": "bit_and_big_uint_ref_big_uint(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "2", "2" @@ -2083,10 +2083,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint(2,255)", + "id": "bit_and_big_uint_ref_big_uint(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "2", "255" @@ -2094,17 +2094,17 @@ }, "expect": { "out": [ - "255" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(2,256)", + "id": "bit_and_big_uint_ref_big_uint(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "2", "256" @@ -2112,17 +2112,17 @@ }, "expect": { "out": [ - "258" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(2,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint(2,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "2", "18446744073709551615" @@ -2130,17 +2130,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(2,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint(2,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "2", "18446744073709551616" @@ -2148,17 +2148,17 @@ }, "expect": { "out": [ - "18446744073709551618" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(255,0)", + "id": "bit_and_big_uint_ref_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "255", "0" @@ -2166,17 +2166,17 @@ }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(255,1)", + "id": "bit_and_big_uint_ref_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "255", "1" @@ -2184,17 +2184,17 @@ }, "expect": { "out": [ - "255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(255,2)", + "id": "bit_and_big_uint_ref_big_uint(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "255", "2" @@ -2202,17 +2202,17 @@ }, "expect": { "out": [ - "255" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(255,255)", + "id": "bit_and_big_uint_ref_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "255", "255" @@ -2227,10 +2227,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint(255,256)", + "id": "bit_and_big_uint_ref_big_uint(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "255", "256" @@ -2238,17 +2238,17 @@ }, "expect": { "out": [ - "511" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(255,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "255", "18446744073709551615" @@ -2256,17 +2256,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(255,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "255", "18446744073709551616" @@ -2274,17 +2274,17 @@ }, "expect": { "out": [ - "18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(256,0)", + "id": "bit_and_big_uint_ref_big_uint(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "256", "0" @@ -2292,17 +2292,17 @@ }, "expect": { "out": [ - "256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(256,1)", + "id": "bit_and_big_uint_ref_big_uint(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "256", "1" @@ -2310,17 +2310,17 @@ }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(256,2)", + "id": "bit_and_big_uint_ref_big_uint(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "256", "2" @@ -2328,17 +2328,17 @@ }, "expect": { "out": [ - "258" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(256,255)", + "id": "bit_and_big_uint_ref_big_uint(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "256", "255" @@ -2346,17 +2346,17 @@ }, "expect": { "out": [ - "511" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(256,256)", + "id": "bit_and_big_uint_ref_big_uint(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "256", "256" @@ -2371,10 +2371,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint(256,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint(256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "256", "18446744073709551615" @@ -2382,17 +2382,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(256,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint(256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "256", "18446744073709551616" @@ -2400,17 +2400,17 @@ }, "expect": { "out": [ - "18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551615,0)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "0" @@ -2418,17 +2418,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551615,1)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "1" @@ -2436,17 +2436,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551615,2)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "2" @@ -2454,17 +2454,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551615,255)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "255" @@ -2472,17 +2472,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551615,256)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "256" @@ -2490,17 +2490,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551615,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -2515,10 +2515,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551615,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -2526,17 +2526,17 @@ }, "expect": { "out": [ - "36893488147419103231" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551616,0)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "0" @@ -2544,17 +2544,17 @@ }, "expect": { "out": [ - "18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551616,1)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "1" @@ -2562,17 +2562,17 @@ }, "expect": { "out": [ - "18446744073709551617" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551616,2)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "2" @@ -2580,17 +2580,17 @@ }, "expect": { "out": [ - "18446744073709551618" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551616,255)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "255" @@ -2598,17 +2598,17 @@ }, "expect": { "out": [ - "18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551616,256)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "256" @@ -2616,17 +2616,17 @@ }, "expect": { "out": [ - "18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551616,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -2634,17 +2634,17 @@ }, "expect": { "out": [ - "36893488147419103231" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint(18446744073709551616,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint", + "function": "bit_and_big_uint_ref_big_uint", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -2659,10 +2659,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(0,0)", + "id": "bit_and_big_uint_ref_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "0", "0" @@ -2677,10 +2677,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(0,1)", + "id": "bit_and_big_uint_ref_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "0", "1" @@ -2688,17 +2688,17 @@ }, "expect": { "out": [ - "1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(0,2)", + "id": "bit_and_big_uint_ref_big_uint_ref(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "0", "2" @@ -2706,17 +2706,17 @@ }, "expect": { "out": [ - "2" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(0,255)", + "id": "bit_and_big_uint_ref_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "0", "255" @@ -2724,17 +2724,17 @@ }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(0,256)", + "id": "bit_and_big_uint_ref_big_uint_ref(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "0", "256" @@ -2742,17 +2742,17 @@ }, "expect": { "out": [ - "256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(0,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "0", "18446744073709551615" @@ -2760,17 +2760,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(0,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "0", "18446744073709551616" @@ -2778,17 +2778,17 @@ }, "expect": { "out": [ - "18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(1,0)", + "id": "bit_and_big_uint_ref_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "1", "0" @@ -2796,17 +2796,17 @@ }, "expect": { "out": [ - "1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(1,1)", + "id": "bit_and_big_uint_ref_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "1", "1" @@ -2821,10 +2821,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(1,2)", + "id": "bit_and_big_uint_ref_big_uint_ref(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "1", "2" @@ -2832,17 +2832,17 @@ }, "expect": { "out": [ - "3" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(1,255)", + "id": "bit_and_big_uint_ref_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "1", "255" @@ -2850,17 +2850,17 @@ }, "expect": { "out": [ - "255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(1,256)", + "id": "bit_and_big_uint_ref_big_uint_ref(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "1", "256" @@ -2868,17 +2868,17 @@ }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(1,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "1", "18446744073709551615" @@ -2886,17 +2886,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(1,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "1", "18446744073709551616" @@ -2904,17 +2904,17 @@ }, "expect": { "out": [ - "18446744073709551617" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(2,0)", + "id": "bit_and_big_uint_ref_big_uint_ref(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "2", "0" @@ -2922,17 +2922,17 @@ }, "expect": { "out": [ - "2" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(2,1)", + "id": "bit_and_big_uint_ref_big_uint_ref(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "2", "1" @@ -2940,17 +2940,17 @@ }, "expect": { "out": [ - "3" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(2,2)", + "id": "bit_and_big_uint_ref_big_uint_ref(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "2", "2" @@ -2965,10 +2965,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(2,255)", + "id": "bit_and_big_uint_ref_big_uint_ref(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "2", "255" @@ -2976,17 +2976,17 @@ }, "expect": { "out": [ - "255" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(2,256)", + "id": "bit_and_big_uint_ref_big_uint_ref(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "2", "256" @@ -2994,17 +2994,17 @@ }, "expect": { "out": [ - "258" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(2,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint_ref(2,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "2", "18446744073709551615" @@ -3012,17 +3012,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(2,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint_ref(2,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "2", "18446744073709551616" @@ -3030,17 +3030,17 @@ }, "expect": { "out": [ - "18446744073709551618" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(255,0)", + "id": "bit_and_big_uint_ref_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "255", "0" @@ -3048,17 +3048,17 @@ }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(255,1)", + "id": "bit_and_big_uint_ref_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "255", "1" @@ -3066,17 +3066,17 @@ }, "expect": { "out": [ - "255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(255,2)", + "id": "bit_and_big_uint_ref_big_uint_ref(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "255", "2" @@ -3084,17 +3084,17 @@ }, "expect": { "out": [ - "255" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(255,255)", + "id": "bit_and_big_uint_ref_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "255", "255" @@ -3109,10 +3109,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(255,256)", + "id": "bit_and_big_uint_ref_big_uint_ref(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "255", "256" @@ -3120,17 +3120,17 @@ }, "expect": { "out": [ - "511" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(255,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "255", "18446744073709551615" @@ -3138,17 +3138,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(255,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "255", "18446744073709551616" @@ -3156,17 +3156,17 @@ }, "expect": { "out": [ - "18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(256,0)", + "id": "bit_and_big_uint_ref_big_uint_ref(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "256", "0" @@ -3174,17 +3174,17 @@ }, "expect": { "out": [ - "256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(256,1)", + "id": "bit_and_big_uint_ref_big_uint_ref(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "256", "1" @@ -3192,17 +3192,17 @@ }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(256,2)", + "id": "bit_and_big_uint_ref_big_uint_ref(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "256", "2" @@ -3210,17 +3210,17 @@ }, "expect": { "out": [ - "258" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(256,255)", + "id": "bit_and_big_uint_ref_big_uint_ref(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "256", "255" @@ -3228,17 +3228,17 @@ }, "expect": { "out": [ - "511" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(256,256)", + "id": "bit_and_big_uint_ref_big_uint_ref(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "256", "256" @@ -3253,10 +3253,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(256,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint_ref(256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "256", "18446744073709551615" @@ -3264,17 +3264,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(256,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint_ref(256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "256", "18446744073709551616" @@ -3282,17 +3282,17 @@ }, "expect": { "out": [ - "18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551615,0)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "0" @@ -3300,17 +3300,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551615,1)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "1" @@ -3318,17 +3318,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551615,2)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "2" @@ -3336,17 +3336,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551615,255)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "255" @@ -3354,17 +3354,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551615,256)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "256" @@ -3372,17 +3372,17 @@ }, "expect": { "out": [ - "18446744073709551615" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -3397,10 +3397,10 @@ }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -3408,17 +3408,17 @@ }, "expect": { "out": [ - "36893488147419103231" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551616,0)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "0" @@ -3426,17 +3426,17 @@ }, "expect": { "out": [ - "18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551616,1)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "1" @@ -3444,17 +3444,17 @@ }, "expect": { "out": [ - "18446744073709551617" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551616,2)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "2" @@ -3462,17 +3462,17 @@ }, "expect": { "out": [ - "18446744073709551618" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551616,255)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "255" @@ -3480,17 +3480,17 @@ }, "expect": { "out": [ - "18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551616,256)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "256" @@ -3498,17 +3498,17 @@ }, "expect": { "out": [ - "18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -3516,17 +3516,17 @@ }, "expect": { "out": [ - "36893488147419103231" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "bit_and_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_big_uint_ref", + "function": "bit_and_big_uint_ref_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -3541,10 +3541,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(0,0)", + "id": "bit_and_big_uint_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "0", "0" @@ -3559,10 +3559,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(0,1)", + "id": "bit_and_big_uint_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "0", "1" @@ -3570,17 +3570,17 @@ }, "expect": { "out": [ - "1" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(0,2)", + "id": "bit_and_big_uint_u32(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "0", "2" @@ -3588,17 +3588,17 @@ }, "expect": { "out": [ - "2" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(0,255)", + "id": "bit_and_big_uint_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "0", "255" @@ -3606,17 +3606,17 @@ }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(0,256)", + "id": "bit_and_big_uint_u32(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "0", "256" @@ -3624,56 +3624,38 @@ }, "expect": { "out": [ - "256" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "bit_xor_big_uint(0,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "bit_xor_big_uint", - "arguments": [ - "0", - "18446744073709551615" - ] - }, - "expect": { - "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(0,18446744073709551616)", + "id": "bit_and_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ - "0", - "18446744073709551616" + "1", + "0" ] }, "expect": { "out": [ - "18446744073709551616" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(1,0)", + "id": "bit_and_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "1", - "0" + "1" ] }, "expect": { @@ -3685,13 +3667,13 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(1,1)", + "id": "bit_and_big_uint_u32(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "1", - "1" + "2" ] }, "expect": { @@ -3703,103 +3685,103 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(1,2)", + "id": "bit_and_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "1", - "2" + "255" ] }, "expect": { "out": [ - "3" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(1,255)", + "id": "bit_and_big_uint_u32(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "1", - "255" + "256" ] }, "expect": { "out": [ - "254" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(1,256)", + "id": "bit_and_big_uint_u32(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ - "1", - "256" + "2", + "0" ] }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(1,18446744073709551615)", + "id": "bit_and_big_uint_u32(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ - "1", - "18446744073709551615" + "2", + "1" ] }, "expect": { "out": [ - "18446744073709551614" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(1,18446744073709551616)", + "id": "bit_and_big_uint_u32(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ - "1", - "18446744073709551616" + "2", + "2" ] }, "expect": { "out": [ - "18446744073709551617" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(2,0)", + "id": "bit_and_big_uint_u32(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "2", - "0" + "255" ] }, "expect": { @@ -3811,31 +3793,31 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(2,1)", + "id": "bit_and_big_uint_u32(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ "2", - "1" + "256" ] }, "expect": { "out": [ - "3" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(2,2)", + "id": "bit_and_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ - "2", - "2" + "255", + "0" ] }, "expect": { @@ -3847,138 +3829,16788 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(2,255)", + "id": "bit_and_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ - "2", - "255" + "255", + "1" ] }, "expect": { "out": [ - "253" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(2,256)", + "id": "bit_and_big_uint_u32(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ - "2", - "256" + "255", + "2" ] }, "expect": { "out": [ - "258" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(2,18446744073709551615)", + "id": "bit_and_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", "arguments": [ - "2", - "18446744073709551615" + "255", + "255" ] }, "expect": { "out": [ - "18446744073709551613" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(2,18446744073709551616)", + "id": "bit_and_big_uint_u32(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_big_uint_u32", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u32(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u32", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u32(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_u64(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_u64", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_big_uint_ref_u64(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u32(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u32", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u32(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_u64(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_u64", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_or_big_uint_ref_u64(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_or_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "36893488147419103231" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u32(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u32", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u32(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u32", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_u64(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_u64", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "3" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "254" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "253" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "257" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "258" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "511" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551614" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551613" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551360" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551359" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "18446744073709551617" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "18446744073709551618" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "18446744073709551871" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_xor_big_uint_ref_u64(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_xor_big_uint_ref_u64", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "18446744073709551872" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(0,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(0,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "0", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(1,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(1,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "1", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "2", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(2,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "2", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(2,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "2", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(255,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(255,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "255", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(256,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "256", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(256,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "256", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "18446744073709551615" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551615", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551616,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551615" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_big_uint_ref", + "arguments": [ + "18446744073709551616", + "18446744073709551616" + ] + }, + "expect": { + "out": [ + "18446744073709551616" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(0,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "0", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(0,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "0", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(0,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "0", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(1,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "1", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "1", + "255" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "1", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(2,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", "arguments": [ "2", - "18446744073709551616" + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "2", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(2,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "2", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(2,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "2", + "255" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(2,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "2", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(255,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "255", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(255,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "255", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(255,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "255", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "256", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(256,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "256", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(256,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "256", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(256,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "256", + "255" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(256,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "256", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551615,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551615,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "1" + ] + }, + "expect": { + "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551615,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551615,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "256" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551616,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551616,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "1" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551616,2)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "2" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u32(18446744073709551616,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u32", + "arguments": [ + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "18446744073709551618" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(255,0)", + "id": "bit_and_assign_big_uint_u32(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u32", "arguments": [ - "255", + "18446744073709551616", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u64", + "arguments": [ + "0", "0" ] }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(255,1)", + "id": "bit_and_assign_big_uint_u64(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "255", + "0", "1" ] }, "expect": { "out": [ - "254" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(255,2)", + "id": "bit_and_assign_big_uint_u64(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "255", + "0", "2" ] }, "expect": { "out": [ - "253" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(255,255)", + "id": "bit_and_assign_big_uint_u64(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "255", + "0", "255" ] }, @@ -3991,138 +20623,192 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(255,256)", + "id": "bit_and_assign_big_uint_u64(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "255", + "0", "256" ] }, "expect": { "out": [ - "511" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(255,18446744073709551615)", + "id": "bit_and_assign_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "255", - "18446744073709551615" + "1", + "0" ] }, "expect": { "out": [ - "18446744073709551360" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(255,18446744073709551616)", + "id": "bit_and_assign_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "255", - "18446744073709551616" + "1", + "1" ] }, "expect": { "out": [ - "18446744073709551871" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(256,0)", + "id": "bit_and_assign_big_uint_u64(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "256", + "1", + "2" + ] + }, + "expect": { + "out": [ "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u64(1,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u64", + "arguments": [ + "1", + "255" ] }, "expect": { "out": [ + "1" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u64(1,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u64", + "arguments": [ + "1", "256" + ] + }, + "expect": { + "out": [ + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(256,1)", + "id": "bit_and_assign_big_uint_u64(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "256", + "2", + "0" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u64(2,1)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u64", + "arguments": [ + "2", "1" ] }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(256,2)", + "id": "bit_and_assign_big_uint_u64(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "256", + "2", "2" ] }, "expect": { "out": [ - "258" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(256,255)", + "id": "bit_and_assign_big_uint_u64(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "256", + "2", "255" ] }, "expect": { "out": [ - "511" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(256,256)", + "id": "bit_and_assign_big_uint_u64(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "256", + "2", "256" ] }, @@ -4135,139 +20821,193 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(256,18446744073709551615)", + "id": "bit_and_assign_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "256", - "18446744073709551615" + "255", + "0" ] }, "expect": { "out": [ - "18446744073709551359" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(256,18446744073709551616)", + "id": "bit_and_assign_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "256", - "18446744073709551616" + "255", + "1" ] }, "expect": { "out": [ - "18446744073709551872" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551615,0)", + "id": "bit_and_assign_big_uint_u64(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "255", + "2" + ] + }, + "expect": { + "out": [ + "2" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u64(255,255)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u64", + "arguments": [ + "255", + "255" + ] + }, + "expect": { + "out": [ + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u64(255,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u64", + "arguments": [ + "255", + "256" + ] + }, + "expect": { + "out": [ + "0" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u64(256,0)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u64", + "arguments": [ + "256", "0" ] }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551615,1)", + "id": "bit_and_assign_big_uint_u64(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "256", "1" ] }, "expect": { "out": [ - "18446744073709551614" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551615,2)", + "id": "bit_and_assign_big_uint_u64(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "256", "2" ] }, "expect": { "out": [ - "18446744073709551613" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551615,255)", + "id": "bit_and_assign_big_uint_u64(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "256", "255" ] }, "expect": { "out": [ - "18446744073709551360" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551615,256)", + "id": "bit_and_assign_big_uint_u64(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "256", "256" ] }, "expect": { "out": [ - "18446744073709551359" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551615,18446744073709551615)", + "id": "bit_and_assign_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ "18446744073709551615", - "18446744073709551615" + "0" ] }, "expect": { @@ -4279,139 +21019,157 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551615,18446744073709551616)", + "id": "bit_and_assign_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ "18446744073709551615", - "18446744073709551616" + "1" ] }, "expect": { "out": [ - "36893488147419103231" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551616,0)", + "id": "bit_and_assign_big_uint_u64(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "0" + "18446744073709551615", + "2" ] }, "expect": { "out": [ - "18446744073709551616" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551616,1)", + "id": "bit_and_assign_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "1" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "18446744073709551617" + "255" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "bit_and_assign_big_uint_u64(18446744073709551615,256)", + "tx": { + "to": "sc:basic-features", + "function": "bit_and_assign_big_uint_u64", + "arguments": [ + "18446744073709551615", + "256" + ] + }, + "expect": { + "out": [ + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551616,2)", + "id": "bit_and_assign_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ "18446744073709551616", - "2" + "0" ] }, "expect": { "out": [ - "18446744073709551618" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551616,255)", + "id": "bit_and_assign_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ "18446744073709551616", - "255" + "1" ] }, "expect": { "out": [ - "18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551616,256)", + "id": "bit_and_assign_big_uint_u64(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ "18446744073709551616", - "256" + "2" ] }, "expect": { "out": [ - "18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551616,18446744073709551615)", + "id": "bit_and_assign_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ "18446744073709551616", - "18446744073709551615" + "255" ] }, "expect": { "out": [ - "36893488147419103231" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint(18446744073709551616,18446744073709551616)", + "id": "bit_and_assign_big_uint_u64(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint", + "function": "bit_and_assign_big_uint_u64", "arguments": [ "18446744073709551616", - "18446744073709551616" + "256" ] }, "expect": { @@ -4423,10 +21181,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(0,0)", + "id": "bit_or_assign_big_uint_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "0", "0" @@ -4441,10 +21199,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(0,1)", + "id": "bit_or_assign_big_uint_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "0", "1" @@ -4459,10 +21217,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(0,2)", + "id": "bit_or_assign_big_uint_big_uint(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "0", "2" @@ -4477,10 +21235,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(0,255)", + "id": "bit_or_assign_big_uint_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "0", "255" @@ -4495,10 +21253,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(0,256)", + "id": "bit_or_assign_big_uint_big_uint(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "0", "256" @@ -4513,10 +21271,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(0,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "0", "18446744073709551615" @@ -4531,10 +21289,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(0,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "0", "18446744073709551616" @@ -4549,10 +21307,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(1,0)", + "id": "bit_or_assign_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "1", "0" @@ -4567,10 +21325,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(1,1)", + "id": "bit_or_assign_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "1", "1" @@ -4578,17 +21336,17 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(1,2)", + "id": "bit_or_assign_big_uint_big_uint(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "1", "2" @@ -4603,10 +21361,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(1,255)", + "id": "bit_or_assign_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "1", "255" @@ -4614,17 +21372,17 @@ }, "expect": { "out": [ - "254" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(1,256)", + "id": "bit_or_assign_big_uint_big_uint(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "1", "256" @@ -4639,10 +21397,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(1,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "1", "18446744073709551615" @@ -4650,17 +21408,17 @@ }, "expect": { "out": [ - "18446744073709551614" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(1,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "1", "18446744073709551616" @@ -4675,10 +21433,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(2,0)", + "id": "bit_or_assign_big_uint_big_uint(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "2", "0" @@ -4693,10 +21451,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(2,1)", + "id": "bit_or_assign_big_uint_big_uint(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "2", "1" @@ -4711,10 +21469,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(2,2)", + "id": "bit_or_assign_big_uint_big_uint(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "2", "2" @@ -4722,17 +21480,17 @@ }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(2,255)", + "id": "bit_or_assign_big_uint_big_uint(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "2", "255" @@ -4740,17 +21498,17 @@ }, "expect": { "out": [ - "253" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(2,256)", + "id": "bit_or_assign_big_uint_big_uint(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "2", "256" @@ -4765,10 +21523,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(2,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint(2,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "2", "18446744073709551615" @@ -4776,17 +21534,17 @@ }, "expect": { "out": [ - "18446744073709551613" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(2,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint(2,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "2", "18446744073709551616" @@ -4801,10 +21559,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(255,0)", + "id": "bit_or_assign_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "255", "0" @@ -4819,10 +21577,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(255,1)", + "id": "bit_or_assign_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "255", "1" @@ -4830,17 +21588,17 @@ }, "expect": { "out": [ - "254" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(255,2)", + "id": "bit_or_assign_big_uint_big_uint(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "255", "2" @@ -4848,17 +21606,17 @@ }, "expect": { "out": [ - "253" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(255,255)", + "id": "bit_or_assign_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "255", "255" @@ -4866,17 +21624,17 @@ }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(255,256)", + "id": "bit_or_assign_big_uint_big_uint(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "255", "256" @@ -4891,10 +21649,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(255,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "255", "18446744073709551615" @@ -4902,17 +21660,17 @@ }, "expect": { "out": [ - "18446744073709551360" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(255,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "255", "18446744073709551616" @@ -4927,10 +21685,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(256,0)", + "id": "bit_or_assign_big_uint_big_uint(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "256", "0" @@ -4945,10 +21703,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(256,1)", + "id": "bit_or_assign_big_uint_big_uint(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "256", "1" @@ -4963,10 +21721,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(256,2)", + "id": "bit_or_assign_big_uint_big_uint(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "256", "2" @@ -4981,10 +21739,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(256,255)", + "id": "bit_or_assign_big_uint_big_uint(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "256", "255" @@ -4999,10 +21757,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(256,256)", + "id": "bit_or_assign_big_uint_big_uint(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "256", "256" @@ -5010,17 +21768,17 @@ }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(256,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint(256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "256", "18446744073709551615" @@ -5028,17 +21786,17 @@ }, "expect": { "out": [ - "18446744073709551359" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(256,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint(256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "256", "18446744073709551616" @@ -5053,10 +21811,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551615,0)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "0" @@ -5071,10 +21829,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551615,1)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "1" @@ -5082,17 +21840,17 @@ }, "expect": { "out": [ - "18446744073709551614" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551615,2)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "2" @@ -5100,17 +21858,17 @@ }, "expect": { "out": [ - "18446744073709551613" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551615,255)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "255" @@ -5118,17 +21876,17 @@ }, "expect": { "out": [ - "18446744073709551360" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551615,256)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "256" @@ -5136,17 +21894,17 @@ }, "expect": { "out": [ - "18446744073709551359" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -5154,17 +21912,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -5179,10 +21937,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551616,0)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "0" @@ -5197,10 +21955,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551616,1)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "1" @@ -5215,10 +21973,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551616,2)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "2" @@ -5233,10 +21991,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551616,255)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "255" @@ -5251,10 +22009,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551616,256)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "256" @@ -5269,10 +22027,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -5287,10 +22045,10 @@ }, { "step": "scQuery", - "id": "bit_xor_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_big_uint_ref", + "function": "bit_or_assign_big_uint_big_uint", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -5298,17 +22056,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(0,0)", + "id": "bit_or_assign_big_uint_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "0", "0" @@ -5323,10 +22081,10 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(0,1)", + "id": "bit_or_assign_big_uint_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "0", "1" @@ -5334,17 +22092,17 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(0,2)", + "id": "bit_or_assign_big_uint_big_uint_ref(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "0", "2" @@ -5352,17 +22110,17 @@ }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(0,255)", + "id": "bit_or_assign_big_uint_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "0", "255" @@ -5370,17 +22128,17 @@ }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(0,256)", + "id": "bit_or_assign_big_uint_big_uint_ref(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "0", "256" @@ -5388,17 +22146,17 @@ }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(0,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "0", "18446744073709551615" @@ -5406,17 +22164,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(0,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "0", "18446744073709551616" @@ -5424,17 +22182,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(1,0)", + "id": "bit_or_assign_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "1", "0" @@ -5442,17 +22200,17 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(1,1)", + "id": "bit_or_assign_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "1", "1" @@ -5467,10 +22225,10 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(1,2)", + "id": "bit_or_assign_big_uint_big_uint_ref(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "1", "2" @@ -5478,17 +22236,17 @@ }, "expect": { "out": [ - "0" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(1,255)", + "id": "bit_or_assign_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "1", "255" @@ -5496,17 +22254,17 @@ }, "expect": { "out": [ - "1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(1,256)", + "id": "bit_or_assign_big_uint_big_uint_ref(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "1", "256" @@ -5514,17 +22272,17 @@ }, "expect": { "out": [ - "0" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(1,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551615" @@ -5532,17 +22290,17 @@ }, "expect": { "out": [ - "1" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(1,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "1", "18446744073709551616" @@ -5550,17 +22308,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(2,0)", + "id": "bit_or_assign_big_uint_big_uint_ref(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "2", "0" @@ -5568,17 +22326,17 @@ }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(2,1)", + "id": "bit_or_assign_big_uint_big_uint_ref(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "2", "1" @@ -5586,17 +22344,17 @@ }, "expect": { "out": [ - "0" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(2,2)", + "id": "bit_or_assign_big_uint_big_uint_ref(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "2", "2" @@ -5611,10 +22369,10 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(2,255)", + "id": "bit_or_assign_big_uint_big_uint_ref(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "2", "255" @@ -5622,17 +22380,17 @@ }, "expect": { "out": [ - "2" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(2,256)", + "id": "bit_or_assign_big_uint_big_uint_ref(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "2", "256" @@ -5640,17 +22398,17 @@ }, "expect": { "out": [ - "0" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(2,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint_ref(2,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "2", "18446744073709551615" @@ -5658,17 +22416,17 @@ }, "expect": { "out": [ - "2" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(2,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint_ref(2,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "2", "18446744073709551616" @@ -5676,17 +22434,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(255,0)", + "id": "bit_or_assign_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "255", "0" @@ -5694,17 +22452,17 @@ }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(255,1)", + "id": "bit_or_assign_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "255", "1" @@ -5712,17 +22470,17 @@ }, "expect": { "out": [ - "1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(255,2)", + "id": "bit_or_assign_big_uint_big_uint_ref(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "255", "2" @@ -5730,17 +22488,17 @@ }, "expect": { "out": [ - "2" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(255,255)", + "id": "bit_or_assign_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "255", "255" @@ -5755,10 +22513,10 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(255,256)", + "id": "bit_or_assign_big_uint_big_uint_ref(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "255", "256" @@ -5766,17 +22524,17 @@ }, "expect": { "out": [ - "0" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(255,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551615" @@ -5784,17 +22542,17 @@ }, "expect": { "out": [ - "255" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(255,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "255", "18446744073709551616" @@ -5802,17 +22560,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(256,0)", + "id": "bit_or_assign_big_uint_big_uint_ref(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "256", "0" @@ -5820,17 +22578,17 @@ }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(256,1)", + "id": "bit_or_assign_big_uint_big_uint_ref(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "256", "1" @@ -5838,17 +22596,17 @@ }, "expect": { "out": [ - "0" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(256,2)", + "id": "bit_or_assign_big_uint_big_uint_ref(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "256", "2" @@ -5856,17 +22614,17 @@ }, "expect": { "out": [ - "0" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(256,255)", + "id": "bit_or_assign_big_uint_big_uint_ref(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "256", "255" @@ -5874,17 +22632,17 @@ }, "expect": { "out": [ - "0" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(256,256)", + "id": "bit_or_assign_big_uint_big_uint_ref(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "256", "256" @@ -5899,10 +22657,10 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(256,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint_ref(256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "256", "18446744073709551615" @@ -5910,17 +22668,17 @@ }, "expect": { "out": [ - "256" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(256,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint_ref(256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "256", "18446744073709551616" @@ -5928,17 +22686,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551615,0)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "0" @@ -5946,17 +22704,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551615,1)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "1" @@ -5964,17 +22722,17 @@ }, "expect": { "out": [ - "1" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551615,2)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "2" @@ -5982,17 +22740,17 @@ }, "expect": { "out": [ - "2" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551615,255)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "255" @@ -6000,17 +22758,17 @@ }, "expect": { "out": [ - "255" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551615,256)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "256" @@ -6018,17 +22776,17 @@ }, "expect": { "out": [ - "256" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551615,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551615" @@ -6043,10 +22801,10 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551615,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551615", "18446744073709551616" @@ -6054,17 +22812,17 @@ }, "expect": { "out": [ - "0" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551616,0)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "0" @@ -6072,17 +22830,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551616,1)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "1" @@ -6090,17 +22848,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551616,2)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "2" @@ -6108,17 +22866,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551616,255)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "255" @@ -6126,17 +22884,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551616,256)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "256" @@ -6144,17 +22902,17 @@ }, "expect": { "out": [ - "0" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551616,18446744073709551615)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551615" @@ -6162,17 +22920,17 @@ }, "expect": { "out": [ - "0" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint(18446744073709551616,18446744073709551616)", + "id": "bit_or_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint", + "function": "bit_or_assign_big_uint_big_uint_ref", "arguments": [ "18446744073709551616", "18446744073709551616" @@ -6187,10 +22945,10 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(0,0)", + "id": "bit_or_assign_big_uint_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "0", "0" @@ -6205,10 +22963,10 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(0,1)", + "id": "bit_or_assign_big_uint_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "0", "1" @@ -6216,17 +22974,17 @@ }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(0,2)", + "id": "bit_or_assign_big_uint_u32(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "0", "2" @@ -6234,17 +22992,17 @@ }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(0,255)", + "id": "bit_or_assign_big_uint_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "0", "255" @@ -6252,17 +23010,17 @@ }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(0,256)", + "id": "bit_or_assign_big_uint_u32(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "0", "256" @@ -6270,559 +23028,559 @@ }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(0,18446744073709551615)", + "id": "bit_or_assign_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "0", - "18446744073709551615" + "1", + "0" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(0,18446744073709551616)", + "id": "bit_or_assign_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "0", - "18446744073709551616" + "1", + "1" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(1,0)", + "id": "bit_or_assign_big_uint_u32(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "1", - "0" + "2" ] }, "expect": { "out": [ - "0" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(1,1)", + "id": "bit_or_assign_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "1", - "1" + "255" ] }, "expect": { "out": [ - "1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(1,2)", + "id": "bit_or_assign_big_uint_u32(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "1", - "2" + "256" ] }, "expect": { "out": [ - "0" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(1,255)", + "id": "bit_or_assign_big_uint_u32(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "1", - "255" + "2", + "0" ] }, "expect": { "out": [ - "1" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(1,256)", + "id": "bit_or_assign_big_uint_u32(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "1", - "256" + "2", + "1" ] }, "expect": { "out": [ - "0" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(1,18446744073709551615)", + "id": "bit_or_assign_big_uint_u32(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "1", - "18446744073709551615" + "2", + "2" ] }, "expect": { "out": [ - "1" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(1,18446744073709551616)", + "id": "bit_or_assign_big_uint_u32(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "1", - "18446744073709551616" + "2", + "255" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(2,0)", + "id": "bit_or_assign_big_uint_u32(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ "2", - "0" + "256" ] }, "expect": { "out": [ - "0" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(2,1)", + "id": "bit_or_assign_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "2", - "1" + "255", + "0" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(2,2)", + "id": "bit_or_assign_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "2", - "2" + "255", + "1" ] }, "expect": { "out": [ - "2" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(2,255)", + "id": "bit_or_assign_big_uint_u32(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "2", - "255" + "255", + "2" ] }, "expect": { "out": [ - "2" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(2,256)", + "id": "bit_or_assign_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "2", - "256" + "255", + "255" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(2,18446744073709551615)", + "id": "bit_or_assign_big_uint_u32(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "2", - "18446744073709551615" + "255", + "256" ] }, "expect": { "out": [ - "2" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(2,18446744073709551616)", + "id": "bit_or_assign_big_uint_u32(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "2", - "18446744073709551616" + "256", + "0" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(255,0)", + "id": "bit_or_assign_big_uint_u32(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "255", - "0" + "256", + "1" ] }, "expect": { "out": [ - "0" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(255,1)", + "id": "bit_or_assign_big_uint_u32(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "255", - "1" + "256", + "2" ] }, "expect": { "out": [ - "1" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(255,2)", + "id": "bit_or_assign_big_uint_u32(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "255", - "2" + "256", + "255" ] }, "expect": { "out": [ - "2" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(255,255)", + "id": "bit_or_assign_big_uint_u32(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "255", - "255" + "256", + "256" ] }, "expect": { "out": [ - "255" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(255,256)", + "id": "bit_or_assign_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "255", - "256" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(255,18446744073709551615)", + "id": "bit_or_assign_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "255", - "18446744073709551615" + "18446744073709551615", + "1" ] }, "expect": { "out": [ - "255" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(255,18446744073709551616)", + "id": "bit_or_assign_big_uint_u32(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "255", - "18446744073709551616" + "18446744073709551615", + "2" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(256,0)", + "id": "bit_or_assign_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "256", - "0" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(256,1)", + "id": "bit_or_assign_big_uint_u32(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "256", - "1" + "18446744073709551615", + "256" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(256,2)", + "id": "bit_or_assign_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "256", - "2" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "0" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(256,255)", + "id": "bit_or_assign_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "256", - "255" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "0" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(256,256)", + "id": "bit_or_assign_big_uint_u32(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "256", - "256" + "18446744073709551616", + "2" ] }, "expect": { "out": [ - "256" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(256,18446744073709551615)", + "id": "bit_or_assign_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "256", - "18446744073709551615" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "256" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(256,18446744073709551616)", + "id": "bit_or_assign_big_uint_u32(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u32", "arguments": [ - "256", - "18446744073709551616" + "18446744073709551616", + "256" ] }, "expect": { "out": [ - "0" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551615,0)", + "id": "bit_or_assign_big_uint_u64(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "0", "0" ] }, @@ -6835,12 +23593,12 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551615,1)", + "id": "bit_or_assign_big_uint_u64(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "0", "1" ] }, @@ -6853,12 +23611,12 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551615,2)", + "id": "bit_or_assign_big_uint_u64(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "0", "2" ] }, @@ -6871,12 +23629,12 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551615,255)", + "id": "bit_or_assign_big_uint_u64(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "0", "255" ] }, @@ -6889,12 +23647,12 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551615,256)", + "id": "bit_or_assign_big_uint_u64(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551615", + "0", "256" ] }, @@ -6907,229 +23665,229 @@ }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "bit_or_assign_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551615", - "18446744073709551615" + "1", + "0" ] }, "expect": { "out": [ - "18446744073709551615" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "bit_or_assign_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551615", - "18446744073709551616" + "1", + "1" ] }, "expect": { "out": [ - "0" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551616,0)", + "id": "bit_or_assign_big_uint_u64(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "0" + "1", + "2" ] }, "expect": { "out": [ - "0" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551616,1)", + "id": "bit_or_assign_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "1" + "1", + "255" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551616,2)", + "id": "bit_or_assign_big_uint_u64(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "2" + "1", + "256" ] }, "expect": { "out": [ - "0" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551616,255)", + "id": "bit_or_assign_big_uint_u64(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "255" + "2", + "0" ] }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551616,256)", + "id": "bit_or_assign_big_uint_u64(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "256" + "2", + "1" ] }, "expect": { "out": [ - "0" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "bit_or_assign_big_uint_u64(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "18446744073709551615" + "2", + "2" ] }, "expect": { "out": [ - "0" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_and_assign_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "bit_or_assign_big_uint_u64(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_and_assign_big_uint_ref", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "2", + "255" ] }, "expect": { "out": [ - "18446744073709551616" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(0,0)", + "id": "bit_or_assign_big_uint_u64(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "0", - "0" + "2", + "256" ] }, "expect": { "out": [ - "0" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(0,1)", + "id": "bit_or_assign_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "0", - "1" + "255", + "0" ] }, "expect": { "out": [ - "1" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(0,2)", + "id": "bit_or_assign_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "0", - "2" + "255", + "1" ] }, "expect": { "out": [ - "2" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(0,255)", + "id": "bit_or_assign_big_uint_u64(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "0", - "255" + "255", + "2" ] }, "expect": { @@ -7141,157 +23899,157 @@ }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(0,256)", + "id": "bit_or_assign_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "0", - "256" + "255", + "255" ] }, "expect": { "out": [ - "256" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(0,18446744073709551615)", + "id": "bit_or_assign_big_uint_u64(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "0", - "18446744073709551615" + "255", + "256" ] }, "expect": { "out": [ - "18446744073709551615" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(0,18446744073709551616)", + "id": "bit_or_assign_big_uint_u64(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "0", - "18446744073709551616" + "256", + "0" ] }, "expect": { "out": [ - "18446744073709551616" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(1,0)", + "id": "bit_or_assign_big_uint_u64(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "1", - "0" + "256", + "1" ] }, "expect": { "out": [ - "1" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(1,1)", + "id": "bit_or_assign_big_uint_u64(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "1", - "1" + "256", + "2" ] }, "expect": { "out": [ - "1" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(1,2)", + "id": "bit_or_assign_big_uint_u64(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "1", - "2" + "256", + "255" ] }, "expect": { "out": [ - "3" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(1,255)", + "id": "bit_or_assign_big_uint_u64(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "1", - "255" + "256", + "256" ] }, "expect": { "out": [ - "255" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(1,256)", + "id": "bit_or_assign_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "1", - "256" + "18446744073709551615", + "0" ] }, "expect": { "out": [ - "257" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(1,18446744073709551615)", + "id": "bit_or_assign_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "1", - "18446744073709551615" + "18446744073709551615", + "1" ] }, "expect": { @@ -7303,210 +24061,210 @@ }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(1,18446744073709551616)", + "id": "bit_or_assign_big_uint_u64(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "1", - "18446744073709551616" + "18446744073709551615", + "2" ] }, "expect": { "out": [ - "18446744073709551617" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(2,0)", + "id": "bit_or_assign_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "2", - "0" + "18446744073709551615", + "255" ] }, "expect": { "out": [ - "2" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(2,1)", + "id": "bit_or_assign_big_uint_u64(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "2", - "1" + "18446744073709551615", + "256" ] }, "expect": { "out": [ - "3" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(2,2)", + "id": "bit_or_assign_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "2", - "2" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "2" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(2,255)", + "id": "bit_or_assign_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "2", - "255" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "255" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(2,256)", + "id": "bit_or_assign_big_uint_u64(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "2", - "256" + "18446744073709551616", + "2" ] }, "expect": { "out": [ - "258" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(2,18446744073709551615)", + "id": "bit_or_assign_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "2", - "18446744073709551615" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(2,18446744073709551616)", + "id": "bit_or_assign_big_uint_u64(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_or_assign_big_uint_u64", "arguments": [ - "2", - "18446744073709551616" + "18446744073709551616", + "256" ] }, "expect": { "out": [ - "18446744073709551618" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(255,0)", + "id": "bit_xor_assign_big_uint_big_uint(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "255", + "0", "0" ] }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(255,1)", + "id": "bit_xor_assign_big_uint_big_uint(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "255", + "0", "1" ] }, "expect": { "out": [ - "255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(255,2)", + "id": "bit_xor_assign_big_uint_big_uint(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "255", + "0", "2" ] }, "expect": { "out": [ - "255" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(255,255)", + "id": "bit_xor_assign_big_uint_big_uint(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "255", + "0", "255" ] }, @@ -7519,30 +24277,30 @@ }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(255,256)", + "id": "bit_xor_assign_big_uint_big_uint(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "255", + "0", "256" ] }, "expect": { "out": [ - "511" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(255,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "255", + "0", "18446744073709551615" ] }, @@ -7555,840 +24313,840 @@ }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(255,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "255", + "0", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551871" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(256,0)", + "id": "bit_xor_assign_big_uint_big_uint(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "256", + "1", "0" ] }, "expect": { "out": [ - "256" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(256,1)", + "id": "bit_xor_assign_big_uint_big_uint(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "256", + "1", "1" ] }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(256,2)", + "id": "bit_xor_assign_big_uint_big_uint(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "256", + "1", "2" ] }, "expect": { "out": [ - "258" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(256,255)", + "id": "bit_xor_assign_big_uint_big_uint(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "256", + "1", "255" ] }, "expect": { "out": [ - "511" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(256,256)", + "id": "bit_xor_assign_big_uint_big_uint(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "256", + "1", "256" ] }, "expect": { "out": [ - "256" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(256,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "256", + "1", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(256,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "256", + "1", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551872" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551615,0)", + "id": "bit_xor_assign_big_uint_big_uint(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551615", + "2", "0" ] }, "expect": { "out": [ - "18446744073709551615" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551615,1)", + "id": "bit_xor_assign_big_uint_big_uint(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551615", + "2", "1" ] }, "expect": { "out": [ - "18446744073709551615" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551615,2)", + "id": "bit_xor_assign_big_uint_big_uint(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551615", + "2", "2" ] }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551615,255)", + "id": "bit_xor_assign_big_uint_big_uint(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551615", + "2", "255" ] }, "expect": { "out": [ - "18446744073709551615" + "253" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551615,256)", + "id": "bit_xor_assign_big_uint_big_uint(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551615", + "2", "256" ] }, "expect": { "out": [ - "18446744073709551615" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551615,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint(2,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551615", + "2", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551613" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551615,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint(2,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551615", + "2", "18446744073709551616" ] }, "expect": { "out": [ - "36893488147419103231" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551616,0)", + "id": "bit_xor_assign_big_uint_big_uint(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551616", + "255", "0" ] }, "expect": { "out": [ - "18446744073709551616" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551616,1)", + "id": "bit_xor_assign_big_uint_big_uint(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551616", + "255", "1" ] }, "expect": { "out": [ - "18446744073709551617" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551616,2)", + "id": "bit_xor_assign_big_uint_big_uint(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551616", + "255", "2" ] }, "expect": { "out": [ - "18446744073709551618" + "253" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551616,255)", + "id": "bit_xor_assign_big_uint_big_uint(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551616", + "255", "255" ] }, "expect": { "out": [ - "18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551616,256)", + "id": "bit_xor_assign_big_uint_big_uint(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551616", + "255", "256" ] }, "expect": { "out": [ - "18446744073709551872" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551616,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551616", + "255", "18446744073709551615" ] }, "expect": { "out": [ - "36893488147419103231" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint(18446744073709551616,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "18446744073709551616", + "255", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551616" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(0,0)", + "id": "bit_xor_assign_big_uint_big_uint(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "0", + "256", "0" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(0,1)", + "id": "bit_xor_assign_big_uint_big_uint(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "0", + "256", "1" ] }, "expect": { "out": [ - "1" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(0,2)", + "id": "bit_xor_assign_big_uint_big_uint(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "0", + "256", "2" ] }, "expect": { "out": [ - "2" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(0,255)", + "id": "bit_xor_assign_big_uint_big_uint(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "0", + "256", "255" ] }, "expect": { "out": [ - "255" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(0,256)", + "id": "bit_xor_assign_big_uint_big_uint(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "0", + "256", "256" ] }, "expect": { "out": [ - "256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(0,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint(256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "0", + "256", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(0,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint(256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "0", + "256", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551616" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(1,0)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "1", + "18446744073709551615", "0" ] }, "expect": { "out": [ - "1" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(1,1)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "1", + "18446744073709551615", "1" ] }, "expect": { "out": [ - "1" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(1,2)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "1", + "18446744073709551615", "2" ] }, "expect": { "out": [ - "3" + "18446744073709551613" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(1,255)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "1", + "18446744073709551615", "255" ] }, "expect": { "out": [ - "255" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(1,256)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "1", + "18446744073709551615", "256" ] }, "expect": { "out": [ - "257" + "18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(1,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "1", + "18446744073709551615", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(1,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "1", + "18446744073709551615", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551617" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(2,0)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "2", + "18446744073709551616", "0" ] }, "expect": { "out": [ - "2" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(2,1)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "2", + "18446744073709551616", "1" ] }, "expect": { "out": [ - "3" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(2,2)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "2", + "18446744073709551616", "2" ] }, "expect": { "out": [ - "2" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(2,255)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "2", + "18446744073709551616", "255" ] }, "expect": { "out": [ - "255" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(2,256)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "2", + "18446744073709551616", "256" ] }, "expect": { "out": [ - "258" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(2,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "2", + "18446744073709551616", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(2,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint", "arguments": [ - "2", + "18446744073709551616", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551618" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(255,0)", + "id": "bit_xor_assign_big_uint_big_uint_ref(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "255", + "0", "0" ] }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(255,1)", + "id": "bit_xor_assign_big_uint_big_uint_ref(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "255", + "0", "1" ] }, "expect": { "out": [ - "255" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(255,2)", + "id": "bit_xor_assign_big_uint_big_uint_ref(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "255", + "0", "2" ] }, "expect": { "out": [ - "255" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(255,255)", + "id": "bit_xor_assign_big_uint_big_uint_ref(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "255", + "0", "255" ] }, @@ -8401,30 +25159,30 @@ }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(255,256)", + "id": "bit_xor_assign_big_uint_big_uint_ref(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "255", + "0", "256" ] }, "expect": { "out": [ - "511" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(255,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint_ref(0,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "255", + "0", "18446744073709551615" ] }, @@ -8437,1273 +25195,1219 @@ }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(255,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint_ref(0,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "255", + "0", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551871" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(256,0)", + "id": "bit_xor_assign_big_uint_big_uint_ref(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "256", + "1", "0" ] }, "expect": { "out": [ - "256" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(256,1)", + "id": "bit_xor_assign_big_uint_big_uint_ref(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "256", + "1", "1" ] }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(256,2)", + "id": "bit_xor_assign_big_uint_big_uint_ref(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "256", + "1", "2" ] }, "expect": { "out": [ - "258" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(256,255)", + "id": "bit_xor_assign_big_uint_big_uint_ref(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "256", + "1", "255" ] }, "expect": { "out": [ - "511" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(256,256)", + "id": "bit_xor_assign_big_uint_big_uint_ref(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "256", + "1", "256" ] }, "expect": { "out": [ - "256" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(256,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint_ref(1,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "256", + "1", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(256,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint_ref(1,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "256", + "1", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551872" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551615,0)", + "id": "bit_xor_assign_big_uint_big_uint_ref(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "2", "0" ] }, "expect": { "out": [ - "18446744073709551615" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551615,1)", + "id": "bit_xor_assign_big_uint_big_uint_ref(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "2", "1" ] }, "expect": { "out": [ - "18446744073709551615" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551615,2)", + "id": "bit_xor_assign_big_uint_big_uint_ref(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "2", "2" ] }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551615,255)", + "id": "bit_xor_assign_big_uint_big_uint_ref(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "2", "255" ] }, "expect": { "out": [ - "18446744073709551615" + "253" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551615,256)", + "id": "bit_xor_assign_big_uint_big_uint_ref(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "2", "256" ] }, "expect": { "out": [ - "18446744073709551615" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint_ref(2,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "2", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551613" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551615,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint_ref(2,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551615", + "2", "18446744073709551616" ] }, "expect": { "out": [ - "36893488147419103231" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551616,0)", + "id": "bit_xor_assign_big_uint_big_uint_ref(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551616", + "255", "0" ] }, "expect": { "out": [ - "18446744073709551616" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551616,1)", + "id": "bit_xor_assign_big_uint_big_uint_ref(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551616", + "255", "1" ] }, "expect": { "out": [ - "18446744073709551617" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551616,2)", + "id": "bit_xor_assign_big_uint_big_uint_ref(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551616", + "255", "2" ] }, "expect": { "out": [ - "18446744073709551618" + "253" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551616,255)", + "id": "bit_xor_assign_big_uint_big_uint_ref(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551616", + "255", "255" ] }, "expect": { "out": [ - "18446744073709551871" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551616,256)", + "id": "bit_xor_assign_big_uint_big_uint_ref(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551616", + "255", "256" ] }, "expect": { "out": [ - "18446744073709551872" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551616,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint_ref(255,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551616", + "255", "18446744073709551615" ] }, "expect": { "out": [ - "36893488147419103231" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_or_assign_big_uint_ref(18446744073709551616,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint_ref(255,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_or_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "18446744073709551616", + "255", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551616" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(0,0)", + "id": "bit_xor_assign_big_uint_big_uint_ref(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "0", + "256", "0" ] }, "expect": { "out": [ - "0" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(0,1)", + "id": "bit_xor_assign_big_uint_big_uint_ref(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "0", + "256", "1" ] }, "expect": { "out": [ - "1" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(0,2)", + "id": "bit_xor_assign_big_uint_big_uint_ref(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "0", + "256", "2" ] }, "expect": { "out": [ - "2" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(0,255)", + "id": "bit_xor_assign_big_uint_big_uint_ref(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "0", + "256", "255" ] }, "expect": { "out": [ - "255" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(0,256)", + "id": "bit_xor_assign_big_uint_big_uint_ref(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "0", + "256", "256" ] }, "expect": { "out": [ - "256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(0,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint_ref(256,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "0", + "256", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(0,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint_ref(256,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "0", + "256", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551616" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(1,0)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "1", + "18446744073709551615", "0" ] }, "expect": { "out": [ - "1" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(1,1)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "1", + "18446744073709551615", "1" ] }, "expect": { "out": [ - "0" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(1,2)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "1", + "18446744073709551615", "2" ] }, "expect": { "out": [ - "3" + "18446744073709551613" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(1,255)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "1", + "18446744073709551615", "255" ] }, "expect": { "out": [ - "254" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(1,256)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "1", + "18446744073709551615", "256" ] }, "expect": { "out": [ - "257" + "18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(1,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "1", + "18446744073709551615", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551614" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(1,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551615,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "1", + "18446744073709551615", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551617" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(2,0)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "2", + "18446744073709551616", "0" ] }, "expect": { "out": [ - "2" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(2,1)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "2", + "18446744073709551616", "1" ] }, "expect": { "out": [ - "3" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(2,2)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "2", + "18446744073709551616", "2" ] }, "expect": { "out": [ - "0" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(2,255)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "2", + "18446744073709551616", "255" ] }, "expect": { "out": [ - "253" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(2,256)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "2", + "18446744073709551616", "256" ] }, "expect": { "out": [ - "258" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(2,18446744073709551615)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551615)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "2", + "18446744073709551616", "18446744073709551615" ] }, "expect": { "out": [ - "18446744073709551613" + "36893488147419103231" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(2,18446744073709551616)", + "id": "bit_xor_assign_big_uint_big_uint_ref(18446744073709551616,18446744073709551616)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_big_uint_ref", "arguments": [ - "2", + "18446744073709551616", "18446744073709551616" ] }, "expect": { "out": [ - "18446744073709551618" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(255,0)", + "id": "bit_xor_assign_big_uint_u32(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "255", + "0", "0" ] }, "expect": { "out": [ - "255" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(255,1)", + "id": "bit_xor_assign_big_uint_u32(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "255", + "0", "1" ] }, "expect": { "out": [ - "254" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(255,2)", + "id": "bit_xor_assign_big_uint_u32(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "255", + "0", "2" ] }, "expect": { "out": [ - "253" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(255,255)", + "id": "bit_xor_assign_big_uint_u32(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "255", + "0", "255" ] }, "expect": { "out": [ - "0" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(255,256)", + "id": "bit_xor_assign_big_uint_u32(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "255", + "0", "256" ] }, "expect": { "out": [ - "511" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "bit_xor_assign_big_uint(255,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", - "arguments": [ - "255", - "18446744073709551615" - ] - }, - "expect": { - "out": [ - "18446744073709551360" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "bit_xor_assign_big_uint(255,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", - "arguments": [ - "255", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "18446744073709551871" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(256,0)", + "id": "bit_xor_assign_big_uint_u32(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "256", + "1", "0" ] }, "expect": { "out": [ - "256" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(256,1)", + "id": "bit_xor_assign_big_uint_u32(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "256", + "1", "1" ] }, "expect": { "out": [ - "257" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(256,2)", + "id": "bit_xor_assign_big_uint_u32(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "256", + "1", "2" ] }, "expect": { "out": [ - "258" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(256,255)", + "id": "bit_xor_assign_big_uint_u32(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "256", + "1", "255" ] }, "expect": { "out": [ - "511" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(256,256)", + "id": "bit_xor_assign_big_uint_u32(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "256", + "1", "256" ] }, "expect": { "out": [ - "0" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(256,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u32(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "256", - "18446744073709551615" + "2", + "0" ] }, "expect": { "out": [ - "18446744073709551359" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(256,18446744073709551616)", + "id": "bit_xor_assign_big_uint_u32(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "256", - "18446744073709551616" + "2", + "1" ] }, "expect": { "out": [ - "18446744073709551872" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551615,0)", + "id": "bit_xor_assign_big_uint_u32(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551615", - "0" + "2", + "2" ] }, "expect": { "out": [ - "18446744073709551615" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551615,1)", + "id": "bit_xor_assign_big_uint_u32(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551615", - "1" + "2", + "255" ] }, "expect": { "out": [ - "18446744073709551614" + "253" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551615,2)", + "id": "bit_xor_assign_big_uint_u32(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551615", - "2" + "2", + "256" ] }, "expect": { "out": [ - "18446744073709551613" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551615,255)", + "id": "bit_xor_assign_big_uint_u32(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551615", - "255" + "255", + "0" ] }, "expect": { "out": [ - "18446744073709551360" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551615,256)", + "id": "bit_xor_assign_big_uint_u32(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551615", - "256" + "255", + "1" ] }, "expect": { "out": [ - "18446744073709551359" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551615,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u32(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551615", - "18446744073709551615" + "255", + "2" ] }, "expect": { "out": [ - "0" + "253" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551615,18446744073709551616)", + "id": "bit_xor_assign_big_uint_u32(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551615", - "18446744073709551616" + "255", + "255" ] }, "expect": { "out": [ - "36893488147419103231" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551616,0)", - "tx": { - "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", - "arguments": [ - "18446744073709551616", "0" - ] - }, - "expect": { - "out": [ - "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551616,1)", + "id": "bit_xor_assign_big_uint_u32(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551616", - "1" + "255", + "256" ] }, "expect": { "out": [ - "18446744073709551617" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551616,2)", + "id": "bit_xor_assign_big_uint_u32(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551616", - "2" + "256", + "0" ] }, "expect": { "out": [ - "18446744073709551618" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551616,255)", + "id": "bit_xor_assign_big_uint_u32(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551616", - "255" + "256", + "1" ] }, "expect": { "out": [ - "18446744073709551871" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551616,256)", + "id": "bit_xor_assign_big_uint_u32(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551616", - "256" + "256", + "2" ] }, "expect": { "out": [ - "18446744073709551872" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551616,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u32(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551616", - "18446744073709551615" + "256", + "255" ] }, "expect": { "out": [ - "36893488147419103231" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint(18446744073709551616,18446744073709551616)", + "id": "bit_xor_assign_big_uint_u32(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "18446744073709551616", - "18446744073709551616" + "256", + "256" ] }, "expect": { @@ -9715,301 +26419,301 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(0,0)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "0", + "18446744073709551615", "0" ] }, "expect": { "out": [ - "0" + "18446744073709551615" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(0,1)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "0", + "18446744073709551615", "1" ] }, "expect": { "out": [ - "1" + "18446744073709551614" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(0,2)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "0", + "18446744073709551615", "2" ] }, "expect": { "out": [ - "2" + "18446744073709551613" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(0,255)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "0", + "18446744073709551615", "255" ] }, "expect": { "out": [ - "255" + "18446744073709551360" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(0,256)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "0", + "18446744073709551615", "256" ] }, "expect": { "out": [ - "256" + "18446744073709551359" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(0,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "0", - "18446744073709551615" + "18446744073709551616", + "0" ] }, "expect": { "out": [ - "18446744073709551615" + "18446744073709551616" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(0,18446744073709551616)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "0", - "18446744073709551616" + "18446744073709551616", + "1" ] }, "expect": { "out": [ - "18446744073709551616" + "18446744073709551617" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(1,0)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "1", - "0" + "18446744073709551616", + "2" ] }, "expect": { "out": [ - "1" + "18446744073709551618" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(1,1)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "1", - "1" + "18446744073709551616", + "255" ] }, "expect": { "out": [ - "0" + "18446744073709551871" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(1,2)", + "id": "bit_xor_assign_big_uint_u32(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u32", "arguments": [ - "1", - "2" + "18446744073709551616", + "256" ] }, "expect": { "out": [ - "3" + "18446744073709551872" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(1,255)", + "id": "bit_xor_assign_big_uint_u64(0,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "1", - "255" + "0", + "0" ] }, "expect": { "out": [ - "254" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(1,256)", + "id": "bit_xor_assign_big_uint_u64(0,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "1", - "256" + "0", + "1" ] }, "expect": { "out": [ - "257" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(1,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u64(0,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "1", - "18446744073709551615" + "0", + "2" ] }, "expect": { "out": [ - "18446744073709551614" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(1,18446744073709551616)", + "id": "bit_xor_assign_big_uint_u64(0,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "1", - "18446744073709551616" + "0", + "255" ] }, "expect": { "out": [ - "18446744073709551617" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(2,0)", + "id": "bit_xor_assign_big_uint_u64(0,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "2", - "0" + "0", + "256" ] }, "expect": { "out": [ - "2" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(2,1)", + "id": "bit_xor_assign_big_uint_u64(1,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "2", - "1" + "1", + "0" ] }, "expect": { "out": [ - "3" + "1" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(2,2)", + "id": "bit_xor_assign_big_uint_u64(1,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "2", - "2" + "1", + "1" ] }, "expect": { @@ -10021,121 +26725,121 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(2,255)", + "id": "bit_xor_assign_big_uint_u64(1,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "2", - "255" + "1", + "2" ] }, "expect": { "out": [ - "253" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(2,256)", + "id": "bit_xor_assign_big_uint_u64(1,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "2", - "256" + "1", + "255" ] }, "expect": { "out": [ - "258" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(2,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u64(1,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "2", - "18446744073709551615" + "1", + "256" ] }, "expect": { "out": [ - "18446744073709551613" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(2,18446744073709551616)", + "id": "bit_xor_assign_big_uint_u64(2,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "2", - "18446744073709551616" + "0" ] }, "expect": { "out": [ - "18446744073709551618" + "2" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(255,0)", + "id": "bit_xor_assign_big_uint_u64(2,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "255", - "0" + "2", + "1" ] }, "expect": { "out": [ - "255" + "3" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(255,1)", + "id": "bit_xor_assign_big_uint_u64(2,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "255", - "1" + "2", + "2" ] }, "expect": { "out": [ - "254" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(255,2)", + "id": "bit_xor_assign_big_uint_u64(2,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "255", - "2" + "2", + "255" ] }, "expect": { @@ -10147,208 +26851,208 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(255,255)", + "id": "bit_xor_assign_big_uint_u64(2,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "255", - "255" + "2", + "256" ] }, "expect": { "out": [ - "0" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(255,256)", + "id": "bit_xor_assign_big_uint_u64(255,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "255", - "256" + "0" ] }, "expect": { "out": [ - "511" + "255" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(255,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u64(255,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "255", - "18446744073709551615" + "1" ] }, "expect": { "out": [ - "18446744073709551360" + "254" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(255,18446744073709551616)", + "id": "bit_xor_assign_big_uint_u64(255,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "255", - "18446744073709551616" + "2" ] }, "expect": { "out": [ - "18446744073709551871" + "253" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(256,0)", + "id": "bit_xor_assign_big_uint_u64(255,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "256", - "0" + "255", + "255" ] }, "expect": { "out": [ - "256" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(256,1)", + "id": "bit_xor_assign_big_uint_u64(255,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ - "256", - "1" + "255", + "256" ] }, "expect": { "out": [ - "257" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(256,2)", + "id": "bit_xor_assign_big_uint_u64(256,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "256", - "2" + "0" ] }, "expect": { "out": [ - "258" + "256" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(256,255)", + "id": "bit_xor_assign_big_uint_u64(256,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "256", - "255" + "1" ] }, "expect": { "out": [ - "511" + "257" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(256,256)", + "id": "bit_xor_assign_big_uint_u64(256,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "256", - "256" + "2" ] }, "expect": { "out": [ - "0" + "258" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(256,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u64(256,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "256", - "18446744073709551615" + "255" ] }, "expect": { "out": [ - "18446744073709551359" + "511" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(256,18446744073709551616)", + "id": "bit_xor_assign_big_uint_u64(256,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "256", - "18446744073709551616" + "256" ] }, "expect": { "out": [ - "18446744073709551872" + "0" ], "status": "0" } }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551615,0)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551615", "0" @@ -10363,10 +27067,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551615,1)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551615", "1" @@ -10381,10 +27085,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551615,2)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551615,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551615", "2" @@ -10399,10 +27103,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551615,255)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551615,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551615", "255" @@ -10417,10 +27121,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551615,256)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551615,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551615", "256" @@ -10435,46 +27139,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551615,18446744073709551615)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", - "arguments": [ - "18446744073709551615", - "18446744073709551615" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551615,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", - "arguments": [ - "18446744073709551615", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "36893488147419103231" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551616,0)", - "tx": { - "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551616", "0" @@ -10489,10 +27157,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551616,1)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551616", "1" @@ -10507,10 +27175,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551616,2)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551616,2)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551616", "2" @@ -10525,10 +27193,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551616,255)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551616,255)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551616", "255" @@ -10543,10 +27211,10 @@ }, { "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551616,256)", + "id": "bit_xor_assign_big_uint_u64(18446744073709551616,256)", "tx": { "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", + "function": "bit_xor_assign_big_uint_u64", "arguments": [ "18446744073709551616", "256" @@ -10558,42 +27226,6 @@ ], "status": "0" } - }, - { - "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551616,18446744073709551615)", - "tx": { - "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", - "arguments": [ - "18446744073709551616", - "18446744073709551615" - ] - }, - "expect": { - "out": [ - "36893488147419103231" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "bit_xor_assign_big_uint_ref(18446744073709551616,18446744073709551616)", - "tx": { - "to": "sc:basic-features", - "function": "bit_xor_assign_big_uint_ref", - "arguments": [ - "18446744073709551616", - "18446744073709551616" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } } ] } diff --git a/contracts/feature-tests/basic-features/scenarios/big_num_ops_cmp.scen.json b/contracts/feature-tests/basic-features/scenarios/big_num_ops_cmp.scen.json new file mode 100644 index 0000000000..ae06c9aed5 --- /dev/null +++ b/contracts/feature-tests/basic-features/scenarios/big_num_ops_cmp.scen.json @@ -0,0 +1,5595 @@ +{ + "comment": "Code generated by mx-sdk-rs/tools/op-test-gen. DO NOT EDIT.", + "steps": [ + { + "step": "setState", + "accounts": { + "sc:basic-features": { + "nonce": "0", + "balance": "0", + "code": "mxsc:../output/basic-features.mxsc.json" + } + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_i64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_i64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_int_u64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_int_u64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "eq_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "eq_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_i64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_i64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_int_u64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_int_u64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "gt_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "gt_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_i64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_i64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_int_u64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_int_u64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "ge_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "ge_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_i64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_i64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_int_u64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_int_u64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "lt_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "lt_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "0", + "+1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(0,-1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "0", + "-1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "+1", + "+1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "+1", + "-1" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "-1", + "+1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_big_int(-1,-1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_big_int", + "arguments": [ + "-1", + "-1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_i64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_i64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u32", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u32", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u32(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u32", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u32(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u32", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u64", + "arguments": [ + "+1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u64", + "arguments": [ + "+1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u64(-1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u64", + "arguments": [ + "-1", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_int_u64(-1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_int_u64", + "arguments": [ + "-1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_big_uint(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_big_uint", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_big_uint(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_big_uint", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_big_uint(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_big_uint", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_i32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_i32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_i32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_i32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_i64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_i64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_i64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_i64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_u32(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_u32", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_u32(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_u32", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_u64(0,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_u64", + "arguments": [ + "0", + "0" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_u64(0,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_u64", + "arguments": [ + "0", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_non_zero_big_uint(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_non_zero_big_uint", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_i32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_i32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_i32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_i32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_i64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_i64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_i64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_i64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_u32(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_u32", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_u32(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_u32", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_u64(1,0)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_u64", + "arguments": [ + "1", + "0" + ] + }, + "expect": { + "out": [ + "false" + ], + "status": "0" + } + }, + { + "step": "scQuery", + "id": "le_non_zero_big_uint_u64(1,1)", + "tx": { + "to": "sc:basic-features", + "function": "le_non_zero_big_uint_u64", + "arguments": [ + "1", + "1" + ] + }, + "expect": { + "out": [ + "true" + ], + "status": "0" + } + } + ] +} diff --git a/contracts/feature-tests/basic-features/scenarios/big_num_ops_shift.scen.json b/contracts/feature-tests/basic-features/scenarios/big_num_ops_shift.scen.json index b329b89794..184487756a 100644 --- a/contracts/feature-tests/basic-features/scenarios/big_num_ops_shift.scen.json +++ b/contracts/feature-tests/basic-features/scenarios/big_num_ops_shift.scen.json @@ -13,10 +13,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(0,0)", + "id": "shr_big_uint_usize(0,0)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "0", "0" @@ -31,10 +31,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(0,1)", + "id": "shr_big_uint_usize(0,1)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "0", "1" @@ -49,10 +49,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(0,1000)", + "id": "shr_big_uint_usize(0,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "0", "1000" @@ -67,10 +67,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(1,0)", + "id": "shr_big_uint_usize(1,0)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "1", "0" @@ -85,10 +85,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(1,1)", + "id": "shr_big_uint_usize(1,1)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "1", "1" @@ -103,10 +103,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(1,1000)", + "id": "shr_big_uint_usize(1,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "1", "1000" @@ -121,10 +121,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(18446744073709551615,0)", + "id": "shr_big_uint_usize(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "18446744073709551615", "0" @@ -139,10 +139,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(18446744073709551615,1)", + "id": "shr_big_uint_usize(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "18446744073709551615", "1" @@ -157,10 +157,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(18446744073709551615,1000)", + "id": "shr_big_uint_usize(18446744073709551615,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "18446744073709551615", "1000" @@ -175,10 +175,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(18446744073709551616,0)", + "id": "shr_big_uint_usize(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "18446744073709551616", "0" @@ -193,10 +193,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(18446744073709551616,1)", + "id": "shr_big_uint_usize(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "18446744073709551616", "1" @@ -211,10 +211,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint(18446744073709551616,1000)", + "id": "shr_big_uint_usize(18446744073709551616,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint", + "function": "shr_big_uint_usize", "arguments": [ "18446744073709551616", "1000" @@ -229,10 +229,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(0,0)", + "id": "shr_big_uint_ref_usize(0,0)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "0", "0" @@ -247,10 +247,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(0,1)", + "id": "shr_big_uint_ref_usize(0,1)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "0", "1" @@ -265,10 +265,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(0,1000)", + "id": "shr_big_uint_ref_usize(0,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "0", "1000" @@ -283,10 +283,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(1,0)", + "id": "shr_big_uint_ref_usize(1,0)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "1", "0" @@ -301,10 +301,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(1,1)", + "id": "shr_big_uint_ref_usize(1,1)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "1", "1" @@ -319,10 +319,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(1,1000)", + "id": "shr_big_uint_ref_usize(1,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "1", "1000" @@ -337,10 +337,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(18446744073709551615,0)", + "id": "shr_big_uint_ref_usize(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "18446744073709551615", "0" @@ -355,10 +355,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(18446744073709551615,1)", + "id": "shr_big_uint_ref_usize(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "18446744073709551615", "1" @@ -373,10 +373,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(18446744073709551615,1000)", + "id": "shr_big_uint_ref_usize(18446744073709551615,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "18446744073709551615", "1000" @@ -391,10 +391,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(18446744073709551616,0)", + "id": "shr_big_uint_ref_usize(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "18446744073709551616", "0" @@ -409,10 +409,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(18446744073709551616,1)", + "id": "shr_big_uint_ref_usize(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "18446744073709551616", "1" @@ -427,10 +427,10 @@ }, { "step": "scQuery", - "id": "shr_big_uint_ref(18446744073709551616,1000)", + "id": "shr_big_uint_ref_usize(18446744073709551616,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_big_uint_ref", + "function": "shr_big_uint_ref_usize", "arguments": [ "18446744073709551616", "1000" @@ -445,10 +445,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(0,0)", + "id": "shl_big_uint_usize(0,0)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "0", "0" @@ -463,10 +463,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(0,1)", + "id": "shl_big_uint_usize(0,1)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "0", "1" @@ -481,10 +481,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(0,1000)", + "id": "shl_big_uint_usize(0,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "0", "1000" @@ -499,10 +499,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(1,0)", + "id": "shl_big_uint_usize(1,0)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "1", "0" @@ -517,10 +517,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(1,1)", + "id": "shl_big_uint_usize(1,1)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "1", "1" @@ -535,10 +535,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(1,1000)", + "id": "shl_big_uint_usize(1,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "1", "1000" @@ -553,10 +553,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(18446744073709551615,0)", + "id": "shl_big_uint_usize(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "18446744073709551615", "0" @@ -571,10 +571,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(18446744073709551615,1)", + "id": "shl_big_uint_usize(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "18446744073709551615", "1" @@ -589,10 +589,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(18446744073709551615,1000)", + "id": "shl_big_uint_usize(18446744073709551615,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "18446744073709551615", "1000" @@ -607,10 +607,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(18446744073709551616,0)", + "id": "shl_big_uint_usize(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "18446744073709551616", "0" @@ -625,10 +625,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(18446744073709551616,1)", + "id": "shl_big_uint_usize(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "18446744073709551616", "1" @@ -643,10 +643,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint(18446744073709551616,1000)", + "id": "shl_big_uint_usize(18446744073709551616,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint", + "function": "shl_big_uint_usize", "arguments": [ "18446744073709551616", "1000" @@ -661,10 +661,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(0,0)", + "id": "shl_big_uint_ref_usize(0,0)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "0", "0" @@ -679,10 +679,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(0,1)", + "id": "shl_big_uint_ref_usize(0,1)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "0", "1" @@ -697,10 +697,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(0,1000)", + "id": "shl_big_uint_ref_usize(0,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "0", "1000" @@ -715,10 +715,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(1,0)", + "id": "shl_big_uint_ref_usize(1,0)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "1", "0" @@ -733,10 +733,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(1,1)", + "id": "shl_big_uint_ref_usize(1,1)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "1", "1" @@ -751,10 +751,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(1,1000)", + "id": "shl_big_uint_ref_usize(1,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "1", "1000" @@ -769,10 +769,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(18446744073709551615,0)", + "id": "shl_big_uint_ref_usize(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "18446744073709551615", "0" @@ -787,10 +787,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(18446744073709551615,1)", + "id": "shl_big_uint_ref_usize(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "18446744073709551615", "1" @@ -805,10 +805,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(18446744073709551615,1000)", + "id": "shl_big_uint_ref_usize(18446744073709551615,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "18446744073709551615", "1000" @@ -823,10 +823,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(18446744073709551616,0)", + "id": "shl_big_uint_ref_usize(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "18446744073709551616", "0" @@ -841,10 +841,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(18446744073709551616,1)", + "id": "shl_big_uint_ref_usize(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "18446744073709551616", "1" @@ -859,10 +859,10 @@ }, { "step": "scQuery", - "id": "shl_big_uint_ref(18446744073709551616,1000)", + "id": "shl_big_uint_ref_usize(18446744073709551616,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_big_uint_ref", + "function": "shl_big_uint_ref_usize", "arguments": [ "18446744073709551616", "1000" @@ -877,10 +877,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(0,0)", + "id": "shr_assign_big_uint_usize(0,0)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "0", "0" @@ -895,10 +895,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(0,1)", + "id": "shr_assign_big_uint_usize(0,1)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "0", "1" @@ -913,10 +913,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(0,1000)", + "id": "shr_assign_big_uint_usize(0,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "0", "1000" @@ -931,10 +931,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(1,0)", + "id": "shr_assign_big_uint_usize(1,0)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "1", "0" @@ -949,10 +949,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(1,1)", + "id": "shr_assign_big_uint_usize(1,1)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "1", "1" @@ -967,10 +967,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(1,1000)", + "id": "shr_assign_big_uint_usize(1,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "1", "1000" @@ -985,10 +985,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(18446744073709551615,0)", + "id": "shr_assign_big_uint_usize(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "18446744073709551615", "0" @@ -1003,10 +1003,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(18446744073709551615,1)", + "id": "shr_assign_big_uint_usize(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "18446744073709551615", "1" @@ -1021,10 +1021,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(18446744073709551615,1000)", + "id": "shr_assign_big_uint_usize(18446744073709551615,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "18446744073709551615", "1000" @@ -1039,10 +1039,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(18446744073709551616,0)", + "id": "shr_assign_big_uint_usize(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "18446744073709551616", "0" @@ -1057,10 +1057,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(18446744073709551616,1)", + "id": "shr_assign_big_uint_usize(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "18446744073709551616", "1" @@ -1075,10 +1075,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint(18446744073709551616,1000)", + "id": "shr_assign_big_uint_usize(18446744073709551616,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint", + "function": "shr_assign_big_uint_usize", "arguments": [ "18446744073709551616", "1000" @@ -1093,10 +1093,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint_ref(0,0)", + "id": "shl_assign_big_uint_usize(0,0)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "0", "0" @@ -1111,10 +1111,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint_ref(0,1)", + "id": "shl_assign_big_uint_usize(0,1)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "0", "1" @@ -1129,10 +1129,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint_ref(0,1000)", + "id": "shl_assign_big_uint_usize(0,1000)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "0", "1000" @@ -1147,10 +1147,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint_ref(1,0)", + "id": "shl_assign_big_uint_usize(1,0)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "1", "0" @@ -1165,442 +1165,10 @@ }, { "step": "scQuery", - "id": "shr_assign_big_uint_ref(1,1)", + "id": "shl_assign_big_uint_usize(1,1)", "tx": { "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", - "arguments": [ - "1", - "1" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shr_assign_big_uint_ref(1,1000)", - "tx": { - "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", - "arguments": [ - "1", - "1000" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shr_assign_big_uint_ref(18446744073709551615,0)", - "tx": { - "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", - "arguments": [ - "18446744073709551615", - "0" - ] - }, - "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shr_assign_big_uint_ref(18446744073709551615,1)", - "tx": { - "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", - "arguments": [ - "18446744073709551615", - "1" - ] - }, - "expect": { - "out": [ - "9223372036854775807" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shr_assign_big_uint_ref(18446744073709551615,1000)", - "tx": { - "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", - "arguments": [ - "18446744073709551615", - "1000" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shr_assign_big_uint_ref(18446744073709551616,0)", - "tx": { - "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", - "arguments": [ - "18446744073709551616", - "0" - ] - }, - "expect": { - "out": [ - "18446744073709551616" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shr_assign_big_uint_ref(18446744073709551616,1)", - "tx": { - "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", - "arguments": [ - "18446744073709551616", - "1" - ] - }, - "expect": { - "out": [ - "9223372036854775808" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shr_assign_big_uint_ref(18446744073709551616,1000)", - "tx": { - "to": "sc:basic-features", - "function": "shr_assign_big_uint_ref", - "arguments": [ - "18446744073709551616", - "1000" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(0,0)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "0", - "0" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(0,1)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "0", - "1" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(0,1000)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "0", - "1000" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(1,0)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "1", - "0" - ] - }, - "expect": { - "out": [ - "1" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(1,1)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "1", - "1" - ] - }, - "expect": { - "out": [ - "2" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(1,1000)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "1", - "1000" - ] - }, - "expect": { - "out": [ - "10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069376" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(18446744073709551615,0)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "18446744073709551615", - "0" - ] - }, - "expect": { - "out": [ - "18446744073709551615" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(18446744073709551615,1)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "18446744073709551615", - "1" - ] - }, - "expect": { - "out": [ - "36893488147419103230" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(18446744073709551615,1000)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "18446744073709551615", - "1000" - ] - }, - "expect": { - "out": [ - "197658450495420525724143650958330009456098415294695019352297434331607104909932952065476551697185330664899146938714928050940663365927782474001071320522704310659247282070385762466052646817063675597820886018446168964139631250878879988510659616983733611679906776866773297976379403732499495461427780626009491104674227672842240" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(18446744073709551616,0)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "18446744073709551616", - "0" - ] - }, - "expect": { - "out": [ - "18446744073709551616" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(18446744073709551616,1)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "18446744073709551616", - "1" - ] - }, - "expect": { - "out": [ - "36893488147419103232" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint(18446744073709551616,1000)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint", - "arguments": [ - "18446744073709551616", - "1000" - ] - }, - "expect": { - "out": [ - "197658450495420525734858737030192682665582665785295037457911482448662440984370455949180062208434691889831130726871886632216610095103313942252942773379627451095231859645084337269987214591887906583241960623508540106017585433031926463494241558251132379239072320812850360890950600210186037629088210457662115491511433340911616" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint_ref(0,0)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", - "arguments": [ - "0", - "0" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint_ref(0,1)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", - "arguments": [ - "0", - "1" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint_ref(0,1000)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", - "arguments": [ - "0", - "1000" - ] - }, - "expect": { - "out": [ - "0" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint_ref(1,0)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", - "arguments": [ - "1", - "0" - ] - }, - "expect": { - "out": [ - "1" - ], - "status": "0" - } - }, - { - "step": "scQuery", - "id": "shl_assign_big_uint_ref(1,1)", - "tx": { - "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "1", "1" @@ -1615,10 +1183,10 @@ }, { "step": "scQuery", - "id": "shl_assign_big_uint_ref(1,1000)", + "id": "shl_assign_big_uint_usize(1,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "1", "1000" @@ -1633,10 +1201,10 @@ }, { "step": "scQuery", - "id": "shl_assign_big_uint_ref(18446744073709551615,0)", + "id": "shl_assign_big_uint_usize(18446744073709551615,0)", "tx": { "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "18446744073709551615", "0" @@ -1651,10 +1219,10 @@ }, { "step": "scQuery", - "id": "shl_assign_big_uint_ref(18446744073709551615,1)", + "id": "shl_assign_big_uint_usize(18446744073709551615,1)", "tx": { "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "18446744073709551615", "1" @@ -1669,10 +1237,10 @@ }, { "step": "scQuery", - "id": "shl_assign_big_uint_ref(18446744073709551615,1000)", + "id": "shl_assign_big_uint_usize(18446744073709551615,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "18446744073709551615", "1000" @@ -1687,10 +1255,10 @@ }, { "step": "scQuery", - "id": "shl_assign_big_uint_ref(18446744073709551616,0)", + "id": "shl_assign_big_uint_usize(18446744073709551616,0)", "tx": { "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "18446744073709551616", "0" @@ -1705,10 +1273,10 @@ }, { "step": "scQuery", - "id": "shl_assign_big_uint_ref(18446744073709551616,1)", + "id": "shl_assign_big_uint_usize(18446744073709551616,1)", "tx": { "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "18446744073709551616", "1" @@ -1723,10 +1291,10 @@ }, { "step": "scQuery", - "id": "shl_assign_big_uint_ref(18446744073709551616,1000)", + "id": "shl_assign_big_uint_usize(18446744073709551616,1000)", "tx": { "to": "sc:basic-features", - "function": "shl_assign_big_uint_ref", + "function": "shl_assign_big_uint_usize", "arguments": [ "18446744073709551616", "1000" diff --git a/contracts/feature-tests/basic-features/scenarios/echo_non_zero_big_uint.scen.json b/contracts/feature-tests/basic-features/scenarios/echo_non_zero_big_uint.scen.json new file mode 100644 index 0000000000..a72dc1d1ad --- /dev/null +++ b/contracts/feature-tests/basic-features/scenarios/echo_non_zero_big_uint.scen.json @@ -0,0 +1,151 @@ +{ + "name": "echo_non_zero_big_uint", + "comment": "adapted from echo_big_uint.scen.json, the file is almost identical", + "steps": [ + { + "step": "setState", + "accounts": { + "sc:basic-features": { + "nonce": "0", + "balance": "0", + "code": "mxsc:../output/basic-features.mxsc.json" + }, + "address:an_account": { + "nonce": "0", + "balance": "0" + } + } + }, + { + "step": "scCall", + "id": "1", + "tx": { + "from": "address:an_account", + "to": "sc:basic-features", + "function": "echo_non_zero_big_uint", + "arguments": [ + "0" + ], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [], + "status": "4", + "message": "str:argument decode error (nzbu): zero value not allowed", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "2", + "tx": { + "from": "address:an_account", + "to": "sc:basic-features", + "function": "echo_non_zero_big_uint", + "arguments": [ + "5" + ], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "5" + ], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "3", + "tx": { + "from": "address:an_account", + "to": "sc:basic-features", + "function": "echo_non_zero_big_uint", + "arguments": [ + "0xc8" + ], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "0xc8" + ], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "4", + "tx": { + "from": "address:an_account", + "to": "sc:basic-features", + "function": "echo_non_zero_big_uint", + "arguments": [ + "0xffffffffffffffff" + ], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "0xffffffffffffffff" + ], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "5", + "tx": { + "from": "address:an_account", + "to": "sc:basic-features", + "function": "echo_non_zero_big_uint", + "arguments": [ + "0x010000000000000000" + ], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "0x010000000000000000" + ], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "checkState", + "accounts": { + "sc:basic-features": { + "nonce": "0", + "balance": "0", + "storage": {}, + "code": "mxsc:../output/basic-features.mxsc.json" + }, + "address:an_account": { + "nonce": "*", + "balance": "*", + "storage": {}, + "code": "" + } + } + } + ] +} diff --git a/contracts/feature-tests/basic-features/scenarios/storage_mapper_fungible_token.scen.json b/contracts/feature-tests/basic-features/scenarios/storage_mapper_fungible_token.scen.json index 190b33f2aa..ec1a7d9618 100644 --- a/contracts/feature-tests/basic-features/scenarios/storage_mapper_fungible_token.scen.json +++ b/contracts/feature-tests/basic-features/scenarios/storage_mapper_fungible_token.scen.json @@ -696,7 +696,7 @@ "expect": { "out": [], "status": "4", - "message": "str:incorrect number of ESDT transfers", + "message": "str:incorrect number of transfers", "logs": "*", "gas": "*", "refund": "*" diff --git a/contracts/feature-tests/basic-features/src/big_num_operators.rs b/contracts/feature-tests/basic-features/src/big_num_operators.rs index 5968f9f31a..016a4d6d2e 100644 --- a/contracts/feature-tests/basic-features/src/big_num_operators.rs +++ b/contracts/feature-tests/basic-features/src/big_num_operators.rs @@ -8,325 +8,1210 @@ multiversx_sc::imports!(); /// Checks that BigUint/BigInt operators work as expected. #[multiversx_sc::module] -#[allow(clippy::redundant_clone)] +#[rustfmt::skip] pub trait BigIntOperators { // Endpoints grouped into several sections: // Arithmetic binary operators #[endpoint] - fn add_big_int(&self, a: BigInt, b: BigInt) -> BigInt { + fn add_big_int_big_int(&self, a: BigInt, b: BigInt) -> BigInt { a + b } #[endpoint] - fn add_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { + fn add_big_int_big_int_ref(&self, a: BigInt, b: &BigInt) -> BigInt { a + b } #[endpoint] - fn add_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + fn add_big_int_ref_big_int(&self, a: &BigInt, b: BigInt) -> BigInt { a + b } #[endpoint] - fn add_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + fn add_big_int_ref_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { a + b } #[endpoint] - fn sub_big_int(&self, a: BigInt, b: BigInt) -> BigInt { + fn add_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + a + b + } + #[endpoint] + fn add_big_uint_big_uint_ref(&self, a: BigUint, b: &BigUint) -> BigUint { + a + b + } + #[endpoint] + fn add_big_uint_ref_big_uint(&self, a: &BigUint, b: BigUint) -> BigUint { + a + b + } + #[endpoint] + fn add_big_uint_ref_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + a + b + } + #[endpoint] + fn add_big_uint_u32(&self, a: BigUint, b: u32) -> BigUint { + a + b + } + #[endpoint] + fn add_big_uint_ref_u32(&self, a: &BigUint, b: u32) -> BigUint { + a + b + } + #[endpoint] + fn add_big_uint_u64(&self, a: BigUint, b: u64) -> BigUint { + a + b + } + #[endpoint] + fn add_big_uint_ref_u64(&self, a: &BigUint, b: u64) -> BigUint { + a + b + } + #[endpoint] + fn add_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a + b + } + #[endpoint] + fn add_non_zero_big_uint_non_zero_big_uint_ref(&self, a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a + b + } + #[endpoint] + fn add_non_zero_big_uint_ref_non_zero_big_uint(&self, a: &NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a + b + } + #[endpoint] + fn add_non_zero_big_uint_ref_non_zero_big_uint_ref(&self, a: &NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a + b + } + #[endpoint] + fn add_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a + b + } + #[endpoint] + fn add_non_zero_big_uint_ref_u32(&self, a: &NonZeroBigUint, b: u32) -> NonZeroBigUint { + a + b + } + #[endpoint] + fn add_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a + b + } + #[endpoint] + fn add_non_zero_big_uint_ref_u64(&self, a: &NonZeroBigUint, b: u64) -> NonZeroBigUint { + a + b + } + #[endpoint] + fn sub_big_int_big_int(&self, a: BigInt, b: BigInt) -> BigInt { + a - b + } + #[endpoint] + fn sub_big_int_big_int_ref(&self, a: BigInt, b: &BigInt) -> BigInt { + a - b + } + #[endpoint] + fn sub_big_int_ref_big_int(&self, a: &BigInt, b: BigInt) -> BigInt { + a - b + } + #[endpoint] + fn sub_big_int_ref_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { + a - b + } + #[endpoint] + fn sub_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { a - b } #[endpoint] - fn sub_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - a - b + fn sub_big_uint_big_uint_ref(&self, a: BigUint, b: &BigUint) -> BigUint { + a - b + } + #[endpoint] + fn sub_big_uint_ref_big_uint(&self, a: &BigUint, b: BigUint) -> BigUint { + a - b + } + #[endpoint] + fn sub_big_uint_ref_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + a - b + } + #[endpoint] + fn sub_big_uint_u32(&self, a: BigUint, b: u32) -> BigUint { + a - b + } + #[endpoint] + fn sub_big_uint_ref_u32(&self, a: &BigUint, b: u32) -> BigUint { + a - b + } + #[endpoint] + fn sub_big_uint_u64(&self, a: BigUint, b: u64) -> BigUint { + a - b + } + #[endpoint] + fn sub_big_uint_ref_u64(&self, a: &BigUint, b: u64) -> BigUint { + a - b + } + #[endpoint] + fn sub_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a - b + } + #[endpoint] + fn sub_non_zero_big_uint_non_zero_big_uint_ref(&self, a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a - b + } + #[endpoint] + fn sub_non_zero_big_uint_ref_non_zero_big_uint(&self, a: &NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a - b + } + #[endpoint] + fn sub_non_zero_big_uint_ref_non_zero_big_uint_ref(&self, a: &NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a - b + } + #[endpoint] + fn sub_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a - b + } + #[endpoint] + fn sub_non_zero_big_uint_ref_u32(&self, a: &NonZeroBigUint, b: u32) -> NonZeroBigUint { + a - b + } + #[endpoint] + fn sub_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a - b + } + #[endpoint] + fn sub_non_zero_big_uint_ref_u64(&self, a: &NonZeroBigUint, b: u64) -> NonZeroBigUint { + a - b + } + #[endpoint] + fn mul_big_int_big_int(&self, a: BigInt, b: BigInt) -> BigInt { + a * b + } + #[endpoint] + fn mul_big_int_big_int_ref(&self, a: BigInt, b: &BigInt) -> BigInt { + a * b + } + #[endpoint] + fn mul_big_int_ref_big_int(&self, a: &BigInt, b: BigInt) -> BigInt { + a * b + } + #[endpoint] + fn mul_big_int_ref_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { + a * b + } + #[endpoint] + fn mul_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + a * b + } + #[endpoint] + fn mul_big_uint_big_uint_ref(&self, a: BigUint, b: &BigUint) -> BigUint { + a * b + } + #[endpoint] + fn mul_big_uint_ref_big_uint(&self, a: &BigUint, b: BigUint) -> BigUint { + a * b + } + #[endpoint] + fn mul_big_uint_ref_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + a * b + } + #[endpoint] + fn mul_big_uint_u32(&self, a: BigUint, b: u32) -> BigUint { + a * b + } + #[endpoint] + fn mul_big_uint_ref_u32(&self, a: &BigUint, b: u32) -> BigUint { + a * b + } + #[endpoint] + fn mul_big_uint_u64(&self, a: BigUint, b: u64) -> BigUint { + a * b + } + #[endpoint] + fn mul_big_uint_ref_u64(&self, a: &BigUint, b: u64) -> BigUint { + a * b + } + #[endpoint] + fn mul_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a * b + } + #[endpoint] + fn mul_non_zero_big_uint_non_zero_big_uint_ref(&self, a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a * b + } + #[endpoint] + fn mul_non_zero_big_uint_ref_non_zero_big_uint(&self, a: &NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a * b + } + #[endpoint] + fn mul_non_zero_big_uint_ref_non_zero_big_uint_ref(&self, a: &NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a * b + } + #[endpoint] + fn mul_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a * b + } + #[endpoint] + fn mul_non_zero_big_uint_ref_u32(&self, a: &NonZeroBigUint, b: u32) -> NonZeroBigUint { + a * b + } + #[endpoint] + fn mul_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a * b + } + #[endpoint] + fn mul_non_zero_big_uint_ref_u64(&self, a: &NonZeroBigUint, b: u64) -> NonZeroBigUint { + a * b + } + #[endpoint] + fn div_big_int_big_int(&self, a: BigInt, b: BigInt) -> BigInt { + a / b + } + #[endpoint] + fn div_big_int_big_int_ref(&self, a: BigInt, b: &BigInt) -> BigInt { + a / b + } + #[endpoint] + fn div_big_int_ref_big_int(&self, a: &BigInt, b: BigInt) -> BigInt { + a / b + } + #[endpoint] + fn div_big_int_ref_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { + a / b + } + #[endpoint] + fn div_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + a / b + } + #[endpoint] + fn div_big_uint_big_uint_ref(&self, a: BigUint, b: &BigUint) -> BigUint { + a / b + } + #[endpoint] + fn div_big_uint_ref_big_uint(&self, a: &BigUint, b: BigUint) -> BigUint { + a / b + } + #[endpoint] + fn div_big_uint_ref_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + a / b + } + #[endpoint] + fn div_big_uint_u32(&self, a: BigUint, b: u32) -> BigUint { + a / b + } + #[endpoint] + fn div_big_uint_ref_u32(&self, a: &BigUint, b: u32) -> BigUint { + a / b + } + #[endpoint] + fn div_big_uint_u64(&self, a: BigUint, b: u64) -> BigUint { + a / b + } + #[endpoint] + fn div_big_uint_ref_u64(&self, a: &BigUint, b: u64) -> BigUint { + a / b + } + #[endpoint] + fn div_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a / b + } + #[endpoint] + fn div_non_zero_big_uint_non_zero_big_uint_ref(&self, a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a / b + } + #[endpoint] + fn div_non_zero_big_uint_ref_non_zero_big_uint(&self, a: &NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a / b + } + #[endpoint] + fn div_non_zero_big_uint_ref_non_zero_big_uint_ref(&self, a: &NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a / b + } + #[endpoint] + fn div_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a / b + } + #[endpoint] + fn div_non_zero_big_uint_ref_u32(&self, a: &NonZeroBigUint, b: u32) -> NonZeroBigUint { + a / b + } + #[endpoint] + fn div_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a / b + } + #[endpoint] + fn div_non_zero_big_uint_ref_u64(&self, a: &NonZeroBigUint, b: u64) -> NonZeroBigUint { + a / b + } + #[endpoint] + fn rem_big_int_big_int(&self, a: BigInt, b: BigInt) -> BigInt { + a % b + } + #[endpoint] + fn rem_big_int_big_int_ref(&self, a: BigInt, b: &BigInt) -> BigInt { + a % b + } + #[endpoint] + fn rem_big_int_ref_big_int(&self, a: &BigInt, b: BigInt) -> BigInt { + a % b + } + #[endpoint] + fn rem_big_int_ref_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { + a % b + } + #[endpoint] + fn rem_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + a % b + } + #[endpoint] + fn rem_big_uint_big_uint_ref(&self, a: BigUint, b: &BigUint) -> BigUint { + a % b + } + #[endpoint] + fn rem_big_uint_ref_big_uint(&self, a: &BigUint, b: BigUint) -> BigUint { + a % b + } + #[endpoint] + fn rem_big_uint_ref_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + a % b + } + #[endpoint] + fn rem_big_uint_u32(&self, a: BigUint, b: u32) -> BigUint { + a % b + } + #[endpoint] + fn rem_big_uint_ref_u32(&self, a: &BigUint, b: u32) -> BigUint { + a % b + } + #[endpoint] + fn rem_big_uint_u64(&self, a: BigUint, b: u64) -> BigUint { + a % b + } + #[endpoint] + fn rem_big_uint_ref_u64(&self, a: &BigUint, b: u64) -> BigUint { + a % b + } + #[endpoint] + fn rem_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a % b + } + #[endpoint] + fn rem_non_zero_big_uint_non_zero_big_uint_ref(&self, a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a % b + } + #[endpoint] + fn rem_non_zero_big_uint_ref_non_zero_big_uint(&self, a: &NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a % b + } + #[endpoint] + fn rem_non_zero_big_uint_ref_non_zero_big_uint_ref(&self, a: &NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a % b + } + #[endpoint] + fn rem_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a % b + } + #[endpoint] + fn rem_non_zero_big_uint_ref_u32(&self, a: &NonZeroBigUint, b: u32) -> NonZeroBigUint { + a % b + } + #[endpoint] + fn rem_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a % b + } + #[endpoint] + fn rem_non_zero_big_uint_ref_u64(&self, a: &NonZeroBigUint, b: u64) -> NonZeroBigUint { + a % b + } + + // Arithmetic assign operators + + #[endpoint] + fn add_assign_big_int_big_int(&self, mut a: BigInt, b: BigInt) -> BigInt { + a += b; + a + } + #[endpoint] + fn add_assign_big_int_big_int_ref(&self, mut a: BigInt, b: &BigInt) -> BigInt { + a += b; + a + } + #[endpoint] + fn add_assign_big_uint_big_uint(&self, mut a: BigUint, b: BigUint) -> BigUint { + a += b; + a + } + #[endpoint] + fn add_assign_big_uint_big_uint_ref(&self, mut a: BigUint, b: &BigUint) -> BigUint { + a += b; + a + } + #[endpoint] + fn add_assign_big_uint_u32(&self, mut a: BigUint, b: u32) -> BigUint { + a += b; + a + } + #[endpoint] + fn add_assign_big_uint_u64(&self, mut a: BigUint, b: u64) -> BigUint { + a += b; + a + } + #[endpoint] + fn add_assign_non_zero_big_uint_non_zero_big_uint(&self, mut a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a += b; + a + } + #[endpoint] + fn add_assign_non_zero_big_uint_non_zero_big_uint_ref(&self, mut a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a += b; + a + } + #[endpoint] + fn add_assign_non_zero_big_uint_big_uint(&self, mut a: NonZeroBigUint, b: BigUint) -> NonZeroBigUint { + a += b; + a + } + #[endpoint] + fn add_assign_non_zero_big_uint_big_uint_ref(&self, mut a: NonZeroBigUint, b: &BigUint) -> NonZeroBigUint { + a += b; + a + } + #[endpoint] + fn add_assign_non_zero_big_uint_u32(&self, mut a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a += b; + a + } + #[endpoint] + fn add_assign_non_zero_big_uint_u64(&self, mut a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a += b; + a + } + #[endpoint] + fn sub_assign_big_int_big_int(&self, mut a: BigInt, b: BigInt) -> BigInt { + a -= b; + a + } + #[endpoint] + fn sub_assign_big_int_big_int_ref(&self, mut a: BigInt, b: &BigInt) -> BigInt { + a -= b; + a } #[endpoint] - fn sub_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - a - b + fn sub_assign_big_uint_big_uint(&self, mut a: BigUint, b: BigUint) -> BigUint { + a -= b; + a } #[endpoint] - fn sub_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - a - b + fn sub_assign_big_uint_big_uint_ref(&self, mut a: BigUint, b: &BigUint) -> BigUint { + a -= b; + a } #[endpoint] - fn mul_big_int(&self, a: BigInt, b: BigInt) -> BigInt { - a * b + fn sub_assign_big_uint_u32(&self, mut a: BigUint, b: u32) -> BigUint { + a -= b; + a } #[endpoint] - fn mul_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - a * b + fn sub_assign_big_uint_u64(&self, mut a: BigUint, b: u64) -> BigUint { + a -= b; + a } #[endpoint] - fn mul_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - a * b + fn sub_assign_non_zero_big_uint_non_zero_big_uint(&self, mut a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a -= b; + a } #[endpoint] - fn mul_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - a * b + fn sub_assign_non_zero_big_uint_non_zero_big_uint_ref(&self, mut a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a -= b; + a } #[endpoint] - fn div_big_int(&self, a: BigInt, b: BigInt) -> BigInt { - a / b + fn sub_assign_non_zero_big_uint_big_uint(&self, mut a: NonZeroBigUint, b: BigUint) -> NonZeroBigUint { + a -= b; + a } #[endpoint] - fn div_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - a / b + fn sub_assign_non_zero_big_uint_big_uint_ref(&self, mut a: NonZeroBigUint, b: &BigUint) -> NonZeroBigUint { + a -= b; + a } #[endpoint] - fn div_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - a / b + fn sub_assign_non_zero_big_uint_u32(&self, mut a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a -= b; + a } #[endpoint] - fn div_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - a / b + fn sub_assign_non_zero_big_uint_u64(&self, mut a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a -= b; + a } #[endpoint] - fn rem_big_int(&self, a: BigInt, b: BigInt) -> BigInt { - a % b + fn mul_assign_big_int_big_int(&self, mut a: BigInt, b: BigInt) -> BigInt { + a *= b; + a } #[endpoint] - fn rem_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - a % b + fn mul_assign_big_int_big_int_ref(&self, mut a: BigInt, b: &BigInt) -> BigInt { + a *= b; + a } #[endpoint] - fn rem_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - a % b + fn mul_assign_big_uint_big_uint(&self, mut a: BigUint, b: BigUint) -> BigUint { + a *= b; + a } #[endpoint] - fn rem_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - a % b + fn mul_assign_big_uint_big_uint_ref(&self, mut a: BigUint, b: &BigUint) -> BigUint { + a *= b; + a + } + #[endpoint] + fn mul_assign_big_uint_u32(&self, mut a: BigUint, b: u32) -> BigUint { + a *= b; + a + } + #[endpoint] + fn mul_assign_big_uint_u64(&self, mut a: BigUint, b: u64) -> BigUint { + a *= b; + a + } + #[endpoint] + fn mul_assign_non_zero_big_uint_non_zero_big_uint(&self, mut a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a *= b; + a + } + #[endpoint] + fn mul_assign_non_zero_big_uint_non_zero_big_uint_ref(&self, mut a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a *= b; + a + } + #[endpoint] + fn mul_assign_non_zero_big_uint_big_uint(&self, mut a: NonZeroBigUint, b: BigUint) -> NonZeroBigUint { + a *= b; + a + } + #[endpoint] + fn mul_assign_non_zero_big_uint_big_uint_ref(&self, mut a: NonZeroBigUint, b: &BigUint) -> NonZeroBigUint { + a *= b; + a + } + #[endpoint] + fn mul_assign_non_zero_big_uint_u32(&self, mut a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a *= b; + a } - - // Arithmetic assign operators - #[endpoint] - fn add_assign_big_int(&self, a: BigInt, b: BigInt) -> BigInt { - let mut r = a.clone(); - r += b; - r + fn mul_assign_non_zero_big_uint_u64(&self, mut a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a *= b; + a } #[endpoint] - fn add_assign_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - let mut r = a.clone(); - r += b; - r + fn div_assign_big_int_big_int(&self, mut a: BigInt, b: BigInt) -> BigInt { + a /= b; + a } #[endpoint] - fn add_assign_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - let mut r = a.clone(); - r += b; - r + fn div_assign_big_int_big_int_ref(&self, mut a: BigInt, b: &BigInt) -> BigInt { + a /= b; + a } #[endpoint] - fn add_assign_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - let mut r = a.clone(); - r += b; - r + fn div_assign_big_uint_big_uint(&self, mut a: BigUint, b: BigUint) -> BigUint { + a /= b; + a } #[endpoint] - fn sub_assign_big_int(&self, a: BigInt, b: BigInt) -> BigInt { - let mut r = a.clone(); - r -= b; - r + fn div_assign_big_uint_big_uint_ref(&self, mut a: BigUint, b: &BigUint) -> BigUint { + a /= b; + a } #[endpoint] - fn sub_assign_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - let mut r = a.clone(); - r -= b; - r + fn div_assign_big_uint_u32(&self, mut a: BigUint, b: u32) -> BigUint { + a /= b; + a } #[endpoint] - fn sub_assign_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - let mut r = a.clone(); - r -= b; - r + fn div_assign_big_uint_u64(&self, mut a: BigUint, b: u64) -> BigUint { + a /= b; + a } #[endpoint] - fn sub_assign_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - let mut r = a.clone(); - r -= b; - r + fn div_assign_non_zero_big_uint_non_zero_big_uint(&self, mut a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a /= b; + a } #[endpoint] - fn mul_assign_big_int(&self, a: BigInt, b: BigInt) -> BigInt { - let mut r = a.clone(); - r *= b; - r + fn div_assign_non_zero_big_uint_non_zero_big_uint_ref(&self, mut a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a /= b; + a } #[endpoint] - fn mul_assign_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - let mut r = a.clone(); - r *= b; - r + fn div_assign_non_zero_big_uint_big_uint(&self, mut a: NonZeroBigUint, b: BigUint) -> NonZeroBigUint { + a /= b; + a } #[endpoint] - fn mul_assign_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - let mut r = a.clone(); - r *= b; - r + fn div_assign_non_zero_big_uint_big_uint_ref(&self, mut a: NonZeroBigUint, b: &BigUint) -> NonZeroBigUint { + a /= b; + a } #[endpoint] - fn mul_assign_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - let mut r = a.clone(); - r *= b; - r + fn div_assign_non_zero_big_uint_u32(&self, mut a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a /= b; + a } #[endpoint] - fn div_assign_big_int(&self, a: BigInt, b: BigInt) -> BigInt { - let mut r = a.clone(); - r /= b; - r + fn div_assign_non_zero_big_uint_u64(&self, mut a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a /= b; + a } #[endpoint] - fn div_assign_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - let mut r = a.clone(); - r /= b; - r + fn rem_assign_big_int_big_int(&self, mut a: BigInt, b: BigInt) -> BigInt { + a %= b; + a } #[endpoint] - fn div_assign_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - let mut r = a.clone(); - r /= b; - r + fn rem_assign_big_int_big_int_ref(&self, mut a: BigInt, b: &BigInt) -> BigInt { + a %= b; + a } #[endpoint] - fn div_assign_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - let mut r = a.clone(); - r /= b; - r + fn rem_assign_big_uint_big_uint(&self, mut a: BigUint, b: BigUint) -> BigUint { + a %= b; + a } #[endpoint] - fn rem_assign_big_int(&self, a: BigInt, b: BigInt) -> BigInt { - let mut r = a.clone(); - r %= b; - r + fn rem_assign_big_uint_big_uint_ref(&self, mut a: BigUint, b: &BigUint) -> BigUint { + a %= b; + a } #[endpoint] - fn rem_assign_big_int_ref(&self, a: &BigInt, b: &BigInt) -> BigInt { - let mut r = a.clone(); - r %= b; - r + fn rem_assign_big_uint_u32(&self, mut a: BigUint, b: u32) -> BigUint { + a %= b; + a } #[endpoint] - fn rem_assign_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - let mut r = a.clone(); - r %= b; - r + fn rem_assign_big_uint_u64(&self, mut a: BigUint, b: u64) -> BigUint { + a %= b; + a } #[endpoint] - fn rem_assign_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - let mut r = a.clone(); - r %= b; - r + fn rem_assign_non_zero_big_uint_non_zero_big_uint(&self, mut a: NonZeroBigUint, b: NonZeroBigUint) -> NonZeroBigUint { + a %= b; + a + } + #[endpoint] + fn rem_assign_non_zero_big_uint_non_zero_big_uint_ref(&self, mut a: NonZeroBigUint, b: &NonZeroBigUint) -> NonZeroBigUint { + a %= b; + a + } + #[endpoint] + fn rem_assign_non_zero_big_uint_big_uint(&self, mut a: NonZeroBigUint, b: BigUint) -> NonZeroBigUint { + a %= b; + a + } + #[endpoint] + fn rem_assign_non_zero_big_uint_big_uint_ref(&self, mut a: NonZeroBigUint, b: &BigUint) -> NonZeroBigUint { + a %= b; + a + } + #[endpoint] + fn rem_assign_non_zero_big_uint_u32(&self, mut a: NonZeroBigUint, b: u32) -> NonZeroBigUint { + a %= b; + a + } + #[endpoint] + fn rem_assign_non_zero_big_uint_u64(&self, mut a: NonZeroBigUint, b: u64) -> NonZeroBigUint { + a %= b; + a } // Bitwise binary operators #[endpoint] - fn bit_and_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + fn bit_and_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + a & b + } + #[endpoint] + fn bit_and_big_uint_big_uint_ref(&self, a: BigUint, b: &BigUint) -> BigUint { + a & b + } + #[endpoint] + fn bit_and_big_uint_ref_big_uint(&self, a: &BigUint, b: BigUint) -> BigUint { a & b } #[endpoint] - fn bit_and_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + fn bit_and_big_uint_ref_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { a & b } #[endpoint] - fn bit_or_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + fn bit_and_big_uint_u32(&self, a: BigUint, b: u32) -> BigUint { + a & b + } + #[endpoint] + fn bit_and_big_uint_ref_u32(&self, a: &BigUint, b: u32) -> BigUint { + a & b + } + #[endpoint] + fn bit_and_big_uint_u64(&self, a: BigUint, b: u64) -> BigUint { + a & b + } + #[endpoint] + fn bit_and_big_uint_ref_u64(&self, a: &BigUint, b: u64) -> BigUint { + a & b + } + #[endpoint] + fn bit_or_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + a | b + } + #[endpoint] + fn bit_or_big_uint_big_uint_ref(&self, a: BigUint, b: &BigUint) -> BigUint { + a | b + } + #[endpoint] + fn bit_or_big_uint_ref_big_uint(&self, a: &BigUint, b: BigUint) -> BigUint { + a | b + } + #[endpoint] + fn bit_or_big_uint_ref_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + a | b + } + #[endpoint] + fn bit_or_big_uint_u32(&self, a: BigUint, b: u32) -> BigUint { a | b } #[endpoint] - fn bit_or_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + fn bit_or_big_uint_ref_u32(&self, a: &BigUint, b: u32) -> BigUint { a | b } #[endpoint] - fn bit_xor_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + fn bit_or_big_uint_u64(&self, a: BigUint, b: u64) -> BigUint { + a | b + } + #[endpoint] + fn bit_or_big_uint_ref_u64(&self, a: &BigUint, b: u64) -> BigUint { + a | b + } + #[endpoint] + fn bit_xor_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { + a ^ b + } + #[endpoint] + fn bit_xor_big_uint_big_uint_ref(&self, a: BigUint, b: &BigUint) -> BigUint { + a ^ b + } + #[endpoint] + fn bit_xor_big_uint_ref_big_uint(&self, a: &BigUint, b: BigUint) -> BigUint { + a ^ b + } + #[endpoint] + fn bit_xor_big_uint_ref_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + a ^ b + } + #[endpoint] + fn bit_xor_big_uint_u32(&self, a: BigUint, b: u32) -> BigUint { + a ^ b + } + #[endpoint] + fn bit_xor_big_uint_ref_u32(&self, a: &BigUint, b: u32) -> BigUint { + a ^ b + } + #[endpoint] + fn bit_xor_big_uint_u64(&self, a: BigUint, b: u64) -> BigUint { a ^ b } #[endpoint] - fn bit_xor_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { + fn bit_xor_big_uint_ref_u64(&self, a: &BigUint, b: u64) -> BigUint { a ^ b } // Bitwise assign operators #[endpoint] - fn bit_and_assign_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - let mut r = a.clone(); - r &= b; - r + fn bit_and_assign_big_uint_big_uint(&self, mut a: BigUint, b: BigUint) -> BigUint { + a &= b; + a } #[endpoint] - fn bit_and_assign_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - let mut r = a.clone(); - r &= b; - r + fn bit_and_assign_big_uint_big_uint_ref(&self, mut a: BigUint, b: &BigUint) -> BigUint { + a &= b; + a } #[endpoint] - fn bit_or_assign_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - let mut r = a.clone(); - r |= b; - r + fn bit_and_assign_big_uint_u32(&self, mut a: BigUint, b: u32) -> BigUint { + a &= b; + a } #[endpoint] - fn bit_or_assign_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - let mut r = a.clone(); - r |= b; - r + fn bit_and_assign_big_uint_u64(&self, mut a: BigUint, b: u64) -> BigUint { + a &= b; + a } #[endpoint] - fn bit_xor_assign_big_uint(&self, a: BigUint, b: BigUint) -> BigUint { - let mut r = a.clone(); - r ^= b; - r + fn bit_or_assign_big_uint_big_uint(&self, mut a: BigUint, b: BigUint) -> BigUint { + a |= b; + a } #[endpoint] - fn bit_xor_assign_big_uint_ref(&self, a: &BigUint, b: &BigUint) -> BigUint { - let mut r = a.clone(); - r ^= b; - r + fn bit_or_assign_big_uint_big_uint_ref(&self, mut a: BigUint, b: &BigUint) -> BigUint { + a |= b; + a + } + #[endpoint] + fn bit_or_assign_big_uint_u32(&self, mut a: BigUint, b: u32) -> BigUint { + a |= b; + a + } + #[endpoint] + fn bit_or_assign_big_uint_u64(&self, mut a: BigUint, b: u64) -> BigUint { + a |= b; + a + } + #[endpoint] + fn bit_xor_assign_big_uint_big_uint(&self, mut a: BigUint, b: BigUint) -> BigUint { + a ^= b; + a + } + #[endpoint] + fn bit_xor_assign_big_uint_big_uint_ref(&self, mut a: BigUint, b: &BigUint) -> BigUint { + a ^= b; + a + } + #[endpoint] + fn bit_xor_assign_big_uint_u32(&self, mut a: BigUint, b: u32) -> BigUint { + a ^= b; + a + } + #[endpoint] + fn bit_xor_assign_big_uint_u64(&self, mut a: BigUint, b: u64) -> BigUint { + a ^= b; + a } // Bitwise shift binary operators #[endpoint] - fn shr_big_uint(&self, a: BigUint, b: usize) -> BigUint { + fn shr_big_uint_usize(&self, a: BigUint, b: usize) -> BigUint { a >> b } #[endpoint] - fn shr_big_uint_ref(&self, a: &BigUint, b: usize) -> BigUint { + fn shr_big_uint_ref_usize(&self, a: &BigUint, b: usize) -> BigUint { a >> b } #[endpoint] - fn shl_big_uint(&self, a: BigUint, b: usize) -> BigUint { + fn shl_big_uint_usize(&self, a: BigUint, b: usize) -> BigUint { a << b } #[endpoint] - fn shl_big_uint_ref(&self, a: &BigUint, b: usize) -> BigUint { + fn shl_big_uint_ref_usize(&self, a: &BigUint, b: usize) -> BigUint { a << b } // Bitwise shift assign operators #[endpoint] - fn shr_assign_big_uint(&self, a: BigUint, b: usize) -> BigUint { - let mut r = a.clone(); - r >>= b; - r + fn shr_assign_big_uint_usize(&self, mut a: BigUint, b: usize) -> BigUint { + a >>= b; + a + } + #[endpoint] + fn shl_assign_big_uint_usize(&self, mut a: BigUint, b: usize) -> BigUint { + a <<= b; + a + } + + // Equality/comparison operators + + #[endpoint] + fn eq_big_int_big_int(&self, a: BigInt, b: BigInt) -> bool { + a == b + } + #[endpoint] + fn eq_big_int_i32(&self, a: BigInt, b: i32) -> bool { + a == b + } + #[endpoint] + fn eq_big_int_i64(&self, a: BigInt, b: i64) -> bool { + a == b + } + #[endpoint] + fn eq_big_int_u32(&self, a: BigInt, b: u32) -> bool { + a == b + } + #[endpoint] + fn eq_big_int_u64(&self, a: BigInt, b: u64) -> bool { + a == b + } + #[endpoint] + fn eq_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> bool { + a == b + } + #[endpoint] + fn eq_big_uint_i32(&self, a: BigUint, b: i32) -> bool { + a == b + } + #[endpoint] + fn eq_big_uint_i64(&self, a: BigUint, b: i64) -> bool { + a == b + } + #[endpoint] + fn eq_big_uint_u32(&self, a: BigUint, b: u32) -> bool { + a == b + } + #[endpoint] + fn eq_big_uint_u64(&self, a: BigUint, b: u64) -> bool { + a == b + } + #[endpoint] + fn eq_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> bool { + a == b + } + #[endpoint] + fn eq_non_zero_big_uint_i32(&self, a: NonZeroBigUint, b: i32) -> bool { + a == b + } + #[endpoint] + fn eq_non_zero_big_uint_i64(&self, a: NonZeroBigUint, b: i64) -> bool { + a == b + } + #[endpoint] + fn eq_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> bool { + a == b + } + #[endpoint] + fn eq_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> bool { + a == b + } + #[endpoint] + fn gt_big_int_big_int(&self, a: BigInt, b: BigInt) -> bool { + a > b + } + #[endpoint] + fn gt_big_int_i32(&self, a: BigInt, b: i32) -> bool { + a > b + } + #[endpoint] + fn gt_big_int_i64(&self, a: BigInt, b: i64) -> bool { + a > b + } + #[endpoint] + fn gt_big_int_u32(&self, a: BigInt, b: u32) -> bool { + a > b + } + #[endpoint] + fn gt_big_int_u64(&self, a: BigInt, b: u64) -> bool { + a > b + } + #[endpoint] + fn gt_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> bool { + a > b + } + #[endpoint] + fn gt_big_uint_i32(&self, a: BigUint, b: i32) -> bool { + a > b + } + #[endpoint] + fn gt_big_uint_i64(&self, a: BigUint, b: i64) -> bool { + a > b + } + #[endpoint] + fn gt_big_uint_u32(&self, a: BigUint, b: u32) -> bool { + a > b + } + #[endpoint] + fn gt_big_uint_u64(&self, a: BigUint, b: u64) -> bool { + a > b + } + #[endpoint] + fn gt_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> bool { + a > b + } + #[endpoint] + fn gt_non_zero_big_uint_i32(&self, a: NonZeroBigUint, b: i32) -> bool { + a > b + } + #[endpoint] + fn gt_non_zero_big_uint_i64(&self, a: NonZeroBigUint, b: i64) -> bool { + a > b + } + #[endpoint] + fn gt_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> bool { + a > b + } + #[endpoint] + fn gt_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> bool { + a > b + } + #[endpoint] + fn ge_big_int_big_int(&self, a: BigInt, b: BigInt) -> bool { + a >= b + } + #[endpoint] + fn ge_big_int_i32(&self, a: BigInt, b: i32) -> bool { + a >= b + } + #[endpoint] + fn ge_big_int_i64(&self, a: BigInt, b: i64) -> bool { + a >= b + } + #[endpoint] + fn ge_big_int_u32(&self, a: BigInt, b: u32) -> bool { + a >= b + } + #[endpoint] + fn ge_big_int_u64(&self, a: BigInt, b: u64) -> bool { + a >= b + } + #[endpoint] + fn ge_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> bool { + a >= b + } + #[endpoint] + fn ge_big_uint_i32(&self, a: BigUint, b: i32) -> bool { + a >= b + } + #[endpoint] + fn ge_big_uint_i64(&self, a: BigUint, b: i64) -> bool { + a >= b + } + #[endpoint] + fn ge_big_uint_u32(&self, a: BigUint, b: u32) -> bool { + a >= b + } + #[endpoint] + fn ge_big_uint_u64(&self, a: BigUint, b: u64) -> bool { + a >= b + } + #[endpoint] + fn ge_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> bool { + a >= b + } + #[endpoint] + fn ge_non_zero_big_uint_i32(&self, a: NonZeroBigUint, b: i32) -> bool { + a >= b + } + #[endpoint] + fn ge_non_zero_big_uint_i64(&self, a: NonZeroBigUint, b: i64) -> bool { + a >= b + } + #[endpoint] + fn ge_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> bool { + a >= b + } + #[endpoint] + fn ge_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> bool { + a >= b + } + #[endpoint] + fn lt_big_int_big_int(&self, a: BigInt, b: BigInt) -> bool { + a < b + } + #[endpoint] + fn lt_big_int_i32(&self, a: BigInt, b: i32) -> bool { + a < b + } + #[endpoint] + fn lt_big_int_i64(&self, a: BigInt, b: i64) -> bool { + a < b + } + #[endpoint] + fn lt_big_int_u32(&self, a: BigInt, b: u32) -> bool { + a < b + } + #[endpoint] + fn lt_big_int_u64(&self, a: BigInt, b: u64) -> bool { + a < b + } + #[endpoint] + fn lt_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> bool { + a < b + } + #[endpoint] + fn lt_big_uint_i32(&self, a: BigUint, b: i32) -> bool { + a < b + } + #[endpoint] + fn lt_big_uint_i64(&self, a: BigUint, b: i64) -> bool { + a < b + } + #[endpoint] + fn lt_big_uint_u32(&self, a: BigUint, b: u32) -> bool { + a < b + } + #[endpoint] + fn lt_big_uint_u64(&self, a: BigUint, b: u64) -> bool { + a < b + } + #[endpoint] + fn lt_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> bool { + a < b + } + #[endpoint] + fn lt_non_zero_big_uint_i32(&self, a: NonZeroBigUint, b: i32) -> bool { + a < b + } + #[endpoint] + fn lt_non_zero_big_uint_i64(&self, a: NonZeroBigUint, b: i64) -> bool { + a < b + } + #[endpoint] + fn lt_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> bool { + a < b + } + #[endpoint] + fn lt_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> bool { + a < b + } + #[endpoint] + fn le_big_int_big_int(&self, a: BigInt, b: BigInt) -> bool { + a <= b + } + #[endpoint] + fn le_big_int_i32(&self, a: BigInt, b: i32) -> bool { + a <= b + } + #[endpoint] + fn le_big_int_i64(&self, a: BigInt, b: i64) -> bool { + a <= b + } + #[endpoint] + fn le_big_int_u32(&self, a: BigInt, b: u32) -> bool { + a <= b + } + #[endpoint] + fn le_big_int_u64(&self, a: BigInt, b: u64) -> bool { + a <= b + } + #[endpoint] + fn le_big_uint_big_uint(&self, a: BigUint, b: BigUint) -> bool { + a <= b + } + #[endpoint] + fn le_big_uint_i32(&self, a: BigUint, b: i32) -> bool { + a <= b + } + #[endpoint] + fn le_big_uint_i64(&self, a: BigUint, b: i64) -> bool { + a <= b + } + #[endpoint] + fn le_big_uint_u32(&self, a: BigUint, b: u32) -> bool { + a <= b + } + #[endpoint] + fn le_big_uint_u64(&self, a: BigUint, b: u64) -> bool { + a <= b + } + #[endpoint] + fn le_non_zero_big_uint_non_zero_big_uint(&self, a: NonZeroBigUint, b: NonZeroBigUint) -> bool { + a <= b + } + #[endpoint] + fn le_non_zero_big_uint_i32(&self, a: NonZeroBigUint, b: i32) -> bool { + a <= b } #[endpoint] - fn shr_assign_big_uint_ref(&self, a: &BigUint, b: usize) -> BigUint { - let mut r = a.clone(); - r >>= b; - r + fn le_non_zero_big_uint_i64(&self, a: NonZeroBigUint, b: i64) -> bool { + a <= b } #[endpoint] - fn shl_assign_big_uint(&self, a: BigUint, b: usize) -> BigUint { - let mut r = a.clone(); - r <<= b; - r + fn le_non_zero_big_uint_u32(&self, a: NonZeroBigUint, b: u32) -> bool { + a <= b } #[endpoint] - fn shl_assign_big_uint_ref(&self, a: &BigUint, b: usize) -> BigUint { - let mut r = a.clone(); - r <<= b; - r + fn le_non_zero_big_uint_u64(&self, a: NonZeroBigUint, b: u64) -> bool { + a <= b } } diff --git a/contracts/feature-tests/basic-features/src/echo_managed.rs b/contracts/feature-tests/basic-features/src/echo_managed.rs index ee52241ba0..caa0115f20 100644 --- a/contracts/feature-tests/basic-features/src/echo_managed.rs +++ b/contracts/feature-tests/basic-features/src/echo_managed.rs @@ -4,8 +4,8 @@ use multiversx_sc::imports::*; #[multiversx_sc::module] pub trait EchoManagedTypes { #[endpoint] - fn echo_big_uint(&self, bi: BigUint) -> BigUint { - bi + fn echo_big_uint(&self, bu: BigUint) -> BigUint { + bu } #[endpoint] @@ -13,6 +13,11 @@ pub trait EchoManagedTypes { bi } + #[endpoint] + fn echo_non_zero_big_uint(&self, nzbu: NonZeroBigUint) -> NonZeroBigUint { + nzbu + } + #[endpoint] fn echo_managed_buffer(&self, mb: ManagedBuffer) -> ManagedBuffer { mb diff --git a/contracts/feature-tests/basic-features/src/small_num_overflow_test_ops.rs b/contracts/feature-tests/basic-features/src/small_num_overflow_test_ops.rs index 6104f00dbe..a7d16bae5c 100644 --- a/contracts/feature-tests/basic-features/src/small_num_overflow_test_ops.rs +++ b/contracts/feature-tests/basic-features/src/small_num_overflow_test_ops.rs @@ -2,7 +2,6 @@ multiversx_sc::imports!(); /// Used for testing overflow on small int types #[multiversx_sc::module] -#[allow(clippy::redundant_clone)] pub trait SmallIntOverflow { #[endpoint] #[allow(arithmetic_overflow)] diff --git a/contracts/feature-tests/basic-features/tests/basic_features_big_num_test.rs b/contracts/feature-tests/basic-features/tests/basic_features_big_num_test.rs index 9b2bfdbc71..78bd3ed35d 100644 --- a/contracts/feature-tests/basic-features/tests/basic_features_big_num_test.rs +++ b/contracts/feature-tests/basic-features/tests/basic_features_big_num_test.rs @@ -41,7 +41,7 @@ fn test_big_int_from() { fn check_big_uint_bitwise_and(a: u64, b: u64) { let bf = basic_features::contract_obj::(); - let result = bf.bit_and_big_uint(BigUint::from(a), BigUint::from(b)); + let result = bf.bit_and_big_uint_big_uint(BigUint::from(a), BigUint::from(b)); assert_eq!(BigUint::from(a & b), result); } @@ -55,9 +55,9 @@ fn test_big_uint_bitwise_and() { fn check_big_uint_shift(a: u64, b: usize) { let bf = basic_features::contract_obj::(); - let result = bf.shl_big_uint(BigUint::from(a), b); + let result = bf.shl_big_uint_usize(BigUint::from(a), b); assert_eq!(BigUint::from(a << b), result); - let result = bf.shr_big_uint(BigUint::from(a), b); + let result = bf.shr_big_uint_usize(BigUint::from(a), b); assert_eq!(BigUint::from(a >> b), result); } diff --git a/contracts/feature-tests/basic-features/tests/basic_features_scenario_go_test.rs b/contracts/feature-tests/basic-features/tests/basic_features_scenario_go_test.rs index 564a9d69cb..68f7042326 100644 --- a/contracts/feature-tests/basic-features/tests/basic_features_scenario_go_test.rs +++ b/contracts/feature-tests/basic-features/tests/basic_features_scenario_go_test.rs @@ -29,6 +29,11 @@ fn big_num_ops_bitwise_go() { world().run("scenarios/big_num_ops_bitwise.scen.json"); } +#[test] +fn big_num_ops_cmp_go() { + world().run("scenarios/big_num_ops_cmp.scen.json"); +} + #[test] fn big_num_ops_shift_go() { world().run("scenarios/big_num_ops_shift.scen.json"); @@ -195,6 +200,11 @@ fn echo_multi_value_tuples_go() { world().run("scenarios/echo_multi_value_tuples.scen.json"); } +#[test] +fn echo_non_zero_big_uint_go() { + world().run("scenarios/echo_non_zero_big_uint.scen.json"); +} + #[test] fn echo_nothing_go() { world().run("scenarios/echo_nothing.scen.json"); diff --git a/contracts/feature-tests/basic-features/tests/basic_features_scenario_rs_test.rs b/contracts/feature-tests/basic-features/tests/basic_features_scenario_rs_test.rs index ad1f4ed1a2..1e30502167 100644 --- a/contracts/feature-tests/basic-features/tests/basic_features_scenario_rs_test.rs +++ b/contracts/feature-tests/basic-features/tests/basic_features_scenario_rs_test.rs @@ -44,6 +44,11 @@ fn big_num_ops_bitwise_rs() { world().run("scenarios/big_num_ops_bitwise.scen.json"); } +#[test] +fn big_num_ops_cmp_rs() { + world().run("scenarios/big_num_ops_cmp.scen.json"); +} + #[test] #[ignore = "too slow with wasmer-experimental, run from basic_features_scenario_rs_slow_test.rs"] fn big_num_ops_shift_rs() { @@ -215,6 +220,11 @@ fn echo_multi_value_tuples_rs() { world().run("scenarios/echo_multi_value_tuples.scen.json"); } +#[test] +fn echo_non_zero_big_uint_rs() { + world().run("scenarios/echo_non_zero_big_uint.scen.json"); +} + #[test] fn echo_nothing_rs() { world().run("scenarios/echo_nothing.scen.json"); diff --git a/contracts/feature-tests/basic-features/wasm-basic-features/src/lib.rs b/contracts/feature-tests/basic-features/wasm-basic-features/src/lib.rs index c239edae70..636ffab4e3 100644 --- a/contracts/feature-tests/basic-features/wasm-basic-features/src/lib.rs +++ b/contracts/feature-tests/basic-features/wasm-basic-features/src/lib.rs @@ -5,9 +5,9 @@ //////////////////////////////////////////////////// // Init: 1 -// Endpoints: 437 +// Endpoints: 580 // Async Callback: 1 -// Total number of exported functions: 439 +// Total number of exported functions: 582 #![no_std] @@ -50,66 +50,208 @@ multiversx_sc_wasm_adapter::endpoints! { add_big_uint_big_int => add_big_uint_big_int add_big_int_big_uint_ref => add_big_int_big_uint_ref add_big_uint_big_int_ref => add_big_uint_big_int_ref - add_big_int => add_big_int - add_big_int_ref => add_big_int_ref - add_big_uint => add_big_uint - add_big_uint_ref => add_big_uint_ref - sub_big_int => sub_big_int - sub_big_int_ref => sub_big_int_ref - sub_big_uint => sub_big_uint - sub_big_uint_ref => sub_big_uint_ref - mul_big_int => mul_big_int - mul_big_int_ref => mul_big_int_ref - mul_big_uint => mul_big_uint - mul_big_uint_ref => mul_big_uint_ref - div_big_int => div_big_int - div_big_int_ref => div_big_int_ref - div_big_uint => div_big_uint - div_big_uint_ref => div_big_uint_ref - rem_big_int => rem_big_int - rem_big_int_ref => rem_big_int_ref - rem_big_uint => rem_big_uint - rem_big_uint_ref => rem_big_uint_ref - add_assign_big_int => add_assign_big_int - add_assign_big_int_ref => add_assign_big_int_ref - add_assign_big_uint => add_assign_big_uint - add_assign_big_uint_ref => add_assign_big_uint_ref - sub_assign_big_int => sub_assign_big_int - sub_assign_big_int_ref => sub_assign_big_int_ref - sub_assign_big_uint => sub_assign_big_uint - sub_assign_big_uint_ref => sub_assign_big_uint_ref - mul_assign_big_int => mul_assign_big_int - mul_assign_big_int_ref => mul_assign_big_int_ref - mul_assign_big_uint => mul_assign_big_uint - mul_assign_big_uint_ref => mul_assign_big_uint_ref - div_assign_big_int => div_assign_big_int - div_assign_big_int_ref => div_assign_big_int_ref - div_assign_big_uint => div_assign_big_uint - div_assign_big_uint_ref => div_assign_big_uint_ref - rem_assign_big_int => rem_assign_big_int - rem_assign_big_int_ref => rem_assign_big_int_ref - rem_assign_big_uint => rem_assign_big_uint - rem_assign_big_uint_ref => rem_assign_big_uint_ref - bit_and_big_uint => bit_and_big_uint - bit_and_big_uint_ref => bit_and_big_uint_ref - bit_or_big_uint => bit_or_big_uint - bit_or_big_uint_ref => bit_or_big_uint_ref - bit_xor_big_uint => bit_xor_big_uint - bit_xor_big_uint_ref => bit_xor_big_uint_ref - bit_and_assign_big_uint => bit_and_assign_big_uint - bit_and_assign_big_uint_ref => bit_and_assign_big_uint_ref - bit_or_assign_big_uint => bit_or_assign_big_uint - bit_or_assign_big_uint_ref => bit_or_assign_big_uint_ref - bit_xor_assign_big_uint => bit_xor_assign_big_uint - bit_xor_assign_big_uint_ref => bit_xor_assign_big_uint_ref - shr_big_uint => shr_big_uint - shr_big_uint_ref => shr_big_uint_ref - shl_big_uint => shl_big_uint - shl_big_uint_ref => shl_big_uint_ref - shr_assign_big_uint => shr_assign_big_uint - shr_assign_big_uint_ref => shr_assign_big_uint_ref - shl_assign_big_uint => shl_assign_big_uint - shl_assign_big_uint_ref => shl_assign_big_uint_ref + add_big_int_big_int => add_big_int_big_int + add_big_int_big_int_ref => add_big_int_big_int_ref + add_big_int_ref_big_int => add_big_int_ref_big_int + add_big_int_ref_big_int_ref => add_big_int_ref_big_int_ref + add_big_uint_big_uint => add_big_uint_big_uint + add_big_uint_big_uint_ref => add_big_uint_big_uint_ref + add_big_uint_ref_big_uint => add_big_uint_ref_big_uint + add_big_uint_ref_big_uint_ref => add_big_uint_ref_big_uint_ref + add_big_uint_u32 => add_big_uint_u32 + add_big_uint_ref_u32 => add_big_uint_ref_u32 + add_big_uint_u64 => add_big_uint_u64 + add_big_uint_ref_u64 => add_big_uint_ref_u64 + add_non_zero_big_uint_non_zero_big_uint => add_non_zero_big_uint_non_zero_big_uint + add_non_zero_big_uint_non_zero_big_uint_ref => add_non_zero_big_uint_non_zero_big_uint_ref + add_non_zero_big_uint_ref_non_zero_big_uint => add_non_zero_big_uint_ref_non_zero_big_uint + add_non_zero_big_uint_ref_non_zero_big_uint_ref => add_non_zero_big_uint_ref_non_zero_big_uint_ref + add_non_zero_big_uint_u32 => add_non_zero_big_uint_u32 + add_non_zero_big_uint_ref_u32 => add_non_zero_big_uint_ref_u32 + add_non_zero_big_uint_u64 => add_non_zero_big_uint_u64 + add_non_zero_big_uint_ref_u64 => add_non_zero_big_uint_ref_u64 + sub_big_int_big_int => sub_big_int_big_int + sub_big_int_big_int_ref => sub_big_int_big_int_ref + sub_big_int_ref_big_int => sub_big_int_ref_big_int + sub_big_int_ref_big_int_ref => sub_big_int_ref_big_int_ref + sub_big_uint_big_uint => sub_big_uint_big_uint + sub_big_uint_big_uint_ref => sub_big_uint_big_uint_ref + sub_big_uint_ref_big_uint => sub_big_uint_ref_big_uint + sub_big_uint_ref_big_uint_ref => sub_big_uint_ref_big_uint_ref + sub_big_uint_u32 => sub_big_uint_u32 + sub_big_uint_ref_u32 => sub_big_uint_ref_u32 + sub_big_uint_u64 => sub_big_uint_u64 + sub_big_uint_ref_u64 => sub_big_uint_ref_u64 + sub_non_zero_big_uint_non_zero_big_uint => sub_non_zero_big_uint_non_zero_big_uint + sub_non_zero_big_uint_non_zero_big_uint_ref => sub_non_zero_big_uint_non_zero_big_uint_ref + sub_non_zero_big_uint_ref_non_zero_big_uint => sub_non_zero_big_uint_ref_non_zero_big_uint + sub_non_zero_big_uint_ref_non_zero_big_uint_ref => sub_non_zero_big_uint_ref_non_zero_big_uint_ref + sub_non_zero_big_uint_u32 => sub_non_zero_big_uint_u32 + sub_non_zero_big_uint_ref_u32 => sub_non_zero_big_uint_ref_u32 + sub_non_zero_big_uint_u64 => sub_non_zero_big_uint_u64 + sub_non_zero_big_uint_ref_u64 => sub_non_zero_big_uint_ref_u64 + mul_big_int_big_int => mul_big_int_big_int + mul_big_int_big_int_ref => mul_big_int_big_int_ref + mul_big_int_ref_big_int => mul_big_int_ref_big_int + mul_big_int_ref_big_int_ref => mul_big_int_ref_big_int_ref + mul_big_uint_big_uint => mul_big_uint_big_uint + mul_big_uint_big_uint_ref => mul_big_uint_big_uint_ref + mul_big_uint_ref_big_uint => mul_big_uint_ref_big_uint + mul_big_uint_ref_big_uint_ref => mul_big_uint_ref_big_uint_ref + mul_big_uint_u32 => mul_big_uint_u32 + mul_big_uint_ref_u32 => mul_big_uint_ref_u32 + mul_big_uint_u64 => mul_big_uint_u64 + mul_big_uint_ref_u64 => mul_big_uint_ref_u64 + mul_non_zero_big_uint_non_zero_big_uint => mul_non_zero_big_uint_non_zero_big_uint + mul_non_zero_big_uint_non_zero_big_uint_ref => mul_non_zero_big_uint_non_zero_big_uint_ref + mul_non_zero_big_uint_ref_non_zero_big_uint => mul_non_zero_big_uint_ref_non_zero_big_uint + mul_non_zero_big_uint_ref_non_zero_big_uint_ref => mul_non_zero_big_uint_ref_non_zero_big_uint_ref + mul_non_zero_big_uint_u32 => mul_non_zero_big_uint_u32 + mul_non_zero_big_uint_ref_u32 => mul_non_zero_big_uint_ref_u32 + mul_non_zero_big_uint_u64 => mul_non_zero_big_uint_u64 + mul_non_zero_big_uint_ref_u64 => mul_non_zero_big_uint_ref_u64 + div_big_int_big_int => div_big_int_big_int + div_big_int_big_int_ref => div_big_int_big_int_ref + div_big_int_ref_big_int => div_big_int_ref_big_int + div_big_int_ref_big_int_ref => div_big_int_ref_big_int_ref + div_big_uint_big_uint => div_big_uint_big_uint + div_big_uint_big_uint_ref => div_big_uint_big_uint_ref + div_big_uint_ref_big_uint => div_big_uint_ref_big_uint + div_big_uint_ref_big_uint_ref => div_big_uint_ref_big_uint_ref + div_big_uint_u32 => div_big_uint_u32 + div_big_uint_ref_u32 => div_big_uint_ref_u32 + div_big_uint_u64 => div_big_uint_u64 + div_big_uint_ref_u64 => div_big_uint_ref_u64 + div_non_zero_big_uint_non_zero_big_uint => div_non_zero_big_uint_non_zero_big_uint + div_non_zero_big_uint_non_zero_big_uint_ref => div_non_zero_big_uint_non_zero_big_uint_ref + div_non_zero_big_uint_ref_non_zero_big_uint => div_non_zero_big_uint_ref_non_zero_big_uint + div_non_zero_big_uint_ref_non_zero_big_uint_ref => div_non_zero_big_uint_ref_non_zero_big_uint_ref + div_non_zero_big_uint_u32 => div_non_zero_big_uint_u32 + div_non_zero_big_uint_ref_u32 => div_non_zero_big_uint_ref_u32 + div_non_zero_big_uint_u64 => div_non_zero_big_uint_u64 + div_non_zero_big_uint_ref_u64 => div_non_zero_big_uint_ref_u64 + rem_big_int_big_int => rem_big_int_big_int + rem_big_int_big_int_ref => rem_big_int_big_int_ref + rem_big_int_ref_big_int => rem_big_int_ref_big_int + rem_big_int_ref_big_int_ref => rem_big_int_ref_big_int_ref + rem_big_uint_big_uint => rem_big_uint_big_uint + rem_big_uint_big_uint_ref => rem_big_uint_big_uint_ref + rem_big_uint_ref_big_uint => rem_big_uint_ref_big_uint + rem_big_uint_ref_big_uint_ref => rem_big_uint_ref_big_uint_ref + rem_big_uint_u32 => rem_big_uint_u32 + rem_big_uint_ref_u32 => rem_big_uint_ref_u32 + rem_big_uint_u64 => rem_big_uint_u64 + rem_big_uint_ref_u64 => rem_big_uint_ref_u64 + rem_non_zero_big_uint_non_zero_big_uint => rem_non_zero_big_uint_non_zero_big_uint + rem_non_zero_big_uint_non_zero_big_uint_ref => rem_non_zero_big_uint_non_zero_big_uint_ref + rem_non_zero_big_uint_ref_non_zero_big_uint => rem_non_zero_big_uint_ref_non_zero_big_uint + rem_non_zero_big_uint_ref_non_zero_big_uint_ref => rem_non_zero_big_uint_ref_non_zero_big_uint_ref + rem_non_zero_big_uint_u32 => rem_non_zero_big_uint_u32 + rem_non_zero_big_uint_ref_u32 => rem_non_zero_big_uint_ref_u32 + rem_non_zero_big_uint_u64 => rem_non_zero_big_uint_u64 + rem_non_zero_big_uint_ref_u64 => rem_non_zero_big_uint_ref_u64 + add_assign_big_int_big_int => add_assign_big_int_big_int + add_assign_big_int_big_int_ref => add_assign_big_int_big_int_ref + add_assign_big_uint_big_uint => add_assign_big_uint_big_uint + add_assign_big_uint_big_uint_ref => add_assign_big_uint_big_uint_ref + add_assign_big_uint_u32 => add_assign_big_uint_u32 + add_assign_big_uint_u64 => add_assign_big_uint_u64 + add_assign_non_zero_big_uint_non_zero_big_uint => add_assign_non_zero_big_uint_non_zero_big_uint + add_assign_non_zero_big_uint_non_zero_big_uint_ref => add_assign_non_zero_big_uint_non_zero_big_uint_ref + add_assign_non_zero_big_uint_big_uint => add_assign_non_zero_big_uint_big_uint + add_assign_non_zero_big_uint_big_uint_ref => add_assign_non_zero_big_uint_big_uint_ref + add_assign_non_zero_big_uint_u32 => add_assign_non_zero_big_uint_u32 + add_assign_non_zero_big_uint_u64 => add_assign_non_zero_big_uint_u64 + sub_assign_big_int_big_int => sub_assign_big_int_big_int + sub_assign_big_int_big_int_ref => sub_assign_big_int_big_int_ref + sub_assign_big_uint_big_uint => sub_assign_big_uint_big_uint + sub_assign_big_uint_big_uint_ref => sub_assign_big_uint_big_uint_ref + sub_assign_big_uint_u32 => sub_assign_big_uint_u32 + sub_assign_big_uint_u64 => sub_assign_big_uint_u64 + sub_assign_non_zero_big_uint_non_zero_big_uint => sub_assign_non_zero_big_uint_non_zero_big_uint + sub_assign_non_zero_big_uint_non_zero_big_uint_ref => sub_assign_non_zero_big_uint_non_zero_big_uint_ref + sub_assign_non_zero_big_uint_big_uint => sub_assign_non_zero_big_uint_big_uint + sub_assign_non_zero_big_uint_big_uint_ref => sub_assign_non_zero_big_uint_big_uint_ref + sub_assign_non_zero_big_uint_u32 => sub_assign_non_zero_big_uint_u32 + sub_assign_non_zero_big_uint_u64 => sub_assign_non_zero_big_uint_u64 + mul_assign_big_int_big_int => mul_assign_big_int_big_int + mul_assign_big_int_big_int_ref => mul_assign_big_int_big_int_ref + mul_assign_big_uint_big_uint => mul_assign_big_uint_big_uint + mul_assign_big_uint_big_uint_ref => mul_assign_big_uint_big_uint_ref + mul_assign_big_uint_u32 => mul_assign_big_uint_u32 + mul_assign_big_uint_u64 => mul_assign_big_uint_u64 + mul_assign_non_zero_big_uint_non_zero_big_uint => mul_assign_non_zero_big_uint_non_zero_big_uint + mul_assign_non_zero_big_uint_non_zero_big_uint_ref => mul_assign_non_zero_big_uint_non_zero_big_uint_ref + mul_assign_non_zero_big_uint_big_uint => mul_assign_non_zero_big_uint_big_uint + mul_assign_non_zero_big_uint_big_uint_ref => mul_assign_non_zero_big_uint_big_uint_ref + mul_assign_non_zero_big_uint_u32 => mul_assign_non_zero_big_uint_u32 + mul_assign_non_zero_big_uint_u64 => mul_assign_non_zero_big_uint_u64 + div_assign_big_int_big_int => div_assign_big_int_big_int + div_assign_big_int_big_int_ref => div_assign_big_int_big_int_ref + div_assign_big_uint_big_uint => div_assign_big_uint_big_uint + div_assign_big_uint_big_uint_ref => div_assign_big_uint_big_uint_ref + div_assign_big_uint_u32 => div_assign_big_uint_u32 + div_assign_big_uint_u64 => div_assign_big_uint_u64 + div_assign_non_zero_big_uint_non_zero_big_uint => div_assign_non_zero_big_uint_non_zero_big_uint + div_assign_non_zero_big_uint_non_zero_big_uint_ref => div_assign_non_zero_big_uint_non_zero_big_uint_ref + div_assign_non_zero_big_uint_big_uint => div_assign_non_zero_big_uint_big_uint + div_assign_non_zero_big_uint_big_uint_ref => div_assign_non_zero_big_uint_big_uint_ref + div_assign_non_zero_big_uint_u32 => div_assign_non_zero_big_uint_u32 + div_assign_non_zero_big_uint_u64 => div_assign_non_zero_big_uint_u64 + rem_assign_big_int_big_int => rem_assign_big_int_big_int + rem_assign_big_int_big_int_ref => rem_assign_big_int_big_int_ref + rem_assign_big_uint_big_uint => rem_assign_big_uint_big_uint + rem_assign_big_uint_big_uint_ref => rem_assign_big_uint_big_uint_ref + rem_assign_big_uint_u32 => rem_assign_big_uint_u32 + rem_assign_big_uint_u64 => rem_assign_big_uint_u64 + rem_assign_non_zero_big_uint_non_zero_big_uint => rem_assign_non_zero_big_uint_non_zero_big_uint + rem_assign_non_zero_big_uint_non_zero_big_uint_ref => rem_assign_non_zero_big_uint_non_zero_big_uint_ref + rem_assign_non_zero_big_uint_big_uint => rem_assign_non_zero_big_uint_big_uint + rem_assign_non_zero_big_uint_big_uint_ref => rem_assign_non_zero_big_uint_big_uint_ref + rem_assign_non_zero_big_uint_u32 => rem_assign_non_zero_big_uint_u32 + rem_assign_non_zero_big_uint_u64 => rem_assign_non_zero_big_uint_u64 + bit_and_big_uint_big_uint => bit_and_big_uint_big_uint + bit_and_big_uint_big_uint_ref => bit_and_big_uint_big_uint_ref + bit_and_big_uint_ref_big_uint => bit_and_big_uint_ref_big_uint + bit_and_big_uint_ref_big_uint_ref => bit_and_big_uint_ref_big_uint_ref + bit_and_big_uint_u32 => bit_and_big_uint_u32 + bit_and_big_uint_ref_u32 => bit_and_big_uint_ref_u32 + bit_and_big_uint_u64 => bit_and_big_uint_u64 + bit_and_big_uint_ref_u64 => bit_and_big_uint_ref_u64 + bit_or_big_uint_big_uint => bit_or_big_uint_big_uint + bit_or_big_uint_big_uint_ref => bit_or_big_uint_big_uint_ref + bit_or_big_uint_ref_big_uint => bit_or_big_uint_ref_big_uint + bit_or_big_uint_ref_big_uint_ref => bit_or_big_uint_ref_big_uint_ref + bit_or_big_uint_u32 => bit_or_big_uint_u32 + bit_or_big_uint_ref_u32 => bit_or_big_uint_ref_u32 + bit_or_big_uint_u64 => bit_or_big_uint_u64 + bit_or_big_uint_ref_u64 => bit_or_big_uint_ref_u64 + bit_xor_big_uint_big_uint => bit_xor_big_uint_big_uint + bit_xor_big_uint_big_uint_ref => bit_xor_big_uint_big_uint_ref + bit_xor_big_uint_ref_big_uint => bit_xor_big_uint_ref_big_uint + bit_xor_big_uint_ref_big_uint_ref => bit_xor_big_uint_ref_big_uint_ref + bit_xor_big_uint_u32 => bit_xor_big_uint_u32 + bit_xor_big_uint_ref_u32 => bit_xor_big_uint_ref_u32 + bit_xor_big_uint_u64 => bit_xor_big_uint_u64 + bit_xor_big_uint_ref_u64 => bit_xor_big_uint_ref_u64 + bit_and_assign_big_uint_big_uint => bit_and_assign_big_uint_big_uint + bit_and_assign_big_uint_big_uint_ref => bit_and_assign_big_uint_big_uint_ref + bit_and_assign_big_uint_u32 => bit_and_assign_big_uint_u32 + bit_and_assign_big_uint_u64 => bit_and_assign_big_uint_u64 + bit_or_assign_big_uint_big_uint => bit_or_assign_big_uint_big_uint + bit_or_assign_big_uint_big_uint_ref => bit_or_assign_big_uint_big_uint_ref + bit_or_assign_big_uint_u32 => bit_or_assign_big_uint_u32 + bit_or_assign_big_uint_u64 => bit_or_assign_big_uint_u64 + bit_xor_assign_big_uint_big_uint => bit_xor_assign_big_uint_big_uint + bit_xor_assign_big_uint_big_uint_ref => bit_xor_assign_big_uint_big_uint_ref + bit_xor_assign_big_uint_u32 => bit_xor_assign_big_uint_u32 + bit_xor_assign_big_uint_u64 => bit_xor_assign_big_uint_u64 + shr_big_uint_usize => shr_big_uint_usize + shr_big_uint_ref_usize => shr_big_uint_ref_usize + shl_big_uint_usize => shl_big_uint_usize + shl_big_uint_ref_usize => shl_big_uint_ref_usize + shr_assign_big_uint_usize => shr_assign_big_uint_usize + shl_assign_big_uint_usize => shl_assign_big_uint_usize get_block_timestamp => get_block_timestamp get_block_nonce => get_block_nonce get_block_round => get_block_round @@ -176,6 +318,7 @@ multiversx_sc_wasm_adapter::endpoints! { echo_arrayvec => echo_arrayvec echo_big_uint => echo_big_uint echo_big_int => echo_big_int + echo_non_zero_big_uint => echo_non_zero_big_uint echo_managed_buffer => echo_managed_buffer echo_managed_address => echo_managed_address echo_managed_option => echo_managed_option diff --git a/contracts/feature-tests/composability/esdt-contract-pair/first-contract/src/lib.rs b/contracts/feature-tests/composability/esdt-contract-pair/first-contract/src/lib.rs index 28834979eb..b98a53d6d3 100644 --- a/contracts/feature-tests/composability/esdt-contract-pair/first-contract/src/lib.rs +++ b/contracts/feature-tests/composability/esdt-contract-pair/first-contract/src/lib.rs @@ -21,17 +21,17 @@ pub trait FirstContract { #[payable("*")] #[endpoint(transferToSecondContractFull)] fn transfer_to_second_contract_full(&self) { - let (actual_token_identifier, esdt_value) = self.call_value().single_fungible_esdt(); + let payment = self.call_value().single(); let expected_token_identifier = self.get_contract_esdt_token_identifier(); require!( - *actual_token_identifier == expected_token_identifier, + payment.token_identifier == expected_token_identifier, "Wrong esdt token" ); self.call_esdt_second_contract( &expected_token_identifier, - &esdt_value, + &payment.amount, &self.get_second_contract_address(), &ManagedBuffer::from(SECOND_CONTRACT_ACCEPT_ESDT_PAYMENT), &ManagedVec::new(), @@ -41,17 +41,17 @@ pub trait FirstContract { #[payable("*")] #[endpoint(transferToSecondContractHalf)] fn transfer_to_second_contract_half(&self) { - let (actual_token_identifier, esdt_value) = self.call_value().single_fungible_esdt(); + let payment = self.call_value().single(); let expected_token_identifier = self.get_contract_esdt_token_identifier(); require!( - *actual_token_identifier == expected_token_identifier, + payment.token_identifier == expected_token_identifier, "Wrong esdt token" ); self.call_esdt_second_contract( &expected_token_identifier, - &(esdt_value.clone() / 2u32), + &(&payment.amount / 2u32), &self.get_second_contract_address(), &ManagedBuffer::from(SECOND_CONTRACT_ACCEPT_ESDT_PAYMENT), &ManagedVec::new(), @@ -61,17 +61,17 @@ pub trait FirstContract { #[payable("*")] #[endpoint(transferToSecondContractRejected)] fn transfer_to_second_contract_rejected(&self) { - let (actual_token_identifier, esdt_value) = self.call_value().single_fungible_esdt(); + let payment = self.call_value().single(); let expected_token_identifier = self.get_contract_esdt_token_identifier(); require!( - *actual_token_identifier == expected_token_identifier, + payment.token_identifier == expected_token_identifier, "Wrong esdt token" ); self.call_esdt_second_contract( &expected_token_identifier, - &esdt_value, + &payment.amount, &self.get_second_contract_address(), &ManagedBuffer::from(SECOND_CONTRACT_REJECT_ESDT_PAYMENT), &ManagedVec::new(), @@ -81,12 +81,12 @@ pub trait FirstContract { #[payable("*")] #[endpoint(transferToSecondContractRejectedWithTransferAndExecute)] fn transfer_to_second_contract_rejected_with_transfer_and_execute(&self) { - let (actual_token_identifier, esdt_value) = self.call_value().single_fungible_esdt(); + let payment = self.call_value().single(); let second_contract_address = self.get_second_contract_address(); let expected_token_identifier = self.get_contract_esdt_token_identifier(); require!( - *actual_token_identifier == expected_token_identifier, + payment.token_identifier == expected_token_identifier, "Wrong esdt token" ); @@ -95,19 +95,23 @@ pub trait FirstContract { .to(&second_contract_address) .gas(gas_left) .raw_call(SECOND_CONTRACT_REJECT_ESDT_PAYMENT) - .single_esdt(&expected_token_identifier, 0u64, &esdt_value) + .payment(PaymentRefs::new( + &expected_token_identifier, + 0u64, + &payment.amount, + )) .transfer_execute(); } #[payable("*")] #[endpoint(transferToSecondContractFullWithTransferAndExecute)] fn transfer_to_second_contract_full_with_transfer_and_execute(&self) { - let (actual_token_identifier, esdt_value) = self.call_value().single_fungible_esdt(); + let payment = self.call_value().single(); let second_contract_address = self.get_second_contract_address(); let expected_token_identifier = self.get_contract_esdt_token_identifier(); require!( - *actual_token_identifier == expected_token_identifier, + payment.token_identifier == expected_token_identifier, "Wrong esdt token" ); @@ -116,14 +120,18 @@ pub trait FirstContract { .to(&second_contract_address) .gas(gas_left) .raw_call(SECOND_CONTRACT_ACCEPT_ESDT_PAYMENT) - .single_esdt(&expected_token_identifier, 0u64, &esdt_value) + .payment(PaymentRefs::new( + &expected_token_identifier, + 0u64, + &payment.amount, + )) .transfer_execute(); } fn call_esdt_second_contract( &self, - esdt_token_identifier: &EsdtTokenIdentifier, - amount: &BigUint, + esdt_token_identifier: &TokenId, + amount: &NonZeroBigUint, to: &ManagedAddress, func_name: &ManagedBuffer, args: &ManagedVec, @@ -150,7 +158,7 @@ pub trait FirstContract { #[view(getesdtTokenName)] #[storage_get("esdtTokenName")] - fn get_contract_esdt_token_identifier(&self) -> EsdtTokenIdentifier; + fn get_contract_esdt_token_identifier(&self) -> TokenId; #[storage_set("secondContractAddress")] fn set_second_contract_address(&self, address: &ManagedAddress); diff --git a/contracts/feature-tests/composability/esdt-contract-pair/second-contract/src/lib.rs b/contracts/feature-tests/composability/esdt-contract-pair/second-contract/src/lib.rs index eb151351c2..9d2cb5a1a0 100644 --- a/contracts/feature-tests/composability/esdt-contract-pair/second-contract/src/lib.rs +++ b/contracts/feature-tests/composability/esdt-contract-pair/second-contract/src/lib.rs @@ -5,17 +5,17 @@ multiversx_sc::imports!(); #[multiversx_sc::contract] pub trait SecondContract { #[init] - fn init(&self, esdt_token_identifier: EgldOrEsdtTokenIdentifier) { + fn init(&self, esdt_token_identifier: TokenId) { self.set_contract_esdt_token_identifier(&esdt_token_identifier); } #[payable("*")] #[endpoint(acceptEsdtPayment)] fn accept_esdt_payment(&self) { - let actual_token_identifier = self.call_value().egld_or_single_esdt().token_identifier; + let payment = self.call_value().single(); let expected_token_identifier = self.get_contract_esdt_token_identifier(); require!( - actual_token_identifier == expected_token_identifier, + payment.token_identifier == expected_token_identifier, "Wrong esdt token" ); } @@ -29,9 +29,9 @@ pub trait SecondContract { // storage #[storage_set("esdtTokenName")] - fn set_contract_esdt_token_identifier(&self, esdt_token_identifier: &EgldOrEsdtTokenIdentifier); + fn set_contract_esdt_token_identifier(&self, esdt_token_identifier: &TokenId); #[view(getesdtTokenName)] #[storage_get("esdtTokenName")] - fn get_contract_esdt_token_identifier(&self) -> EgldOrEsdtTokenIdentifier; + fn get_contract_esdt_token_identifier(&self) -> TokenId; } diff --git a/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/child/src/lib.rs b/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/child/src/lib.rs index faabc899ac..9a447fd463 100644 --- a/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/child/src/lib.rs +++ b/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/child/src/lib.rs @@ -45,13 +45,14 @@ pub trait Child { #[callback] fn esdt_issue_callback(&self, #[call_result] _result: IgnoreValue) { - let (token_identifier, _amount) = self.call_value().single_fungible_esdt(); - self.wrapped_egld_token_identifier().set(token_identifier); + let payment = self.call_value().single(); + self.wrapped_egld_token_identifier() + .set(&payment.token_identifier); } // storage #[view(getWrappedEgldTokenIdentifier)] #[storage_mapper("wrappedEgldTokenIdentifier")] - fn wrapped_egld_token_identifier(&self) -> SingleValueMapper; + fn wrapped_egld_token_identifier(&self) -> SingleValueMapper; } diff --git a/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/parent/src/child_proxy.rs b/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/parent/src/child_proxy.rs index b9cd6fa4bf..7fff111a3b 100644 --- a/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/parent/src/child_proxy.rs +++ b/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/parent/src/child_proxy.rs @@ -82,7 +82,7 @@ where pub fn wrapped_egld_token_identifier( self, - ) -> TxTypedCall> { + ) -> TxTypedCall> { self.wrapped_tx .payment(NotPayable) .raw_call("getWrappedEgldTokenIdentifier") diff --git a/contracts/feature-tests/composability/forwarder-interactor/src/interact.rs b/contracts/feature-tests/composability/forwarder-interactor/src/interact.rs index ec45b46198..24772694f9 100644 --- a/contracts/feature-tests/composability/forwarder-interactor/src/interact.rs +++ b/contracts/feature-tests/composability/forwarder-interactor/src/interact.rs @@ -75,8 +75,8 @@ pub async fn forwarder_cli() { "callback_data_at_index" => interact.callback_data_at_index().await, "clear_callback_data" => interact.clear_callback_data().await, "forward_transf_exec_accept_funds" => interact.forward_transf_exec_accept_funds().await, - "forward_transf_execu_accept_funds_with_fees" => { - interact.forward_transf_execu_accept_funds_with_fees().await + "forward_transf_exec_accept_funds_with_fees" => { + interact.forward_transf_exec_accept_funds_with_fees().await } "forward_transf_exec_accept_funds_twice" => { interact.forward_transf_exec_accept_funds_twice().await @@ -406,7 +406,7 @@ impl ContractInteract { let token_amount = BigUint::::from(0u128); let to = Address::zero(); - let percentage_fees = BigUint::::from(0u128); + let percentage_fees = 0u32; let response = self .interactor @@ -636,7 +636,7 @@ impl ContractInteract { let token_amount = BigUint::::from(0u128); let to = Address::zero(); - let percentage_fees = BigUint::::from(0u128); + let percentage_fees = 0u32; let response = self .interactor @@ -799,13 +799,13 @@ impl ContractInteract { println!("Result: {response:?}"); } - pub async fn forward_transf_execu_accept_funds_with_fees(&mut self) { + pub async fn forward_transf_exec_accept_funds_with_fees(&mut self) { let token_id = String::new(); let token_nonce = 0u64; let token_amount = BigUint::::from(0u128); let to = Address::zero(); - let percentage_fees = BigUint::::from(0u128); + let percentage_fees = 0u32; let response = self .interactor @@ -814,7 +814,7 @@ impl ContractInteract { .to(self.state.current_address()) .gas(80_000_000u64) .typed(proxy::ForwarderProxy) - .forward_transf_execu_accept_funds_with_fees(to, percentage_fees) + .forward_transf_exec_accept_funds_with_fees(to, percentage_fees) .payment(( EsdtTokenIdentifier::from(token_id.as_str()), token_nonce, @@ -1108,7 +1108,7 @@ impl ContractInteract { let token_amount = BigUint::::from(0u128); let to = Address::zero(); - let percentage_fees = BigUint::::from(0u128); + let percentage_fees = 0u32; let response = self .interactor @@ -1153,15 +1153,12 @@ impl ContractInteract { pub async fn send_esdt_direct_multi_transfer(&mut self) { let to = Address::zero(); - let token_payments = MultiValueVec::from(vec![MultiValue3::< - EsdtTokenIdentifier, - u64, - BigUint, - >::from(( - EsdtTokenIdentifier::from_esdt_bytes(&b""[..]), + let token_payments = MultiValueVec::from(vec![Payment::new( + TokenId::new(ManagedBuffer::from(&b""[..])), 0u64, - BigUint::::from(0u128), - ))]); + NonZeroBigUint::::try_from(10u128).unwrap(), + ) + .into_multi_value()]); let response = self .interactor diff --git a/contracts/feature-tests/composability/forwarder-interactor/src/proxy.rs b/contracts/feature-tests/composability/forwarder-interactor/src/proxy.rs index d8371ad31c..c3912f1755 100644 --- a/contracts/feature-tests/composability/forwarder-interactor/src/proxy.rs +++ b/contracts/feature-tests/composability/forwarder-interactor/src/proxy.rs @@ -158,7 +158,7 @@ where pub fn forward_sync_accept_funds_with_fees< Arg0: ProxyArg>, - Arg1: ProxyArg>, + Arg1: ProxyArg, >( self, to: Arg0, @@ -275,6 +275,7 @@ where .original_result() } + /// TODO: not tested, investigate pub fn forward_async_accept_funds_half_payment< Arg0: ProxyArg>, >( @@ -289,7 +290,7 @@ where pub fn forward_async_accept_funds_with_fees< Arg0: ProxyArg>, - Arg1: ProxyArg>, + Arg1: ProxyArg, >( self, to: Arg0, @@ -399,16 +400,16 @@ where .original_result() } - pub fn forward_transf_execu_accept_funds_with_fees< + pub fn forward_transf_exec_accept_funds_with_fees< Arg0: ProxyArg>, - Arg1: ProxyArg>, + Arg1: ProxyArg, >( self, to: Arg0, percentage_fees: Arg1, ) -> TxTypedCall { self.wrapped_tx - .raw_call("forward_transf_execu_accept_funds_with_fees") + .raw_call("forward_transf_exec_accept_funds_with_fees") .argument(&to) .argument(&percentage_fees) .original_result() @@ -433,7 +434,7 @@ where >( self, to: Arg0, - ) -> TxTypedCall, EgldOrEsdtTokenIdentifier>> { + ) -> TxTypedCall>> { self.wrapped_tx .raw_call("forward_transf_exec_accept_funds_return_values") .argument(&to) @@ -618,7 +619,7 @@ where pub fn send_esdt_with_fees< Arg0: ProxyArg>, - Arg1: ProxyArg>, + Arg1: ProxyArg, >( self, to: Arg0, @@ -655,7 +656,7 @@ where pub fn send_esdt_direct_multi_transfer< Arg0: ProxyArg>, - Arg1: ProxyArg, u64, BigUint>>>, + Arg1: ProxyArg>>, >( self, to: Arg0, @@ -1455,7 +1456,7 @@ where >( self, index: Arg0, - ) -> TxTypedCall, EgldOrEsdtTokenIdentifier, u64, BigUint, MultiValueManagedVec>>> { + ) -> TxTypedCall, TokenId, u64, NonZeroBigUint, MultiValueManagedVec>>> { self.wrapped_tx .payment(NotPayable) .raw_call("callback_data_at_index") @@ -1576,7 +1577,7 @@ where Arg0: ProxyArg>, Arg1: ProxyArg>, Arg2: ProxyArg, - Arg3: ProxyArg>>, + Arg3: ProxyArg>>, >( self, to: Arg0, @@ -1662,7 +1663,7 @@ where pub fn forward_sync_retrieve_funds_bt_multi< Arg0: ProxyArg>, - Arg1: ProxyArg>>, + Arg1: ProxyArg>>, >( self, to: Arg0, @@ -1679,7 +1680,7 @@ where /// Highlights the behavior when calling back transfers **without** reset. pub fn forward_sync_retrieve_funds_bt_multi_twice< Arg0: ProxyArg>, - Arg1: ProxyArg>>, + Arg1: ProxyArg>>, >( self, to: Arg0, @@ -1696,7 +1697,7 @@ where /// Highlights the behavior when calling back transfers **with** reset. pub fn forward_sync_retrieve_funds_bt_multi_twice_reset< Arg0: ProxyArg>, - Arg1: ProxyArg>>, + Arg1: ProxyArg>>, >( self, to: Arg0, @@ -1748,8 +1749,8 @@ where Api: ManagedTypeApi, { pub callback_name: ManagedBuffer, - pub token_identifier: EgldOrEsdtTokenIdentifier, + pub token_identifier: TokenId, pub token_nonce: u64, - pub token_amount: BigUint, + pub token_amount: NonZeroBigUint, pub args: ManagedVec>, } diff --git a/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_async_legacy.rs b/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_async_legacy.rs index e475893be4..ebc4cc1165 100644 --- a/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_async_legacy.rs +++ b/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_async_legacy.rs @@ -57,11 +57,11 @@ pub trait ForwarderAsyncCallModule { #[endpoint] #[payable("*")] fn forward_async_accept_funds(&self, to: ManagedAddress) { - let payment = self.call_value().egld_or_single_esdt(); + let payment = self.call_value().all(); self.vault_proxy() .contract(to) .accept_funds() - .with_egld_or_single_esdt_transfer(payment) + .payment(payment) .async_call() .call_and_exit() } @@ -85,9 +85,9 @@ pub trait ForwarderAsyncCallModule { #[payable("*")] #[endpoint] - fn forward_async_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: BigUint) { + fn forward_async_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: u32) { let payment = self.call_value().egld_or_single_esdt(); - let fees = &payment.amount * &percentage_fees / PERCENTAGE_TOTAL; + let fees = &payment.amount * percentage_fees / PERCENTAGE_TOTAL; let amount_to_send = &payment.amount - &fees; self.vault_proxy() diff --git a/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_sync_legacy.rs b/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_sync_legacy.rs index eb44f2deeb..2c5397f1b3 100644 --- a/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_sync_legacy.rs +++ b/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_sync_legacy.rs @@ -73,9 +73,9 @@ pub trait ForwarderSyncCallModule { #[payable("*")] #[endpoint] - fn forward_sync_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: BigUint) { + fn forward_sync_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: u32) { let (token_id, payment) = self.call_value().egld_or_single_fungible_esdt(); - let fees = &payment * &percentage_fees / PERCENTAGE_TOTAL; + let fees = &payment * percentage_fees / PERCENTAGE_TOTAL; let amount_to_send = payment - fees; let () = self diff --git a/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_transf_exec_legacy.rs b/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_transf_exec_legacy.rs index a03e440edc..8b1a670192 100644 --- a/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_transf_exec_legacy.rs +++ b/contracts/feature-tests/composability/forwarder-legacy/src/fwd_call_transf_exec_legacy.rs @@ -34,13 +34,9 @@ pub trait ForwarderTransferExecuteModule { #[endpoint] #[payable("*")] - fn forward_transf_execu_accept_funds_with_fees( - &self, - to: ManagedAddress, - percentage_fees: BigUint, - ) { + fn forward_transf_exec_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: u32) { let (token_id, payment) = self.call_value().egld_or_single_fungible_esdt(); - let fees = &payment * &percentage_fees / PERCENTAGE_TOTAL; + let fees = &payment * percentage_fees / PERCENTAGE_TOTAL; let amount_to_send = payment - fees; self.vault_proxy() diff --git a/contracts/feature-tests/composability/forwarder-legacy/src/fwd_esdt_legacy.rs b/contracts/feature-tests/composability/forwarder-legacy/src/fwd_esdt_legacy.rs index 65289a838b..290b92469e 100644 --- a/contracts/feature-tests/composability/forwarder-legacy/src/fwd_esdt_legacy.rs +++ b/contracts/feature-tests/composability/forwarder-legacy/src/fwd_esdt_legacy.rs @@ -25,9 +25,9 @@ pub trait ForwarderEsdtModule: fwd_storage_legacy::ForwarderStorageModule { #[payable("*")] #[endpoint] - fn send_esdt_with_fees(&self, to: ManagedAddress, percentage_fees: BigUint) { + fn send_esdt_with_fees(&self, to: ManagedAddress, percentage_fees: u32) { let (token_id, payment) = self.call_value().single_fungible_esdt(); - let fees = &*payment * &percentage_fees / PERCENTAGE_TOTAL; + let fees = &*payment * percentage_fees / PERCENTAGE_TOTAL; let amount_to_send = payment.clone() - fees; self.send().direct_esdt(&to, &token_id, 0, &amount_to_send); diff --git a/contracts/feature-tests/composability/forwarder-legacy/wasm/src/lib.rs b/contracts/feature-tests/composability/forwarder-legacy/wasm/src/lib.rs index bbbb04e1ed..25b463e49a 100644 --- a/contracts/feature-tests/composability/forwarder-legacy/wasm/src/lib.rs +++ b/contracts/feature-tests/composability/forwarder-legacy/wasm/src/lib.rs @@ -40,7 +40,7 @@ multiversx_sc_wasm_adapter::endpoints! { clear_callback_data => clear_callback_data forward_transf_exec_accept_funds => forward_transf_exec_accept_funds forward_transf_exec_accept_single_esdt => forward_transf_exec_accept_single_esdt - forward_transf_execu_accept_funds_with_fees => forward_transf_execu_accept_funds_with_fees + forward_transf_exec_accept_funds_with_fees => forward_transf_exec_accept_funds_with_fees forward_transf_exec_accept_funds_twice => forward_transf_exec_accept_funds_twice forward_transf_exec_accept_funds_return_values => forward_transf_exec_accept_funds_return_values transf_exec_multi_accept_funds => transf_exec_multi_accept_funds diff --git a/contracts/feature-tests/composability/forwarder-queue/src/forwarder_queue.rs b/contracts/feature-tests/composability/forwarder-queue/src/forwarder_queue.rs index 73c337233d..d3acd13ad4 100644 --- a/contracts/feature-tests/composability/forwarder-queue/src/forwarder_queue.rs +++ b/contracts/feature-tests/composability/forwarder-queue/src/forwarder_queue.rs @@ -21,7 +21,7 @@ pub struct QueuedCall { pub gas_limit: u64, pub endpoint_name: ManagedBuffer, pub args: ManagedArgBuffer, - pub payments: EgldOrMultiEsdtPayment, + pub payments: PaymentVec, } /// Testing multiple calls per transaction. @@ -81,15 +81,10 @@ pub trait ForwarderQueue { to: ManagedAddress, gas_limit: u64, endpoint_name: ManagedBuffer, - token: EsdtTokenIdentifier, - amount: BigUint, + token: TokenId, + amount: NonZeroBigUint, args: MultiValueEncoded, ) { - let mut payment = ManagedVec::new(); - payment.push(EsdtTokenPayment::new(token, 0, amount)); - - let payments = EgldOrMultiEsdtPayment::MultiEsdt(payment); - let call_type = QueuedCallType::Promise; self.queued_calls().push_back(QueuedCall { call_type, @@ -97,7 +92,7 @@ pub trait ForwarderQueue { gas_limit, endpoint_name, args: args.to_arg_buffer(), - payments, + payments: PaymentVec::from_single_item(Payment::new(token, 0, amount)), }); } @@ -123,21 +118,14 @@ pub trait ForwarderQueue { endpoint_name: ManagedBuffer, args: MultiValueEncoded, ) { - let payments = self.call_value().any_payment(); + let payments = self.call_value().all(); - match &payments { - EgldOrMultiEsdtPayment::Egld(egld_value) => { - self.add_queued_call_egld_event(&call_type, &to, &endpoint_name, egld_value); - } - EgldOrMultiEsdtPayment::MultiEsdt(esdt_payments) => { - self.add_queued_call_esdt_event( - &call_type, - &to, - &endpoint_name, - &esdt_payments.clone().into_multi_value(), - ); - } - } + self.add_queued_call_event( + &call_type, + &to, + &endpoint_name, + &payments.clone().into_multi_value(), + ); self.queued_calls().push_back(QueuedCall { call_type, @@ -145,7 +133,7 @@ pub trait ForwarderQueue { gas_limit, endpoint_name, args: args.to_arg_buffer(), - payments, + payments: payments.clone(), }); } @@ -155,24 +143,12 @@ pub trait ForwarderQueue { while let Some(node) = self.queued_calls().pop_front() { let call = node.clone().into_value(); - match &call.payments { - EgldOrMultiEsdtPayment::Egld(egld_value) => { - self.forward_queued_call_egld_event( - &call.call_type, - &call.to, - &call.endpoint_name, - egld_value, - ); - } - EgldOrMultiEsdtPayment::MultiEsdt(esdt_payments) => { - self.forward_queued_call_esdt_event( - &call.call_type, - &call.to, - &call.endpoint_name, - &esdt_payments.clone().into_multi_value(), - ); - } - }; + self.forward_queued_call_payment_event( + &call.call_type, + &call.to, + &call.endpoint_name, + &call.payments.clone().into_multi_value(), + ); let contract_call = self .tx() @@ -205,7 +181,7 @@ pub trait ForwarderQueue { #[label("promises-callback")] fn promises_callback_method(&self) { self.callback_count().update(|c| *c += 1); - let payments = self.call_value().any_payment(); + let payments = self.call_value().all(); let payments_data_string = self .tx() @@ -225,42 +201,21 @@ pub trait ForwarderQueue { #[storage_mapper("callback_payments")] fn callback_payments(&self) -> SingleValueMapper; - #[event("forward_queued_callback")] - fn forward_queued_callback_event(&self); - - #[event("forward_queued_call_egld")] - fn forward_queued_call_egld_event( - &self, - #[indexed] call_type: &QueuedCallType, - #[indexed] to: &ManagedAddress, - #[indexed] endpoint_name: &ManagedBuffer, - #[indexed] egld_value: &BigUint, - ); - - #[event("forward_queued_call_esdt")] - fn forward_queued_call_esdt_event( - &self, - #[indexed] call_type: &QueuedCallType, - #[indexed] to: &ManagedAddress, - #[indexed] endpoint_name: &ManagedBuffer, - #[indexed] multi_esdt: &MultiValueEncoded, - ); - - #[event("add_queued_call_egld")] - fn add_queued_call_egld_event( + #[event("forward_queued_call_payment")] + fn forward_queued_call_payment_event( &self, #[indexed] call_type: &QueuedCallType, #[indexed] to: &ManagedAddress, #[indexed] endpoint_name: &ManagedBuffer, - #[indexed] egld_value: &BigUint, + #[indexed] multi_esdt: &MultiValueEncoded, ); - #[event("add_queued_call_esdt")] - fn add_queued_call_esdt_event( + #[event("add_queued_call")] + fn add_queued_call_event( &self, #[indexed] call_type: &QueuedCallType, #[indexed] to: &ManagedAddress, #[indexed] endpoint_name: &ManagedBuffer, - #[indexed] multi_esdt: &MultiValueEncoded, + #[indexed] multi_esdt: &MultiValueEncoded, ); } diff --git a/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw.rs b/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw.rs index 2e71749e51..05ccc0cc94 100644 --- a/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw.rs +++ b/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw.rs @@ -6,6 +6,7 @@ mod forwarder_raw_async; mod forwarder_raw_common; mod forwarder_raw_deploy_upgrade; mod forwarder_raw_sync; +mod forwarder_raw_transf_exec; multiversx_sc::imports!(); @@ -18,13 +19,14 @@ pub trait ForwarderRaw: + forwarder_raw_async::ForwarderRawAsync + forwarder_raw_sync::ForwarderRawSync + forwarder_raw_deploy_upgrade::ForwarderRawDeployUpgrade + + forwarder_raw_transf_exec::ForwarderRawTransferExecute { #[init] fn init(&self) {} #[callback_raw] fn callback_raw(&self, args: MultiValueEncoded) { - let payments = self.call_value().all_transfers(); + let payments = self.call_value().all(); for payment in payments.iter() { let _ = self.callback_payments().push(&( payment.token_identifier.clone(), diff --git a/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_async.rs b/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_async.rs index 96afbd1357..1397637c7a 100644 --- a/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_async.rs +++ b/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_async.rs @@ -4,68 +4,18 @@ multiversx_sc::imports!(); pub trait ForwarderRawAsync: super::forwarder_raw_common::ForwarderRawCommon { #[endpoint] #[payable("*")] - fn forward_payment(&self, to: ManagedAddress) { - let (token, payment) = self.call_value().egld_or_single_fungible_esdt(); - self.tx() - .to(to) - .egld_or_single_esdt(&token, 0, &payment) - .transfer(); - } - - #[endpoint] - #[payable("*")] - fn forward_direct_esdt_via_transf_exec(&self, to: ManagedAddress) { - let (token, payment) = self.call_value().single_fungible_esdt(); - self.tx() - .to(&to) - .single_esdt(&token, 0, &payment) - .transfer(); - } - - #[endpoint] - #[payable("*")] - fn forward_direct_esdt_multi(&self, to: ManagedAddress) { - let payments = self.call_value().all_esdt_transfers(); - self.tx().to(&to).payment(payments).transfer(); - } - - fn forward_contract_call( + fn forward_async_call( &self, to: ManagedAddress, - payment_token: EgldOrEsdtTokenIdentifier, - payment_amount: BigUint, endpoint_name: ManagedBuffer, args: MultiValueEncoded, - ) -> Tx< - TxScEnv, - (), - ManagedAddress, - EgldOrEsdtTokenPayment, - (), - FunctionCall, - (), - > { + ) { + let payment = self.call_value().all(); self.tx() .to(to) .raw_call(endpoint_name) .arguments_raw(args.to_arg_buffer()) - .payment(EgldOrEsdtTokenPayment::new( - payment_token, - 0, - payment_amount, - )) - } - - #[endpoint] - #[payable("*")] - fn forward_async_call( - &self, - to: ManagedAddress, - endpoint_name: ManagedBuffer, - args: MultiValueEncoded, - ) { - let (token, payment) = self.call_value().egld_or_single_fungible_esdt(); - self.forward_contract_call(to, token, payment, endpoint_name, args) + .payment(payment) .async_call_and_exit() } @@ -77,103 +27,31 @@ pub trait ForwarderRawAsync: super::forwarder_raw_common::ForwarderRawCommon { endpoint_name: ManagedBuffer, args: MultiValueEncoded, ) { - let (token, payment) = self.call_value().egld_or_single_fungible_esdt(); - let half_payment = payment / 2u32; - self.forward_contract_call(to, token, half_payment, endpoint_name, args) + let payment = self.call_value().single(); + self.tx() + .to(to) + .raw_call(endpoint_name) + .arguments_raw(args.to_arg_buffer()) + .payment(PaymentRefs::new( + &payment.token_identifier, + 0u64, + &(&payment.amount / 2u32), + )) .async_call_and_exit() } - #[endpoint] - #[payable("EGLD")] - fn forward_transf_exec_egld( - &self, - to: ManagedAddress, - endpoint_name: ManagedBuffer, - args: MultiValueEncoded, - ) { - let payment = self.call_value().egld(); - self.forward_contract_call( - to, - EgldOrEsdtTokenIdentifier::egld(), - payment.clone(), - endpoint_name, - args, - ) - .gas(self.blockchain().get_gas_left() / 2) - .transfer_execute(); - } - - #[endpoint] - #[payable("*")] - fn forward_transf_exec_esdt( - &self, - to: ManagedAddress, - endpoint_name: ManagedBuffer, - args: MultiValueEncoded, - ) { - let (token, payment) = self.call_value().single_fungible_esdt(); - self.forward_contract_call( - to, - EgldOrEsdtTokenIdentifier::esdt(token.clone()), - payment.clone(), - endpoint_name, - args, - ) - .gas(self.blockchain().get_gas_left() / 2) - .transfer_execute(); - } - - #[endpoint] - #[payable("*")] - fn forward_transf_exec( - &self, - to: ManagedAddress, - endpoint_name: ManagedBuffer, - args: MultiValueEncoded, - ) { - let (token, payment) = self.call_value().egld_or_single_fungible_esdt(); - self.forward_contract_call(to, token, payment, endpoint_name, args) - .gas(self.blockchain().get_gas_left() / 2) - .transfer_execute(); - } - - #[endpoint] - #[payable("*")] - fn forward_transf_exec_twice( - &self, - to: ManagedAddress, - endpoint_name: ManagedBuffer, - args: MultiValueEncoded, - ) { - let (token, payment) = self.call_value().egld_or_single_fungible_esdt(); - let half_payment = payment / 2u32; - self.forward_contract_call( - to.clone(), - token.clone(), - half_payment.clone(), - endpoint_name.clone(), - args.clone(), - ) - .gas(self.blockchain().get_gas_left() / 2) - .transfer_execute(); - self.forward_contract_call(to, token, half_payment, endpoint_name, args) - .gas(self.blockchain().get_gas_left() / 2) - .transfer_execute(); - } - #[endpoint] fn forward_async_retrieve_multi_transfer_funds( &self, to: ManagedAddress, - token_payments: MultiValueEncoded>, + token_payments: MultiValueEncoded, ) { let mut arg_buffer = ManagedArgBuffer::new(); for multi_arg in token_payments.into_iter() { - let (token_identifier, token_nonce, amount) = multi_arg.into_tuple(); - - arg_buffer.push_arg(token_identifier); - arg_buffer.push_arg(token_nonce); - arg_buffer.push_arg(amount); + let payment = multi_arg.into_inner(); + arg_buffer.push_arg(payment.token_identifier); + arg_buffer.push_arg(payment.token_nonce); + arg_buffer.push_arg(payment.amount); } self.tx() @@ -187,12 +65,12 @@ pub trait ForwarderRawAsync: super::forwarder_raw_common::ForwarderRawCommon { fn forwarder_async_send_and_retrieve_multi_transfer_funds( &self, to: ManagedAddress, - payment_args: MultiValueEncoded>, + payment_args: MultiValueEncoded, ) { self.tx() .raw_call("burn_and_create_retrieve_async") .to(&to) - .payment(&payment_args.convert_payment_multi_triples()) + .payment(&payment_args.convert_payment()) .async_call_and_exit() } } diff --git a/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_common.rs b/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_common.rs index 0c1d0ca83b..1d57564f40 100644 --- a/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_common.rs +++ b/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_common.rs @@ -8,12 +8,12 @@ pub trait ForwarderRawCommon { #[view] #[storage_mapper("callback_payments")] - fn callback_payments(&self) -> VecMapper<(EgldOrEsdtTokenIdentifier, u64, BigUint)>; + fn callback_payments(&self) -> VecMapper<(TokenId, u64, NonZeroBigUint)>; #[view] fn callback_payments_triples( &self, - ) -> MultiValueEncoded> { + ) -> MultiValueEncoded> { let mut result = MultiValueEncoded::new(); for payment_tuple in self.callback_payments().iter() { result.push(payment_tuple.into()); @@ -36,10 +36,7 @@ pub trait ForwarderRawCommon { /// Used in the elrond-go tests, do not remove. #[view] - fn callback_payment_at_index( - &self, - index: usize, - ) -> MultiValue3 { + fn callback_payment_at_index(&self, index: usize) -> MultiValue3 { self.callback_payments().get(index).into() } diff --git a/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_transf_exec.rs b/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_transf_exec.rs new file mode 100644 index 0000000000..a4ffdaa21a --- /dev/null +++ b/contracts/feature-tests/composability/forwarder-raw/src/forwarder_raw_transf_exec.rs @@ -0,0 +1,29 @@ +multiversx_sc::imports!(); + +#[multiversx_sc::module] +pub trait ForwarderRawTransferExecute { + #[endpoint] + #[payable] + fn forward_direct_transfer(&self, to: ManagedAddress) { + let payments = self.call_value().all(); + self.tx().to(&to).payment(payments).transfer(); + } + + #[endpoint] + #[payable] + fn forward_transf_exec( + &self, + to: ManagedAddress, + endpoint_name: ManagedBuffer, + args: MultiValueEncoded, + ) { + let payment = self.call_value().all(); + self.tx() + .to(to) + .raw_call(endpoint_name) + .arguments_raw(args.to_arg_buffer()) + .payment(payment) + .gas(self.blockchain().get_gas_left() / 2) + .transfer_execute(); + } +} diff --git a/contracts/feature-tests/composability/forwarder-raw/wasm-forwarder-raw/src/lib.rs b/contracts/feature-tests/composability/forwarder-raw/wasm-forwarder-raw/src/lib.rs index 16ff76235c..8881ac0242 100644 --- a/contracts/feature-tests/composability/forwarder-raw/wasm-forwarder-raw/src/lib.rs +++ b/contracts/feature-tests/composability/forwarder-raw/wasm-forwarder-raw/src/lib.rs @@ -5,9 +5,9 @@ //////////////////////////////////////////////////// // Init: 1 -// Endpoints: 25 +// Endpoints: 20 // Async Callback: 1 -// Total number of exported functions: 27 +// Total number of exported functions: 22 #![no_std] @@ -24,15 +24,8 @@ multiversx_sc_wasm_adapter::endpoints! { clear_callback_info => clear_callback_info callback_args_at_index => callback_args_at_index callback_payment_at_index => callback_payment_at_index - forward_payment => forward_payment - forward_direct_esdt_via_transf_exec => forward_direct_esdt_via_transf_exec - forward_direct_esdt_multi => forward_direct_esdt_multi forward_async_call => forward_async_call forward_async_call_half_payment => forward_async_call_half_payment - forward_transf_exec_egld => forward_transf_exec_egld - forward_transf_exec_esdt => forward_transf_exec_esdt - forward_transf_exec => forward_transf_exec - forward_transf_exec_twice => forward_transf_exec_twice forward_async_retrieve_multi_transfer_funds => forward_async_retrieve_multi_transfer_funds forwarder_async_send_and_retrieve_multi_transfer_funds => forwarder_async_send_and_retrieve_multi_transfer_funds call_execute_on_dest_context => call_execute_on_dest_context @@ -43,6 +36,8 @@ multiversx_sc_wasm_adapter::endpoints! { deploy_from_source => deploy_from_source call_upgrade => call_upgrade call_upgrade_from_source => call_upgrade_from_source + forward_direct_transfer => forward_direct_transfer + forward_transf_exec => forward_transf_exec ) } diff --git a/contracts/feature-tests/composability/forwarder/src/common.rs b/contracts/feature-tests/composability/forwarder/src/common.rs index 5a47e21eaf..46b5517387 100644 --- a/contracts/feature-tests/composability/forwarder/src/common.rs +++ b/contracts/feature-tests/composability/forwarder/src/common.rs @@ -5,9 +5,9 @@ multiversx_sc::derive_imports!(); #[derive(TopEncode, TopDecode, Debug)] pub struct CallbackData { pub callback_name: ManagedBuffer, - pub token_identifier: EgldOrEsdtTokenIdentifier, + pub token_identifier: TokenId, pub token_nonce: u64, - pub token_amount: BigUint, + pub token_amount: NonZeroBigUint, pub args: ManagedVec>, } @@ -16,14 +16,11 @@ pub trait CommonModule { #[event("retrieve_funds_callback")] fn retrieve_funds_callback_event( &self, - #[indexed] token: &EgldOrEsdtTokenIdentifier, + #[indexed] token: &TokenId, #[indexed] nonce: u64, - #[indexed] payment: &BigUint, + #[indexed] payment: &NonZeroBigUint, ); - #[event("callback_result")] - fn callback_result(&self, #[indexed] result: MultiValueEncoded); - #[view] #[storage_mapper("callback_data")] fn callback_data(&self) -> VecMapper>; @@ -34,9 +31,9 @@ pub trait CommonModule { index: usize, ) -> MultiValue5< ManagedBuffer, - EgldOrEsdtTokenIdentifier, + TokenId, u64, - BigUint, + NonZeroBigUint, MultiValueManagedVec, > { let cb_data = self.callback_data().get(index); diff --git a/contracts/feature-tests/composability/forwarder/src/forwarder_proxy.rs b/contracts/feature-tests/composability/forwarder/src/forwarder_proxy.rs index d8371ad31c..c3912f1755 100644 --- a/contracts/feature-tests/composability/forwarder/src/forwarder_proxy.rs +++ b/contracts/feature-tests/composability/forwarder/src/forwarder_proxy.rs @@ -158,7 +158,7 @@ where pub fn forward_sync_accept_funds_with_fees< Arg0: ProxyArg>, - Arg1: ProxyArg>, + Arg1: ProxyArg, >( self, to: Arg0, @@ -275,6 +275,7 @@ where .original_result() } + /// TODO: not tested, investigate pub fn forward_async_accept_funds_half_payment< Arg0: ProxyArg>, >( @@ -289,7 +290,7 @@ where pub fn forward_async_accept_funds_with_fees< Arg0: ProxyArg>, - Arg1: ProxyArg>, + Arg1: ProxyArg, >( self, to: Arg0, @@ -399,16 +400,16 @@ where .original_result() } - pub fn forward_transf_execu_accept_funds_with_fees< + pub fn forward_transf_exec_accept_funds_with_fees< Arg0: ProxyArg>, - Arg1: ProxyArg>, + Arg1: ProxyArg, >( self, to: Arg0, percentage_fees: Arg1, ) -> TxTypedCall { self.wrapped_tx - .raw_call("forward_transf_execu_accept_funds_with_fees") + .raw_call("forward_transf_exec_accept_funds_with_fees") .argument(&to) .argument(&percentage_fees) .original_result() @@ -433,7 +434,7 @@ where >( self, to: Arg0, - ) -> TxTypedCall, EgldOrEsdtTokenIdentifier>> { + ) -> TxTypedCall>> { self.wrapped_tx .raw_call("forward_transf_exec_accept_funds_return_values") .argument(&to) @@ -618,7 +619,7 @@ where pub fn send_esdt_with_fees< Arg0: ProxyArg>, - Arg1: ProxyArg>, + Arg1: ProxyArg, >( self, to: Arg0, @@ -655,7 +656,7 @@ where pub fn send_esdt_direct_multi_transfer< Arg0: ProxyArg>, - Arg1: ProxyArg, u64, BigUint>>>, + Arg1: ProxyArg>>, >( self, to: Arg0, @@ -1455,7 +1456,7 @@ where >( self, index: Arg0, - ) -> TxTypedCall, EgldOrEsdtTokenIdentifier, u64, BigUint, MultiValueManagedVec>>> { + ) -> TxTypedCall, TokenId, u64, NonZeroBigUint, MultiValueManagedVec>>> { self.wrapped_tx .payment(NotPayable) .raw_call("callback_data_at_index") @@ -1576,7 +1577,7 @@ where Arg0: ProxyArg>, Arg1: ProxyArg>, Arg2: ProxyArg, - Arg3: ProxyArg>>, + Arg3: ProxyArg>>, >( self, to: Arg0, @@ -1662,7 +1663,7 @@ where pub fn forward_sync_retrieve_funds_bt_multi< Arg0: ProxyArg>, - Arg1: ProxyArg>>, + Arg1: ProxyArg>>, >( self, to: Arg0, @@ -1679,7 +1680,7 @@ where /// Highlights the behavior when calling back transfers **without** reset. pub fn forward_sync_retrieve_funds_bt_multi_twice< Arg0: ProxyArg>, - Arg1: ProxyArg>>, + Arg1: ProxyArg>>, >( self, to: Arg0, @@ -1696,7 +1697,7 @@ where /// Highlights the behavior when calling back transfers **with** reset. pub fn forward_sync_retrieve_funds_bt_multi_twice_reset< Arg0: ProxyArg>, - Arg1: ProxyArg>>, + Arg1: ProxyArg>>, >( self, to: Arg0, @@ -1748,8 +1749,8 @@ where Api: ManagedTypeApi, { pub callback_name: ManagedBuffer, - pub token_identifier: EgldOrEsdtTokenIdentifier, + pub token_identifier: TokenId, pub token_nonce: u64, - pub token_amount: BigUint, + pub token_amount: NonZeroBigUint, pub args: ManagedVec>, } diff --git a/contracts/feature-tests/composability/forwarder/src/fwd_call_async.rs b/contracts/feature-tests/composability/forwarder/src/fwd_call_async.rs index 06552e8e44..5aa64fd54b 100644 --- a/contracts/feature-tests/composability/forwarder/src/fwd_call_async.rs +++ b/contracts/feature-tests/composability/forwarder/src/fwd_call_async.rs @@ -49,7 +49,7 @@ pub trait ForwarderAsyncCallModule: common::CommonModule { #[endpoint] #[payable("*")] fn forward_async_accept_funds(&self, to: ManagedAddress) { - let payment = self.call_value().egld_or_single_esdt(); + let payment = self.call_value().all(); self.tx() .to(&to) .typed(vault_proxy::VaultProxy) @@ -58,39 +58,40 @@ pub trait ForwarderAsyncCallModule: common::CommonModule { .async_call_and_exit() } + /// TODO: not tested, investigate #[endpoint] #[payable("*")] fn forward_async_accept_funds_half_payment(&self, to: ManagedAddress) { - let payment = self.call_value().egld_or_single_esdt(); - let half_payment = payment.amount / 2u32; + let payment = self.call_value().single(); + let half_payment = &payment.amount / 2u32; self.tx() .to(&to) .typed(vault_proxy::VaultProxy) .accept_funds() - .egld_or_single_esdt( + .payment(PaymentRefs::new( &payment.token_identifier, payment.token_nonce, &half_payment, - ) + )) .async_call_and_exit() } #[payable("*")] #[endpoint] - fn forward_async_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: BigUint) { - let payment = self.call_value().egld_or_single_esdt(); - let fees = &payment.amount * &percentage_fees / PERCENTAGE_TOTAL; + fn forward_async_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: u32) { + let payment = self.call_value().single(); + let fees = &payment.amount * percentage_fees / PERCENTAGE_TOTAL; let amount_to_send = &payment.amount - &fees; self.tx() .to(&to) .typed(vault_proxy::VaultProxy) .accept_funds() - .egld_or_single_esdt( + .payment(PaymentRefs::new( &payment.token_identifier, payment.token_nonce, &amount_to_send, - ) + )) .async_call_and_exit(); } @@ -113,28 +114,36 @@ pub trait ForwarderAsyncCallModule: common::CommonModule { #[endpoint] #[payable] fn forward_async_reject_funds(&self, to: ManagedAddress) { - let payment = self.call_value().all_transfers(); + let payment = self.call_value().all(); self.tx() .to(&to) .typed(vault_proxy::VaultProxy) .reject_funds() - .payment(payment) + .payment(MultiTransfer(payment)) .callback(self.callbacks().retrieve_funds_callback()) .async_call_and_exit() } #[callback] fn retrieve_funds_callback(&self) { - let (token, nonce, payment) = self.call_value().egld_or_single_esdt().into_tuple(); - self.retrieve_funds_callback_event(&token, nonce, &payment); - - let _ = self.callback_data().push(&CallbackData { - callback_name: ManagedBuffer::from(b"retrieve_funds_callback"), - token_identifier: token, - token_nonce: nonce, - token_amount: payment, - args: ManagedVec::new(), - }); + self.async_callback_event(); + + let call_value = self.call_value().all(); + for payment in &*call_value { + self.retrieve_funds_callback_event( + &payment.token_identifier, + payment.token_nonce, + &payment.amount, + ); + + let _ = self.callback_data().push(&CallbackData { + callback_name: ManagedBuffer::from(b"retrieve_funds_callback"), + token_identifier: payment.token_identifier.clone(), + token_nonce: payment.token_nonce, + token_amount: payment.amount.clone(), + args: ManagedVec::new(), + }); + } } #[endpoint] @@ -198,4 +207,7 @@ pub trait ForwarderAsyncCallModule: common::CommonModule { .payment(payment_args.convert_payment_multi_triples()) .async_call_and_exit(); } + + #[event("async_callback")] + fn async_callback_event(&self); } diff --git a/contracts/feature-tests/composability/forwarder/src/fwd_call_promise_direct.rs b/contracts/feature-tests/composability/forwarder/src/fwd_call_promise_direct.rs index 40f18ce7af..255bf46d6b 100644 --- a/contracts/feature-tests/composability/forwarder/src/fwd_call_promise_direct.rs +++ b/contracts/feature-tests/composability/forwarder/src/fwd_call_promise_direct.rs @@ -48,19 +48,14 @@ pub trait CallPromisesDirectModule { to: ManagedAddress, endpoint_name: ManagedBuffer, extra_gas_for_callback: u64, - token_payment_args: MultiValueEncoded, + token_payment_args: MultiValueEncoded, ) { - let mut token_payments_vec = ManagedVec::new(); - for token_payment_arg in token_payment_args { - token_payments_vec.push(token_payment_arg.into_inner()); - } - let gas_limit = (self.blockchain().get_gas_left() - extra_gas_for_callback) * 9 / 10; self.tx() .to(&to) .raw_call(endpoint_name) - .payment(EgldOrMultiEsdtPayment::MultiEsdt(token_payments_vec)) + .payment(MultiTransfer(token_payment_args.convert_payment())) .gas(gas_limit) .callback(self.callbacks().the_one_callback(2001, 2002u32.into())) .gas_for_callback(extra_gas_for_callback) diff --git a/contracts/feature-tests/composability/forwarder/src/fwd_call_promises.rs b/contracts/feature-tests/composability/forwarder/src/fwd_call_promises.rs index 59bbd99953..8070dba861 100644 --- a/contracts/feature-tests/composability/forwarder/src/fwd_call_promises.rs +++ b/contracts/feature-tests/composability/forwarder/src/fwd_call_promises.rs @@ -10,7 +10,7 @@ pub trait CallPromisesModule: common::CommonModule { #[endpoint] #[payable("*")] fn forward_promise_accept_funds(&self, to: ManagedAddress) { - let payment = self.call_value().egld_or_single_esdt(); + let payment = self.call_value().all(); let gas_limit = self.blockchain().get_gas_left() / 2; self.tx() @@ -44,22 +44,33 @@ pub trait CallPromisesModule: common::CommonModule { #[promises_callback] fn retrieve_funds_callback(&self) { - let (token, nonce, payment) = self.call_value().egld_or_single_esdt().into_tuple(); - self.retrieve_funds_callback_event(&token, nonce, &payment); - - let _ = self.callback_data().push(&CallbackData { - callback_name: ManagedBuffer::from(b"retrieve_funds_callback"), - token_identifier: token, - token_nonce: nonce, - token_amount: payment, - args: ManagedVec::new(), - }); + self.promises_callback_event(); + + let call_value = self.call_value().all(); + for payment in &*call_value { + self.retrieve_funds_callback_event( + &payment.token_identifier, + payment.token_nonce, + &payment.amount, + ); + + let _ = self.callback_data().push(&CallbackData { + callback_name: ManagedBuffer::from(b"retrieve_funds_callback"), + token_identifier: payment.token_identifier.clone(), + token_nonce: payment.token_nonce, + token_amount: payment.amount.clone(), + args: ManagedVec::new(), + }); + } } + #[event("promises_callback")] + fn promises_callback_event(&self); + #[endpoint] #[payable("*")] fn forward_payment_callback(&self, to: ManagedAddress) { - let payment = self.call_value().any_payment(); + let payment = self.call_value().all(); let gas_limit = self.blockchain().get_gas_left() / 2; self.tx() @@ -73,7 +84,7 @@ pub trait CallPromisesModule: common::CommonModule { #[endpoint] #[payable("*")] fn forward_payment_gas_for_callback(&self, to: ManagedAddress) { - let payment = self.call_value().any_payment(); + let payment = self.call_value().all(); let half_gas = self.blockchain().get_gas_left() / 3; self.tx() @@ -89,31 +100,24 @@ pub trait CallPromisesModule: common::CommonModule { fn transfer_callback(&self, #[call_result] result: MultiValueEncoded) { self.callback_result(result); - let call_value = self.call_value().any_payment(); - match call_value { - EgldOrMultiEsdtPayment::Egld(egld) => { - self.retrieve_funds_callback_event(&EgldOrEsdtTokenIdentifier::egld(), 0, &egld); - let _ = self.callback_data().push(&CallbackData { - callback_name: ManagedBuffer::from(b"transfer_callback"), - token_identifier: EgldOrEsdtTokenIdentifier::egld(), - token_nonce: 0, - token_amount: egld, - args: ManagedVec::new(), - }); - } - EgldOrMultiEsdtPayment::MultiEsdt(multi_esdt) => { - for esdt in multi_esdt.into_iter() { - let token_identifier = EgldOrEsdtTokenIdentifier::esdt(esdt.token_identifier); - self.retrieve_funds_callback_event(&token_identifier, 0, &esdt.amount); - let _ = self.callback_data().push(&CallbackData { - callback_name: ManagedBuffer::from(b"transfer_callback"), - token_identifier, - token_nonce: 0, - token_amount: esdt.amount, - args: ManagedVec::new(), - }); - } - } + let call_value = self.call_value().all(); + for payment in &*call_value { + self.retrieve_funds_callback_event( + &payment.token_identifier, + payment.token_nonce, + &payment.amount, + ); + + let _ = self.callback_data().push(&CallbackData { + callback_name: ManagedBuffer::from(b"transfer_callback"), + token_identifier: payment.token_identifier.clone(), + token_nonce: payment.token_nonce, + token_amount: payment.amount.clone(), + args: ManagedVec::new(), + }); } } + + #[event("callback_result")] + fn callback_result(&self, #[indexed] result: MultiValueEncoded); } diff --git a/contracts/feature-tests/composability/forwarder/src/fwd_call_promises_bt.rs b/contracts/feature-tests/composability/forwarder/src/fwd_call_promises_bt.rs index 2ed07df920..dedc267236 100644 --- a/contracts/feature-tests/composability/forwarder/src/fwd_call_promises_bt.rs +++ b/contracts/feature-tests/composability/forwarder/src/fwd_call_promises_bt.rs @@ -29,33 +29,19 @@ pub trait CallPromisesBackTransfersModule: common::CommonModule { #[promises_callback] fn retrieve_funds_back_transfers_callback(&self) { let back_transfers = self.blockchain().get_back_transfers(); - let egld_transfer = back_transfers.egld_sum(); - - if egld_transfer != BigUint::zero() { - let egld_token_id = EgldOrEsdtTokenIdentifier::egld(); - self.retrieve_funds_callback_event(&egld_token_id, 0, &egld_transfer); - - let _ = self.callback_data().push(&CallbackData { - callback_name: ManagedBuffer::from(b"retrieve_funds_callback"), - token_identifier: egld_token_id, - token_nonce: 0, - token_amount: egld_transfer, - args: ManagedVec::new(), - }); - } - - for esdt_transfer in back_transfers.payments { + let bt_payments = back_transfers.into_payment_vec(); + for payment in bt_payments { self.retrieve_funds_callback_event( - &esdt_transfer.token_identifier, - esdt_transfer.token_nonce, - &esdt_transfer.amount, + &payment.token_identifier, + payment.token_nonce, + &payment.amount, ); let _ = self.callback_data().push(&CallbackData { callback_name: ManagedBuffer::from(b"retrieve_funds_callback"), - token_identifier: esdt_transfer.token_identifier, - token_nonce: esdt_transfer.token_nonce, - token_amount: esdt_transfer.amount.clone(), + token_identifier: payment.token_identifier, + token_nonce: payment.token_nonce, + token_amount: payment.amount, args: ManagedVec::new(), }); } diff --git a/contracts/feature-tests/composability/forwarder/src/fwd_call_sync.rs b/contracts/feature-tests/composability/forwarder/src/fwd_call_sync.rs index 8c37775a95..f9ffcfb82a 100644 --- a/contracts/feature-tests/composability/forwarder/src/fwd_call_sync.rs +++ b/contracts/feature-tests/composability/forwarder/src/fwd_call_sync.rs @@ -61,7 +61,7 @@ pub trait ForwarderSyncCallModule { #[endpoint] #[payable("*")] fn forward_sync_accept_funds(&self, to: ManagedAddress) { - let payment = self.call_value().egld_or_single_esdt(); + let payment = self.call_value().all(); let half_gas = self.blockchain().get_gas_left() / 2; let result = self @@ -126,7 +126,7 @@ pub trait ForwarderSyncCallModule { &self, to: ManagedAddress, ) -> ManagedVec> { - let payment = self.call_value().all_transfers(); + let payment = self.call_value().all(); let half_gas = self.blockchain().get_gas_left() / 2; self.tx() @@ -141,16 +141,20 @@ pub trait ForwarderSyncCallModule { #[payable("*")] #[endpoint] - fn forward_sync_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: BigUint) { - let (token_id, payment) = self.call_value().egld_or_single_fungible_esdt(); - let fees = &payment * &percentage_fees / PERCENTAGE_TOTAL; - let amount_to_send = payment - fees; + fn forward_sync_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: u32) { + let payment = self.call_value().single(); + let fees = &payment.amount * percentage_fees / PERCENTAGE_TOTAL; + let amount_to_send = &payment.amount - fees; self.tx() .to(&to) .typed(vault_proxy::VaultProxy) .accept_funds() - .egld_or_single_esdt(&token_id, 0u64, &amount_to_send) + .payment(PaymentRefs::new( + &payment.token_identifier, + payment.token_nonce, + &amount_to_send, + )) .returns(ReturnsResult) .sync_call(); } @@ -158,13 +162,13 @@ pub trait ForwarderSyncCallModule { #[event("accept_funds_sync_result")] fn accept_funds_sync_result_event( &self, - #[indexed] multi_esdt: &MultiValueEncoded, + #[indexed] multi_esdt: &MultiValueEncoded, ); #[endpoint] #[payable("*")] fn forward_sync_accept_funds_then_read(&self, to: ManagedAddress) -> usize { - let payment = self.call_value().egld_or_single_esdt(); + let payment = self.call_value().all(); self.tx() .to(&to) .typed(vault_proxy::VaultProxy) diff --git a/contracts/feature-tests/composability/forwarder/src/fwd_call_sync_bt.rs b/contracts/feature-tests/composability/forwarder/src/fwd_call_sync_bt.rs index eeec2720fc..098f0608b8 100644 --- a/contracts/feature-tests/composability/forwarder/src/fwd_call_sync_bt.rs +++ b/contracts/feature-tests/composability/forwarder/src/fwd_call_sync_bt.rs @@ -8,7 +8,7 @@ pub trait BackTransfersModule { fn forward_sync_retrieve_funds_bt_multi( &self, to: ManagedAddress, - transfers: MultiValueEncoded, + transfers: MultiValueEncoded, ) { let bt_multi = self .tx() @@ -22,7 +22,7 @@ pub trait BackTransfersModule { if egld_sum > 0u32 { self.back_transfers_egld_event(egld_sum); } - self.back_transfers_multi_event(bt_multi.into_multi_value()); + self.back_transfers_multi_event(bt_multi.into_payment_vec().into_multi_value()); let mut balances_after = MultiValueEncoded::new(); for transfer in transfers { @@ -30,9 +30,11 @@ pub trait BackTransfersModule { let balance = self .blockchain() .get_sc_balance(&payment.token_identifier, payment.token_nonce); - let balance_info = - EgldOrEsdtTokenPayment::new(payment.token_identifier, payment.token_nonce, balance); - balances_after.push(EgldOrEsdtTokenPaymentMultiValue::from(balance_info)); + balances_after.push(MultiValue3::from(( + payment.token_identifier, + payment.token_nonce, + balance, + ))); } self.balances_after(balances_after); } @@ -42,7 +44,7 @@ pub trait BackTransfersModule { fn forward_sync_retrieve_funds_bt_multi_twice( &self, to: ManagedAddress, - transfers: MultiValueEncoded, + transfers: MultiValueEncoded, ) { self.tx() .to(&to) @@ -58,7 +60,7 @@ pub trait BackTransfersModule { .returns(ReturnsBackTransfers) .sync_call(); - self.back_transfers_multi_event(back_transfers.into_multi_value()); + self.back_transfers_multi_event(back_transfers.into_payment_vec().into_multi_value()); } /// Highlights the behavior when calling back transfers **with** reset. @@ -66,7 +68,7 @@ pub trait BackTransfersModule { fn forward_sync_retrieve_funds_bt_multi_twice_reset( &self, to: ManagedAddress, - transfers: MultiValueEncoded, + transfers: MultiValueEncoded, ) { self.tx() .to(&to) @@ -82,13 +84,13 @@ pub trait BackTransfersModule { .returns(ReturnsBackTransfersReset) .sync_call(); - self.back_transfers_multi_event(back_transfers.into_multi_value()); + self.back_transfers_multi_event(back_transfers.into_payment_vec().into_multi_value()); } #[event("back_transfers_multi_event")] fn back_transfers_multi_event( &self, - #[indexed] back_transfers: MultiValueEncoded, + #[indexed] back_transfers: MultiValueEncoded, ); #[event("back_transfers_egld_event")] @@ -97,6 +99,6 @@ pub trait BackTransfersModule { #[event] fn balances_after( &self, - #[indexed] balances_after: MultiValueEncoded, + #[indexed] balances_after: MultiValueEncoded>, ); } diff --git a/contracts/feature-tests/composability/forwarder/src/fwd_call_transf_exec.rs b/contracts/feature-tests/composability/forwarder/src/fwd_call_transf_exec.rs index 73178bc58b..3f3269d074 100644 --- a/contracts/feature-tests/composability/forwarder/src/fwd_call_transf_exec.rs +++ b/contracts/feature-tests/composability/forwarder/src/fwd_call_transf_exec.rs @@ -7,9 +7,9 @@ const PERCENTAGE_TOTAL: u64 = 10_000; // 100% #[multiversx_sc::module] pub trait ForwarderTransferExecuteModule { #[endpoint] - #[payable("*")] + #[payable] fn forward_transf_exec_accept_funds(&self, to: ManagedAddress) { - let payment = self.call_value().egld_or_single_esdt(); + let payment = self.call_value().all(); self.tx() .to(&to) .typed(vault_proxy::VaultProxy) @@ -20,35 +20,39 @@ pub trait ForwarderTransferExecuteModule { #[endpoint] #[payable("*")] - fn forward_transf_execu_accept_funds_with_fees( - &self, - to: ManagedAddress, - percentage_fees: BigUint, - ) { - let (token_id, payment) = self.call_value().egld_or_single_fungible_esdt(); - let fees = &payment * &percentage_fees / PERCENTAGE_TOTAL; - let amount_to_send = payment - fees; + fn forward_transf_exec_accept_funds_with_fees(&self, to: ManagedAddress, percentage_fees: u32) { + let payment = self.call_value().single(); + let fees = &payment.amount * percentage_fees / PERCENTAGE_TOTAL; + let amount_to_send = &payment.amount - fees; self.tx() .to(&to) .typed(vault_proxy::VaultProxy) .accept_funds() - .egld_or_single_esdt(&token_id, 0u64, &amount_to_send) + .payment(PaymentRefs::new( + &payment.token_identifier, + payment.token_nonce, + &amount_to_send, + )) .transfer_execute(); } #[endpoint] #[payable("*")] fn forward_transf_exec_accept_funds_twice(&self, to: ManagedAddress) { - let (token, token_nonce, payment) = self.call_value().egld_or_single_esdt().into_tuple(); - let half_payment = payment / 2u32; + let payment = self.call_value().single(); + let half_payment = &payment.amount / 2u32; let half_gas = self.blockchain().get_gas_left() / 2; self.tx() .to(&to) .typed(vault_proxy::VaultProxy) .accept_funds() - .egld_or_single_esdt(&token, token_nonce, &half_payment) + .payment(PaymentRefs::new( + &payment.token_identifier, + payment.token_nonce, + &half_payment, + )) .gas(half_gas) .transfer_execute(); @@ -56,7 +60,11 @@ pub trait ForwarderTransferExecuteModule { .to(&to) .typed(vault_proxy::VaultProxy) .accept_funds() - .egld_or_single_esdt(&token, token_nonce, &half_payment) + .payment(PaymentRefs::new( + &payment.token_identifier, + payment.token_nonce, + &half_payment, + )) .gas(half_gas) .transfer_execute(); } @@ -68,16 +76,15 @@ pub trait ForwarderTransferExecuteModule { fn forward_transf_exec_accept_funds_return_values( &self, to: ManagedAddress, - ) -> MultiValue4 { - let payment = self.call_value().egld_or_single_esdt(); - let payment_token = payment.token_identifier.clone(); + ) -> MultiValue3 { + let payment = self.call_value().single(); let gas_left_before = self.blockchain().get_gas_left(); self.tx() .to(&to) .typed(vault_proxy::VaultProxy) .accept_funds() - .payment(payment) + .payment(&*payment) .transfer_execute(); let gas_left_after = self.blockchain().get_gas_left(); @@ -85,8 +92,7 @@ pub trait ForwarderTransferExecuteModule { ( gas_left_before, gas_left_after, - BigUint::zero(), - payment_token, + payment.token_identifier.clone(), ) .into() } diff --git a/contracts/feature-tests/composability/forwarder/src/fwd_esdt.rs b/contracts/feature-tests/composability/forwarder/src/fwd_esdt.rs index 280549ccc8..f396686126 100644 --- a/contracts/feature-tests/composability/forwarder/src/fwd_esdt.rs +++ b/contracts/feature-tests/composability/forwarder/src/fwd_esdt.rs @@ -2,7 +2,7 @@ multiversx_sc::imports!(); use super::fwd_storage; -const PERCENTAGE_TOTAL: u64 = 10_000; // 100% +const PERCENTAGE_TOTAL: u32 = 10_000; // 100% pub type EsdtTokenDataMultiValue = MultiValue9< EsdtTokenType, @@ -40,15 +40,19 @@ pub trait ForwarderEsdtModule: fwd_storage::ForwarderStorageModule { #[payable("*")] #[endpoint] - fn send_esdt_with_fees(&self, to: ManagedAddress, percentage_fees: BigUint) { - let (token_id, payment) = self.call_value().single_fungible_esdt(); - let fees = percentage_fees * &*payment / PERCENTAGE_TOTAL; - let amount_to_send = payment.clone() - fees; - - self.tx() - .to(&to) - .single_esdt(&token_id, 0, &amount_to_send) - .transfer(); + fn send_esdt_with_fees(&self, to: ManagedAddress, percentage_fees: u32) { + let payment = self.call_value().single(); + let fees = payment.amount.as_big_uint() * percentage_fees / PERCENTAGE_TOTAL; + if let Some(amount_to_send) = NonZeroBigUint::new(payment.amount.as_big_uint() - fees) { + self.tx() + .to(&to) + .payment(PaymentRefs::new( + &payment.token_identifier, + 0, + &amount_to_send, + )) + .transfer(); + } } #[endpoint] @@ -73,11 +77,11 @@ pub trait ForwarderEsdtModule: fwd_storage::ForwarderStorageModule { fn send_esdt_direct_multi_transfer( &self, to: ManagedAddress, - payment_args: MultiValueEncoded>, + payment_args: MultiValueEncoded, ) { self.tx() .to(&to) - .payment(payment_args.convert_payment_multi_triples()) + .payment(payment_args.convert_payment()) .transfer(); } diff --git a/contracts/feature-tests/composability/forwarder/src/vault_proxy.rs b/contracts/feature-tests/composability/forwarder/src/vault_proxy.rs index 3c8c61cf23..cde5de7c8b 100644 --- a/contracts/feature-tests/composability/forwarder/src/vault_proxy.rs +++ b/contracts/feature-tests/composability/forwarder/src/vault_proxy.rs @@ -111,7 +111,7 @@ where pub fn accept_funds_echo_payment( self, - ) -> TxTypedCall>> { + ) -> TxTypedCall>> { self.wrapped_tx .raw_call("accept_funds_echo_payment") .original_result() @@ -187,7 +187,7 @@ where } pub fn retrieve_funds_multi< - Arg0: ProxyArg>>, + Arg0: ProxyArg>>, >( self, transfers: Arg0, diff --git a/contracts/feature-tests/composability/forwarder/wasm/src/lib.rs b/contracts/feature-tests/composability/forwarder/wasm/src/lib.rs index b344cfd503..424c0da912 100644 --- a/contracts/feature-tests/composability/forwarder/wasm/src/lib.rs +++ b/contracts/feature-tests/composability/forwarder/wasm/src/lib.rs @@ -42,7 +42,7 @@ multiversx_sc_wasm_adapter::endpoints! { send_async_accept_multi_transfer => send_async_accept_multi_transfer send_async_reject_multi_transfer => send_async_reject_multi_transfer forward_transf_exec_accept_funds => forward_transf_exec_accept_funds - forward_transf_execu_accept_funds_with_fees => forward_transf_execu_accept_funds_with_fees + forward_transf_exec_accept_funds_with_fees => forward_transf_exec_accept_funds_with_fees forward_transf_exec_accept_funds_twice => forward_transf_exec_accept_funds_twice forward_transf_exec_accept_funds_return_values => forward_transf_exec_accept_funds_return_values transf_exec_multi_accept_funds => transf_exec_multi_accept_funds diff --git a/contracts/feature-tests/composability/interact/src/forwarder_queue_proxy.rs b/contracts/feature-tests/composability/interact/src/forwarder_queue_proxy.rs index 524906179c..6acc255e7e 100644 --- a/contracts/feature-tests/composability/interact/src/forwarder_queue_proxy.rs +++ b/contracts/feature-tests/composability/interact/src/forwarder_queue_proxy.rs @@ -132,8 +132,8 @@ where Arg0: ProxyArg>, Arg1: ProxyArg, Arg2: ProxyArg>, - Arg3: ProxyArg>, - Arg4: ProxyArg>, + Arg3: ProxyArg>, + Arg4: ProxyArg>, Arg5: ProxyArg>>, >( self, @@ -238,7 +238,7 @@ where pub gas_limit: u64, pub endpoint_name: ManagedBuffer, pub args: ManagedArgBuffer, - pub payments: EgldOrMultiEsdtPayment, + pub payments: ManagedVec>, } #[type_abi] diff --git a/contracts/feature-tests/composability/interact/src/vault_proxy.rs b/contracts/feature-tests/composability/interact/src/vault_proxy.rs index 3c8c61cf23..cde5de7c8b 100644 --- a/contracts/feature-tests/composability/interact/src/vault_proxy.rs +++ b/contracts/feature-tests/composability/interact/src/vault_proxy.rs @@ -111,7 +111,7 @@ where pub fn accept_funds_echo_payment( self, - ) -> TxTypedCall>> { + ) -> TxTypedCall>> { self.wrapped_tx .raw_call("accept_funds_echo_payment") .original_result() @@ -187,7 +187,7 @@ where } pub fn retrieve_funds_multi< - Arg0: ProxyArg>>, + Arg0: ProxyArg>>, >( self, transfers: Arg0, diff --git a/contracts/feature-tests/composability/recursive-caller/src/vault_proxy.rs b/contracts/feature-tests/composability/recursive-caller/src/vault_proxy.rs index 3c8c61cf23..cde5de7c8b 100644 --- a/contracts/feature-tests/composability/recursive-caller/src/vault_proxy.rs +++ b/contracts/feature-tests/composability/recursive-caller/src/vault_proxy.rs @@ -111,7 +111,7 @@ where pub fn accept_funds_echo_payment( self, - ) -> TxTypedCall>> { + ) -> TxTypedCall>> { self.wrapped_tx .raw_call("accept_funds_echo_payment") .original_result() @@ -187,7 +187,7 @@ where } pub fn retrieve_funds_multi< - Arg0: ProxyArg>>, + Arg0: ProxyArg>>, >( self, transfers: Arg0, diff --git a/contracts/feature-tests/composability/scenarios/forw_queue_async.scen.json b/contracts/feature-tests/composability/scenarios/forw_queue_async.scen.json index 2f48778049..ac305c7482 100644 --- a/contracts/feature-tests/composability/scenarios/forw_queue_async.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_queue_async.scen.json @@ -58,10 +58,12 @@ "address": "sc:forwarder-queue", "endpoint": "str:forward_queued_calls", "topics": [ - "str:forward_queued_call_egld", + "str:forward_queued_call_payment", "1", "sc:vault", "str:accept_funds", + "str:EGLD-000000", + "0", "1000" ], "data": "*" @@ -80,7 +82,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "0x03e8" ], diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_async_accept_egld.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_async_accept_egld.scen.json index 167faf2bc1..8261694144 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_async_accept_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_async_accept_egld.scen.json @@ -56,7 +56,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_direct_egld.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_direct_egld.scen.json index 987ae3a743..a24d0472da 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_direct_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_direct_egld.scen.json @@ -27,7 +27,7 @@ "from": "address:a_user", "to": "sc:forwarder", "egldValue": "1000", - "function": "forward_payment", + "function": "forward_direct_transfer", "arguments": [ "sc:vault" ], diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_direct_esdt.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_direct_esdt.scen.json index 22e32a8c15..45bd59ed44 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_direct_esdt.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_direct_esdt.scen.json @@ -35,7 +35,7 @@ "value": "1000" } ], - "function": "forward_payment", + "function": "forward_direct_transfer", "arguments": [ "sc:vault" ], diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_direct_multi_esdt.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_direct_multi_esdt.scen.json index ba3ad97b1d..7b1ba67ef4 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_direct_multi_esdt.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_direct_multi_esdt.scen.json @@ -39,7 +39,7 @@ "value": "2000" } ], - "function": "forward_direct_esdt_multi", + "function": "forward_direct_transfer", "arguments": [ "address:a_user" ], diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_sync_egld.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_sync_egld.scen.json index ea20d55338..fd15a0679f 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_sync_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_sync_egld.scen.json @@ -56,7 +56,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], @@ -115,7 +115,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "500" ], @@ -150,7 +150,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "500" ], diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_accept_egld.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_accept_egld.scen.json index 82dffdfbd4..5a28cf4293 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_accept_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_accept_egld.scen.json @@ -22,12 +22,12 @@ }, { "step": "scCall", - "id": "forward_transf_exec_egld 1000 EGLD", + "id": "forward_transf_exec 1000 EGLD", "tx": { "from": "address:a_user", "to": "sc:forwarder", "egldValue": "1000", - "function": "forward_transf_exec_egld", + "function": "forward_transf_exec", "arguments": [ "sc:vault", "str:accept_funds" @@ -70,11 +70,11 @@ }, { "step": "scCall", - "id": "forward_transf_exec_egld 0 EGLD", + "id": "forward_transf_exec 0 EGLD", "tx": { "from": "address:a_user", "to": "sc:forwarder", - "function": "forward_transf_exec_egld", + "function": "forward_transf_exec", "arguments": [ "sc:vault", "str:accept_funds" diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_fallible_egld_accept.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_fallible_egld_accept.scen.json index 6972b1256a..929fb1f352 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_fallible_egld_accept.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_fallible_egld_accept.scen.json @@ -68,7 +68,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "100" ], diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_fallible_multi_egld_accept.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_fallible_multi_egld_accept.scen.json index adff896073..339d1c8419 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_fallible_multi_egld_accept.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_fallible_multi_egld_accept.scen.json @@ -120,7 +120,7 @@ "str:NFT-123456", "1", "1", - "str:EGLD", + "str:EGLD-000000", "0", "100", "str:SFT-456789", diff --git a/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_reject_egld.scen.json b/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_reject_egld.scen.json index 18851435bf..c7c580c207 100644 --- a/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_reject_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forw_raw_transf_exec_reject_egld.scen.json @@ -27,7 +27,7 @@ "from": "address:a_user", "to": "sc:forwarder", "egldValue": "1000", - "function": "forward_transf_exec_egld", + "function": "forward_transf_exec", "arguments": [ "sc:vault", "str:reject_funds" diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_async_accept_egld.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_async_accept_egld.scen.json index 1a6e40aa47..cee170feca 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_async_accept_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_async_accept_egld.scen.json @@ -55,7 +55,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_async_reject_egld.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_async_reject_egld.scen.json index 4f474d58ff..713a63ea68 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_async_reject_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_async_reject_egld.scen.json @@ -20,7 +20,7 @@ }, { "step": "scCall", - "id": "2", + "id": "forward_async_reject_funds-EGLD", "comment": "tokens returned after a failed call do not currently show up as callback call value", "tx": { "from": "address:a_user", @@ -57,10 +57,7 @@ "address": "sc:forwarder", "endpoint": "str:callBack", "topics": [ - "str:retrieve_funds_callback", - "str:EGLD", - "", - "0" + "str:async_callback" ], "data": [ "" diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_async_reject_esdt.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_async_reject_esdt.scen.json index 05f5463acb..7def486dde 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_async_reject_esdt.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_async_reject_esdt.scen.json @@ -23,7 +23,7 @@ }, { "step": "scCall", - "id": "2", + "id": "forward_async_reject_funds-single-ESDT", "comment": "tokens returned after a failed call do not currently show up as callback call value", "tx": { "from": "address:a_user", @@ -85,10 +85,7 @@ "address": "sc:forwarder", "endpoint": "str:callBack", "topics": [ - "str:retrieve_funds_callback", - "str:EGLD", - "", - "" + "str:async_callback" ], "data": [ "" diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_egld.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_egld.scen.json index ecfae9b375..21c2ea9c58 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_egld.scen.json @@ -93,12 +93,22 @@ "0x00" ] }, + { + "address": "sc:forwarder", + "endpoint": "str:callBack", + "topics": [ + "str:async_callback" + ], + "data": [ + "" + ] + }, { "address": "sc:forwarder", "endpoint": "str:callBack", "topics": [ "str:retrieve_funds_callback", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_esdt.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_esdt.scen.json index caf1a68f68..2c6f74aa6e 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_esdt.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_esdt.scen.json @@ -87,6 +87,16 @@ "1000" ] }, + { + "address": "sc:forwarder", + "endpoint": "str:callBack", + "topics": [ + "str:async_callback" + ], + "data": [ + "" + ] + }, { "address": "sc:forwarder", "endpoint": "str:callBack", diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_nft.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_nft.scen.json index 9fee9ad370..306a7ffb3f 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_nft.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_async_retrieve_nft.scen.json @@ -96,6 +96,16 @@ "sc:forwarder" ] }, + { + "address": "sc:forwarder", + "endpoint": "str:callBack", + "topics": [ + "str:async_callback" + ], + "data": [ + "" + ] + }, { "address": "sc:forwarder", "endpoint": "str:callBack", diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_egld.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_egld.scen.json index 2f9d5e2841..740ddc68d8 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_egld.scen.json @@ -55,7 +55,7 @@ "endpoint": "str:accept_funds_echo_payment", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], @@ -68,7 +68,7 @@ "endpoint": "str:forward_sync_accept_funds", "topics": [ "str:accept_funds_sync_result", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_esdt.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_esdt.scen.json index 80108eeb28..7ca60ead5b 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_esdt.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_esdt.scen.json @@ -47,7 +47,7 @@ "expect": { "out": [], "status": "4", - "message": "str:incorrect number of ESDT transfers", + "message": "str:incorrect number of transfers", "logs": "*", "gas": "*", "refund": "*" diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_then_read_egld.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_then_read_egld.scen.json index 478d95e20d..f685c2a9a0 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_then_read_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_accept_then_read_egld.scen.json @@ -57,7 +57,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_fallible_multi_transfer_egld_accept.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_fallible_multi_transfer_egld_accept.scen.json index faac34a33b..9875f7f09d 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_fallible_multi_transfer_egld_accept.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_fallible_multi_transfer_egld_accept.scen.json @@ -120,7 +120,7 @@ "str:NFT-123456", "1", "1", - "str:EGLD", + "str:EGLD-000000", "0", "100", "str:SFT-456789", diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_multi_transfer_egld_accept.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_multi_transfer_egld_accept.scen.json index 707fdf6df2..fb093c8f9b 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_multi_transfer_egld_accept.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_multi_transfer_egld_accept.scen.json @@ -118,7 +118,7 @@ "str:NFT-123456", "1", "1", - "str:EGLD", + "str:EGLD-000000", "0", "100", "str:SFT-456789", diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi.scen.json index e64295cd0d..19c84205fc 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi.scen.json @@ -173,7 +173,7 @@ "str:NFT-123456", "1", "1", - "str:EGLD", + "str:EGLD-000000", "0", "100", "str:SFT-456789", @@ -195,7 +195,7 @@ "str:NFT-123456", "1", "1", - "str:EGLD", + "str:EGLD-000000", "0", "100", "str:SFT-456789", diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_egld.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_egld.scen.json index 0cd347ad48..1626356b04 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_egld.scen.json @@ -96,7 +96,7 @@ "endpoint": "str:forward_sync_retrieve_funds_bt_multi", "topics": [ "str:back_transfers_multi_event", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], @@ -109,7 +109,7 @@ "endpoint": "str:forward_sync_retrieve_funds_bt_multi", "topics": [ "str:balances_after", - "str:EGLD", + "str:EGLD-000000", "", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_twice.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_twice.scen.json index ea1cfb42cd..ca984294ab 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_twice.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_twice.scen.json @@ -206,7 +206,7 @@ "str:FWD-TOKEN", "0", "100", - "str:EGLD", + "str:EGLD-000000", "0", "100", "str:SFT-456789", @@ -215,7 +215,7 @@ "str:FWD-TOKEN", "0", "100", - "str:EGLD", + "str:EGLD-000000", "0", "100", "str:SFT-456789", diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_twice_reset.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_twice_reset.scen.json index eff140fe5a..ec99111a3d 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_twice_reset.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_sync_retrieve_bt_multi_twice_reset.scen.json @@ -206,7 +206,7 @@ "str:FWD-TOKEN", "0", "100", - "str:EGLD", + "str:EGLD-000000", "0", "100", "str:SFT-456789", diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_accept_return_values.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_accept_return_values.scen.json index 8dad5f400a..fa45d4301d 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_accept_return_values.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_accept_return_values.scen.json @@ -38,8 +38,7 @@ "out": [ "*", "*", - "0", - "str:EGLD" + "str:EGLD-000000" ], "status": "0", "logs": [ @@ -60,7 +59,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_egld_accept.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_egld_accept.scen.json index d2da32c423..dd4e51f5ae 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_egld_accept.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_egld_accept.scen.json @@ -55,7 +55,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_egld_accept_twice.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_egld_accept_twice.scen.json index 4998644c84..2c918316c7 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_egld_accept_twice.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_egld_accept_twice.scen.json @@ -55,7 +55,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], @@ -80,7 +80,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_multi_transfer_egld_accept.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_multi_transfer_egld_accept.scen.json index 24e0cc947c..2fb5a152eb 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_multi_transfer_egld_accept.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_call_transf_exec_multi_transfer_egld_accept.scen.json @@ -77,7 +77,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], @@ -144,10 +144,10 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000", - "str:EGLD", + "str:EGLD-000000", "0", "2000" ], diff --git a/contracts/feature-tests/composability/scenarios/forwarder_transfer_esdt_with_fees.scen.json b/contracts/feature-tests/composability/scenarios/forwarder_transfer_esdt_with_fees.scen.json index dab0808f47..386b4f7d40 100644 --- a/contracts/feature-tests/composability/scenarios/forwarder_transfer_esdt_with_fees.scen.json +++ b/contracts/feature-tests/composability/scenarios/forwarder_transfer_esdt_with_fees.scen.json @@ -105,7 +105,7 @@ "value": "100" } ], - "function": "forward_transf_execu_accept_funds_with_fees", + "function": "forward_transf_exec_accept_funds_with_fees", "arguments": [ "sc:vault", "1000" diff --git a/contracts/feature-tests/composability/scenarios/promises_call_async_accept_egld.scen.json b/contracts/feature-tests/composability/scenarios/promises_call_async_accept_egld.scen.json index 79476aac5a..9a1c27c274 100644 --- a/contracts/feature-tests/composability/scenarios/promises_call_async_accept_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/promises_call_async_accept_egld.scen.json @@ -54,7 +54,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/promises_call_async_retrieve_egld.scen.json b/contracts/feature-tests/composability/scenarios/promises_call_async_retrieve_egld.scen.json index 0941d7a8dd..6e0660556c 100644 --- a/contracts/feature-tests/composability/scenarios/promises_call_async_retrieve_egld.scen.json +++ b/contracts/feature-tests/composability/scenarios/promises_call_async_retrieve_egld.scen.json @@ -92,12 +92,22 @@ "0x00" ] }, + { + "address": "sc:forwarder", + "endpoint": "str:retrieve_funds_callback", + "topics": [ + "str:promises_callback" + ], + "data": [ + "" + ] + }, { "address": "sc:forwarder", "endpoint": "str:retrieve_funds_callback", "topics": [ "str:retrieve_funds_callback", - "str:EGLD", + "str:EGLD-000000", "0", "1000" ], diff --git a/contracts/feature-tests/composability/scenarios/promises_call_async_retrieve_esdt.scen.json b/contracts/feature-tests/composability/scenarios/promises_call_async_retrieve_esdt.scen.json index 983fbd0d7c..764d2e3f67 100644 --- a/contracts/feature-tests/composability/scenarios/promises_call_async_retrieve_esdt.scen.json +++ b/contracts/feature-tests/composability/scenarios/promises_call_async_retrieve_esdt.scen.json @@ -86,6 +86,16 @@ "1000" ] }, + { + "address": "sc:forwarder", + "endpoint": "str:retrieve_funds_callback", + "topics": [ + "str:promises_callback" + ], + "data": [ + "" + ] + }, { "address": "sc:forwarder", "endpoint": "str:retrieve_funds_callback", diff --git a/contracts/feature-tests/composability/scenarios/promises_call_transfer_callback_esdt.scen.json b/contracts/feature-tests/composability/scenarios/promises_call_transfer_callback_esdt.scen.json index f13a9b74e1..552ebfb2bc 100644 --- a/contracts/feature-tests/composability/scenarios/promises_call_transfer_callback_esdt.scen.json +++ b/contracts/feature-tests/composability/scenarios/promises_call_transfer_callback_esdt.scen.json @@ -24,7 +24,7 @@ }, { "step": "scCall", - "id": "1", + "id": "forward_payment_callback-ESDT", "tx": { "from": "address:a_user", "to": "sc:forwarder", @@ -84,19 +84,6 @@ "data": [ "" ] - }, - { - "address": "sc:forwarder", - "endpoint": "str:transfer_callback", - "topics": [ - "str:retrieve_funds_callback", - "str:EGLD", - "", - "" - ], - "data": [ - "" - ] } ], "gas": "*", @@ -105,7 +92,7 @@ }, { "step": "scCall", - "id": "2", + "id": "forward_payment_gas_for_callback-ESDT", "tx": { "from": "address:a_user", "to": "sc:forwarder", @@ -165,19 +152,6 @@ "data": [ "" ] - }, - { - "address": "sc:forwarder", - "endpoint": "str:transfer_callback", - "topics": [ - "str:retrieve_funds_callback", - "str:EGLD", - "", - "" - ], - "data": [ - "" - ] } ], "gas": "*", @@ -207,23 +181,6 @@ "sc:forwarder": { "nonce": "0", "balance": "0", - "storage": { - "str:callback_data.len": "2", - "str:callback_data.item|u32:1": [ - "nested:str:transfer_callback", - "nested:str:EGLD", - "u64:0", - "u32:0", - "u32:0" - ], - "str:callback_data.item|u32:2": [ - "nested:str:transfer_callback", - "nested:str:EGLD", - "u64:0", - "u32:0", - "u32:0" - ] - }, "code": "mxsc:../forwarder/output/forwarder.mxsc.json" } } diff --git a/contracts/feature-tests/composability/scenarios/recursive_caller_egld_1.scen.json b/contracts/feature-tests/composability/scenarios/recursive_caller_egld_1.scen.json index c72085b89d..122cbc6a51 100644 --- a/contracts/feature-tests/composability/scenarios/recursive_caller_egld_1.scen.json +++ b/contracts/feature-tests/composability/scenarios/recursive_caller_egld_1.scen.json @@ -71,7 +71,7 @@ "endpoint": "str:accept_funds", "topics": [ "str:accept_funds", - "str:EGLD", + "str:EGLD-000000", "0", "1" ], diff --git a/contracts/feature-tests/composability/tests/composability_scenario_go_test.rs b/contracts/feature-tests/composability/tests/composability_scenario_go_test.rs index 3106e0c979..de87e3e4b6 100644 --- a/contracts/feature-tests/composability/tests/composability_scenario_go_test.rs +++ b/contracts/feature-tests/composability/tests/composability_scenario_go_test.rs @@ -573,19 +573,16 @@ fn promises_call_async_accept_esdt_go() { } #[test] -#[ignore = "TODO"] fn promises_call_async_retrieve_egld_go() { world().run("scenarios/promises_call_async_retrieve_egld.scen.json"); } #[test] -#[ignore = "TODO"] fn promises_call_async_retrieve_esdt_go() { world().run("scenarios/promises_call_async_retrieve_esdt.scen.json"); } #[test] -#[ignore = "TODO"] fn promises_call_callback_directly_go() { world().run("scenarios/promises_call_callback_directly.scen.json"); } diff --git a/contracts/feature-tests/composability/tests/composability_scenario_rs_forwarder_legacy_test.rs b/contracts/feature-tests/composability/tests/composability_scenario_rs_forwarder_legacy_test.rs index 60e1e192d9..8c4d0d916e 100644 --- a/contracts/feature-tests/composability/tests/composability_scenario_rs_forwarder_legacy_test.rs +++ b/contracts/feature-tests/composability/tests/composability_scenario_rs_forwarder_legacy_test.rs @@ -70,16 +70,19 @@ fn legacy_forwarder_call_async_multi_transfer_rs() { } #[test] +#[ignore = "no longer matching new implementation"] fn legacy_forwarder_call_async_retrieve_egld_rs() { world().run("scenarios/forwarder_call_async_retrieve_egld.scen.json"); } #[test] +#[ignore = "no longer matching new implementation"] fn legacy_forwarder_call_async_retrieve_esdt_rs() { world().run("scenarios/forwarder_call_async_retrieve_esdt.scen.json"); } #[test] +#[ignore = "no longer matching new implementation"] fn legacy_forwarder_call_async_retrieve_nft_rs() { world().run("scenarios/forwarder_call_async_retrieve_nft.scen.json"); } diff --git a/contracts/feature-tests/composability/vault/src/vault.rs b/contracts/feature-tests/composability/vault/src/vault.rs index acaa8b2466..f362ad8b2b 100644 --- a/contracts/feature-tests/composability/vault/src/vault.rs +++ b/contracts/feature-tests/composability/vault/src/vault.rs @@ -50,8 +50,8 @@ pub trait Vault { self.blockchain().get_caller() } - fn all_transfers_multi(&self) -> MultiValueEncoded { - self.call_value().all_transfers().clone().into_multi_value() + fn all_transfers_multi(&self) -> MultiValueEncoded { + self.call_value().all().clone().into_multi_value() } #[payable("*")] @@ -66,7 +66,7 @@ pub trait Vault { #[payable("*")] #[endpoint] - fn accept_funds_echo_payment(&self) -> MultiValueEncoded { + fn accept_funds_echo_payment(&self) -> MultiValueEncoded { let esdt_transfers_multi = self.all_transfers_multi(); self.accept_funds_event(&esdt_transfers_multi); @@ -127,29 +127,27 @@ pub trait Vault { #[endpoint] #[payable("*")] fn retrieve_funds_egld_or_single_esdt(&self) { - let token = self.call_value().egld_or_single_esdt(); - self.retrieve_funds_event(&token.token_identifier, token.token_nonce, &token.amount); + if let Some(payment) = self.call_value().single_optional() { + self.retrieve_funds_event( + payment.token_identifier.as_legacy(), + payment.token_nonce, + payment.amount.as_big_uint(), + ); - if let Some(esdt_token_id) = token.token_identifier.into_esdt_option() { - self.tx() - .to(ToCaller) - .esdt((esdt_token_id, token.token_nonce, token.amount)) - .transfer(); - } else { - self.tx().to(ToCaller).egld(token.amount).transfer(); + self.tx().to(ToCaller).payment(payment).transfer(); } } #[endpoint] #[payable("*")] fn retrieve_received_funds_immediately(&self) { - let tokens = self.call_value().all_transfers(); + let tokens = self.call_value().all(); self.tx().to(ToCaller).payment(tokens).transfer(); } #[endpoint] - fn retrieve_funds_multi(&self, transfers: MultiValueEncoded) { + fn retrieve_funds_multi(&self, transfers: MultiValueEncoded) { self.retrieve_funds_multi_event(&transfers); self.tx() @@ -203,16 +201,10 @@ pub trait Vault { } #[event("accept_funds")] - fn accept_funds_event( - &self, - #[indexed] multi_esdt: &MultiValueEncoded, - ); + fn accept_funds_event(&self, #[indexed] multi_esdt: &MultiValueEncoded); #[event("reject_funds")] - fn reject_funds_event( - &self, - #[indexed] multi_esdt: &MultiValueEncoded, - ); + fn reject_funds_event(&self, #[indexed] multi_esdt: &MultiValueEncoded); #[event("retrieve_funds")] fn retrieve_funds_event( @@ -225,7 +217,7 @@ pub trait Vault { #[event("retrieve_funds_multi")] fn retrieve_funds_multi_event( &self, - #[indexed] transfers: &MultiValueEncoded, + #[indexed] transfers: &MultiValueEncoded, ); #[endpoint] diff --git a/contracts/feature-tests/erc-style-contracts/crowdfunding-erc20/src/crowdfunding_erc20.rs b/contracts/feature-tests/erc-style-contracts/crowdfunding-erc20/src/crowdfunding_erc20.rs index da8781e3a8..7228b2b776 100644 --- a/contracts/feature-tests/erc-style-contracts/crowdfunding-erc20/src/crowdfunding_erc20.rs +++ b/contracts/feature-tests/erc-style-contracts/crowdfunding-erc20/src/crowdfunding_erc20.rs @@ -50,7 +50,7 @@ pub trait Crowdfunding { Status::FundingPeriod } else if self .blockchain() - .get_sc_balance(&EgldOrEsdtTokenIdentifier::egld(), 0) + .get_sc_balance(EgldOrEsdtTokenIdentifier::egld(), 0) >= self.target().get() { Status::Successful diff --git a/contracts/feature-tests/formatted-message-features/src/formatted_message_features.rs b/contracts/feature-tests/formatted-message-features/src/formatted_message_features.rs index 820e27d553..d33e0445fb 100644 --- a/contracts/feature-tests/formatted-message-features/src/formatted_message_features.rs +++ b/contracts/feature-tests/formatted-message-features/src/formatted_message_features.rs @@ -25,7 +25,7 @@ pub trait FormattedMessageFeatures { #[payable("*")] #[endpoint] fn dynamic_message_multiple(&self) { - let (token_id, nonce, amount) = self.call_value().egld_or_single_esdt().into_tuple(); + let (token_id, nonce, amount) = self.call_value().single().clone().into_tuple(); sc_panic!( "Got token {}, with nonce {}, amount {}. I prefer EGLD. ERROR!", &&token_id, // references are accepted @@ -37,7 +37,7 @@ pub trait FormattedMessageFeatures { #[payable("*")] #[endpoint] fn dynamic_message_ascii(&self) { - let (token_id, nonce, amount) = self.call_value().egld_or_single_esdt().into_tuple(); + let (token_id, nonce, amount) = self.call_value().single().clone().into_tuple(); sc_panic!( "Got token {}, with nonce {}, amount {}. I prefer EGLD. ERROR!", token_id, diff --git a/contracts/feature-tests/payable-features/scenarios/call-value-check-multi-egld.scen.json b/contracts/feature-tests/payable-features/scenarios/call-value-check-multi-egld.scen.json index dda990f1d3..833adfc689 100644 --- a/contracts/feature-tests/payable-features/scenarios/call-value-check-multi-egld.scen.json +++ b/contracts/feature-tests/payable-features/scenarios/call-value-check-multi-egld.scen.json @@ -59,7 +59,7 @@ "expect": { "out": [ [ - "nested:str:EGLD|u64:0|biguint:15", + "nested:str:EGLD-000000|u64:0|biguint:15", "nested:str:TOK-123456|u64:0|biguint:100", "nested:str:OTHERTOK-123456|u64:0|biguint:400", "nested:str:SFT-123|u64:5|biguint:10" diff --git a/contracts/feature-tests/payable-features/scenarios/payable_any_5.scen.json b/contracts/feature-tests/payable-features/scenarios/payable_any_5.scen.json new file mode 100644 index 0000000000..287b58b06e --- /dev/null +++ b/contracts/feature-tests/payable-features/scenarios/payable_any_5.scen.json @@ -0,0 +1,96 @@ +{ + "name": "payable", + "gasSchedule": "v3", + "steps": [ + { + "step": "setState", + "accounts": { + "sc:payable-features": { + "nonce": "0", + "balance": "0", + "code": "mxsc:../output/payable-features.mxsc.json" + }, + "address:an-account": { + "nonce": "0", + "balance": "1,000,000,000,000", + "esdt": { + "str:PAYABLE-FEATURES-TOKEN": "1,000,000,000,000", + "str:OTHER-TOKEN": "1,000,000,000,000" + } + } + } + }, + { + "step": "scCall", + "id": "payable_any_5.1", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "function": "payable_any_5", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "payable_any_5.2", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "egldValue": "5", + "function": "payable_any_5", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "str:EGLD-000000", + "0", + "5" + ], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "payable_any_5.3", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "esdtValue": [ + { + "tokenIdentifier": "str:PAYABLE-FEATURES-TOKEN", + "value": "100" + } + ], + "function": "payable_any_5", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "str:PAYABLE-FEATURES-TOKEN", + "0", + "100" + ], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + } + ] +} diff --git a/contracts/feature-tests/payable-features/scenarios/payable_array.scen.json b/contracts/feature-tests/payable-features/scenarios/payable_array.scen.json new file mode 100644 index 0000000000..e150b8814a --- /dev/null +++ b/contracts/feature-tests/payable-features/scenarios/payable_array.scen.json @@ -0,0 +1,146 @@ +{ + "name": "payable", + "gasSchedule": "v3", + "steps": [ + { + "step": "setState", + "accounts": { + "sc:payable-features": { + "nonce": "0", + "balance": "0", + "code": "mxsc:../output/payable-features.mxsc.json" + }, + "address:an-account": { + "nonce": "0", + "balance": "10000", + "esdt": { + "str:TOK-000001": "1000", + "str:TOK-000002": "500", + "str:TOK-000003": "500", + "str:SFT-123": { + "instances": [ + { + "nonce": "5", + "balance": "20" + } + ] + } + } + } + } + }, + { + "step": "scCall", + "id": "payment_array_3-too-many", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "esdtValue": [ + { + "tokenIdentifier": "str:TOK-000001", + "value": "100" + }, + { + "tokenIdentifier": "str:TOK-000002", + "value": "400" + }, + { + "tokenIdentifier": "str:TOK-000003", + "value": "400" + }, + { + "tokenIdentifier": "str:SFT-123", + "nonce": "5", + "value": "10" + }, + { + "tokenIdentifier": "str:EGLD-000000", + "nonce": "0", + "value": "103" + } + ], + "function": "payment_array_3", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [], + "status": "4", + "message": "str:incorrect number of transfers", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "payment_array_3-too-few", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "esdtValue": [ + { + "tokenIdentifier": "str:TOK-000001", + "value": "100" + }, + { + "tokenIdentifier": "str:SFT-123", + "nonce": "5", + "value": "10" + } + ], + "function": "payment_array_3", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [], + "status": "4", + "message": "str:incorrect number of transfers", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "payment_array_3-ok", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "esdtValue": [ + { + "tokenIdentifier": "str:TOK-000001", + "value": "100" + }, + { + "tokenIdentifier": "str:EGLD-000000", + "value": "400" + }, + { + "tokenIdentifier": "str:SFT-123", + "nonce": "5", + "value": "10" + } + ], + "function": "payment_array_3", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "nested:str:TOK-000001|u64:0|biguint:100", + "nested:str:EGLD-000000|u64:0|biguint:400", + "nested:str:SFT-123|u64:5|biguint:10" + ], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + } + ] +} diff --git a/contracts/feature-tests/payable-features/scenarios/payable_multi_array_egld.scen.json b/contracts/feature-tests/payable-features/scenarios/payable_array_egld_or_esdt.scen.json similarity index 92% rename from contracts/feature-tests/payable-features/scenarios/payable_multi_array_egld.scen.json rename to contracts/feature-tests/payable-features/scenarios/payable_array_egld_or_esdt.scen.json index c570ab2c4a..771dd6c8b6 100644 --- a/contracts/feature-tests/payable-features/scenarios/payable_multi_array_egld.scen.json +++ b/contracts/feature-tests/payable-features/scenarios/payable_array_egld_or_esdt.scen.json @@ -31,7 +31,7 @@ }, { "step": "scCall", - "id": "payment-array-egld-too-many", + "id": "payment_array_egld_or_esdt_3-too-many", "tx": { "from": "address:an-account", "to": "sc:payable-features", @@ -59,7 +59,7 @@ "value": "103" } ], - "function": "payment_array_egld_esdt_3", + "function": "payment_array_egld_or_esdt_3", "arguments": [], "gasLimit": "50,000,000", "gasPrice": "0" @@ -75,7 +75,7 @@ }, { "step": "scCall", - "id": "payment-array-egld-too-few", + "id": "payment_array_egld_or_esdt_3-too-few", "tx": { "from": "address:an-account", "to": "sc:payable-features", @@ -90,7 +90,7 @@ "value": "10" } ], - "function": "payment_array_egld_esdt_3", + "function": "payment_array_egld_or_esdt_3", "arguments": [], "gasLimit": "50,000,000", "gasPrice": "0" @@ -106,7 +106,7 @@ }, { "step": "scCall", - "id": "payment-array-ok", + "id": "payment_array_egld_or_esdt_3-ok", "tx": { "from": "address:an-account", "to": "sc:payable-features", @@ -125,7 +125,7 @@ "value": "10" } ], - "function": "payment_array_egld_esdt_3", + "function": "payment_array_egld_or_esdt_3", "arguments": [], "gasLimit": "50,000,000", "gasPrice": "0" diff --git a/contracts/feature-tests/payable-features/scenarios/payable_multi_array.scen.json b/contracts/feature-tests/payable-features/scenarios/payable_array_esdt.scen.json similarity index 94% rename from contracts/feature-tests/payable-features/scenarios/payable_multi_array.scen.json rename to contracts/feature-tests/payable-features/scenarios/payable_array_esdt.scen.json index 73c4c97e71..156be88b76 100644 --- a/contracts/feature-tests/payable-features/scenarios/payable_multi_array.scen.json +++ b/contracts/feature-tests/payable-features/scenarios/payable_array_esdt.scen.json @@ -31,7 +31,7 @@ }, { "step": "scCall", - "id": "payment-array-too-many", + "id": "payment_array_esdt_3-too-many", "tx": { "from": "address:an-account", "to": "sc:payable-features", @@ -62,7 +62,7 @@ "expect": { "out": [], "status": "4", - "message": "str:incorrect number of ESDT transfers", + "message": "str:incorrect number of transfers", "logs": "*", "gas": "*", "refund": "*" @@ -70,7 +70,7 @@ }, { "step": "scCall", - "id": "payment-array-too-few", + "id": "payment_array_esdt_3-too-few", "tx": { "from": "address:an-account", "to": "sc:payable-features", @@ -93,7 +93,7 @@ "expect": { "out": [], "status": "4", - "message": "str:incorrect number of ESDT transfers", + "message": "str:incorrect number of transfers", "logs": "*", "gas": "*", "refund": "*" @@ -101,7 +101,7 @@ }, { "step": "scCall", - "id": "payment-array-bad-egld", + "id": "payment_array_esdt_3-bad-egld", "tx": { "from": "address:an-account", "to": "sc:payable-features", @@ -137,7 +137,7 @@ }, { "step": "scCall", - "id": "payment-array-ok", + "id": "payment_array_esdt_3-ok", "tx": { "from": "address:an-account", "to": "sc:payable-features", diff --git a/contracts/feature-tests/payable-features/scenarios/payable_egld_5.scen.json b/contracts/feature-tests/payable-features/scenarios/payable_egld_5.scen.json new file mode 100644 index 0000000000..5a0c841c41 --- /dev/null +++ b/contracts/feature-tests/payable-features/scenarios/payable_egld_5.scen.json @@ -0,0 +1,93 @@ +{ + "name": "payable", + "gasSchedule": "v3", + "steps": [ + { + "step": "setState", + "accounts": { + "sc:payable-features": { + "nonce": "0", + "balance": "0", + "code": "mxsc:../output/payable-features.mxsc.json" + }, + "address:an-account": { + "nonce": "0", + "balance": "1,000,000,000,000", + "esdt": { + "str:PAYABLE-FEATURES-TOKEN": "1,000,000,000,000", + "str:OTHER-TOKEN": "1,000,000,000,000" + } + } + } + }, + { + "step": "scCall", + "id": "payable_egld_5.1", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "function": "payable_egld_5", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "payable_egld_5.2", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "egldValue": "5", + "function": "payable_egld_5", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [ + "str:EGLD-000000", + "0", + "5" + ], + "status": "", + "logs": "*", + "gas": "*", + "refund": "*" + } + }, + { + "step": "scCall", + "id": "payable_egld_5.3", + "tx": { + "from": "address:an-account", + "to": "sc:payable-features", + "esdtValue": [ + { + "tokenIdentifier": "str:PAYABLE-FEATURES-TOKEN", + "value": "100" + } + ], + "function": "payable_egld_5", + "arguments": [], + "gasLimit": "50,000,000", + "gasPrice": "0" + }, + "expect": { + "out": [], + "status": "4", + "message": "str:function does not accept ESDT payment", + "logs": "*", + "gas": "*", + "refund": "*" + } + } + ] +} diff --git a/contracts/feature-tests/payable-features/src/payable_features.rs b/contracts/feature-tests/payable-features/src/payable_features.rs index 3952f5ddd6..8ac74933ca 100644 --- a/contracts/feature-tests/payable-features/src/payable_features.rs +++ b/contracts/feature-tests/payable-features/src/payable_features.rs @@ -24,8 +24,8 @@ pub trait PayableFeatures { #[view] #[payable("*")] - fn echo_call_value(&self) -> ManagedVec { - self.call_value().all_transfers().clone() + fn echo_call_value(&self) -> ManagedVec { + self.call_value().all().clone() } #[endpoint] @@ -54,13 +54,20 @@ pub trait PayableFeatures { #[endpoint] #[payable("*")] - fn payment_array_egld_esdt_3( + fn payment_array_egld_or_esdt_3( &self, ) -> MultiValue3 { let [payment_a, payment_b, payment_c] = self.call_value().multi_egld_or_esdt(); (payment_a.clone(), payment_b.clone(), payment_c.clone()).into() } + #[endpoint] + #[payable("*")] + fn payment_array_3(&self) -> MultiValue3 { + let [payment_a, payment_b, payment_c] = self.call_value().array(); + (payment_a.clone(), payment_b.clone(), payment_c.clone()).into() + } + #[endpoint] #[payable("*")] fn payable_any_1( @@ -98,6 +105,12 @@ pub trait PayableFeatures { (payment.amount, payment.token_identifier).into() } + #[endpoint] + #[payable] + fn payable_any_5(&self) -> OptionalValue { + optional_payment_to_multi_value(self.call_value().single_optional()) + } + #[endpoint] #[payable("EGLD")] fn payable_egld_1( @@ -136,6 +149,12 @@ pub trait PayableFeatures { (payment.clone(), token).into() } + #[endpoint] + #[payable("EGLD")] + fn payable_egld_5(&self) -> OptionalValue { + optional_payment_to_multi_value(self.call_value().single_optional()) + } + #[endpoint] #[payable("PAYABLE-FEATURES-TOKEN")] fn payable_token_1( @@ -174,3 +193,16 @@ pub trait PayableFeatures { (payment, token).into() } } + +fn optional_payment_to_multi_value( + opt_payment: Option>>, +) -> OptionalValue> +where + M: ManagedTypeApi, +{ + if let Some(payment) = opt_payment { + OptionalValue::Some(payment.clone().into_multi_value()) + } else { + OptionalValue::None + } +} diff --git a/contracts/feature-tests/payable-features/src/payable_features_proxy.rs b/contracts/feature-tests/payable-features/src/payable_features_proxy.rs index 78a2a9f7b8..af7ffc149d 100644 --- a/contracts/feature-tests/payable-features/src/payable_features_proxy.rs +++ b/contracts/feature-tests/payable-features/src/payable_features_proxy.rs @@ -72,7 +72,7 @@ where pub fn echo_call_value( self, - ) -> TxTypedCall>> { + ) -> TxTypedCall>> { self.wrapped_tx .raw_call("echo_call_value") .original_result() @@ -102,11 +102,19 @@ where .original_result() } - pub fn payment_array_egld_esdt_3( + pub fn payment_array_egld_or_esdt_3( self, ) -> TxTypedCall, EgldOrEsdtTokenPayment, EgldOrEsdtTokenPayment>> { self.wrapped_tx - .raw_call("payment_array_egld_esdt_3") + .raw_call("payment_array_egld_or_esdt_3") + .original_result() + } + + pub fn payment_array_3( + self, + ) -> TxTypedCall, Payment, Payment>> { + self.wrapped_tx + .raw_call("payment_array_3") .original_result() } @@ -142,6 +150,14 @@ where .original_result() } + pub fn payable_any_5( + self, + ) -> TxTypedCall>> { + self.wrapped_tx + .raw_call("payable_any_5") + .original_result() + } + pub fn payable_egld_1( self, ) -> TxTypedCall, EgldOrEsdtTokenIdentifier>> { @@ -174,6 +190,14 @@ where .original_result() } + pub fn payable_egld_5( + self, + ) -> TxTypedCall>> { + self.wrapped_tx + .raw_call("payable_egld_5") + .original_result() + } + pub fn payable_token_1( self, ) -> TxTypedCall, EgldOrEsdtTokenIdentifier>> { diff --git a/contracts/feature-tests/payable-features/tests/payable_scenario_go_test.rs b/contracts/feature-tests/payable-features/tests/payable_scenario_go_test.rs index dc9cf9c7a1..f1900f170e 100644 --- a/contracts/feature-tests/payable-features/tests/payable_scenario_go_test.rs +++ b/contracts/feature-tests/payable-features/tests/payable_scenario_go_test.rs @@ -44,6 +44,26 @@ fn payable_any_4_go() { world().run("scenarios/payable_any_4.scen.json"); } +#[test] +fn payable_any_5_go() { + world().run("scenarios/payable_any_5.scen.json"); +} + +#[test] +fn payable_array_go() { + world().run("scenarios/payable_array.scen.json"); +} + +#[test] +fn payable_array_egld_or_esdt_go() { + world().run("scenarios/payable_array_egld_or_esdt.scen.json"); +} + +#[test] +fn payable_array_esdt_go() { + world().run("scenarios/payable_array_esdt.scen.json"); +} + #[test] fn payable_egld_1_go() { world().run("scenarios/payable_egld_1.scen.json"); @@ -65,13 +85,8 @@ fn payable_egld_4_go() { } #[test] -fn payable_multi_array_go() { - world().run("scenarios/payable_multi_array.scen.json"); -} - -#[test] -fn payable_multi_array_egld_go() { - world().run("scenarios/payable_multi_array_egld.scen.json"); +fn payable_egld_5_go() { + world().run("scenarios/payable_egld_5.scen.json"); } #[test] diff --git a/contracts/feature-tests/payable-features/tests/payable_scenario_rs_test.rs b/contracts/feature-tests/payable-features/tests/payable_scenario_rs_test.rs index 9bcc9d6e9b..119473a34e 100644 --- a/contracts/feature-tests/payable-features/tests/payable_scenario_rs_test.rs +++ b/contracts/feature-tests/payable-features/tests/payable_scenario_rs_test.rs @@ -51,6 +51,26 @@ fn payable_any_4_rs() { world().run("scenarios/payable_any_4.scen.json"); } +#[test] +fn payable_any_5_rs() { + world().run("scenarios/payable_any_5.scen.json"); +} + +#[test] +fn payable_array_rs() { + world().run("scenarios/payable_array.scen.json"); +} + +#[test] +fn payable_array_egld_or_esdt_rs() { + world().run("scenarios/payable_array_egld_or_esdt.scen.json"); +} + +#[test] +fn payable_array_esdt_rs() { + world().run("scenarios/payable_array_esdt.scen.json"); +} + #[test] fn payable_egld_1_rs() { world().run("scenarios/payable_egld_1.scen.json"); @@ -72,13 +92,8 @@ fn payable_egld_4_rs() { } #[test] -fn payable_multi_array_rs() { - world().run("scenarios/payable_multi_array.scen.json"); -} - -#[test] -fn payable_multi_array_egld_rs() { - world().run("scenarios/payable_multi_array_egld.scen.json"); +fn payable_egld_5_rs() { + world().run("scenarios/payable_egld_5.scen.json"); } #[test] diff --git a/contracts/feature-tests/payable-features/wasm/src/lib.rs b/contracts/feature-tests/payable-features/wasm/src/lib.rs index bf30b04490..3536e03bff 100644 --- a/contracts/feature-tests/payable-features/wasm/src/lib.rs +++ b/contracts/feature-tests/payable-features/wasm/src/lib.rs @@ -5,9 +5,9 @@ //////////////////////////////////////////////////// // Init: 1 -// Endpoints: 18 +// Endpoints: 21 // Async Callback (empty): 1 -// Total number of exported functions: 20 +// Total number of exported functions: 23 #![no_std] @@ -23,15 +23,18 @@ multiversx_sc_wasm_adapter::endpoints! { payment_multiple => payment_multiple payable_all_transfers => payable_all_transfers payment_array_esdt_3 => payment_array_esdt_3 - payment_array_egld_esdt_3 => payment_array_egld_esdt_3 + payment_array_egld_or_esdt_3 => payment_array_egld_or_esdt_3 + payment_array_3 => payment_array_3 payable_any_1 => payable_any_1 payable_any_2 => payable_any_2 payable_any_3 => payable_any_3 payable_any_4 => payable_any_4 + payable_any_5 => payable_any_5 payable_egld_1 => payable_egld_1 payable_egld_2 => payable_egld_2 payable_egld_3 => payable_egld_3 payable_egld_4 => payable_egld_4 + payable_egld_5 => payable_egld_5 payable_token_1 => payable_token_1 payable_token_2 => payable_token_2 payable_token_3 => payable_token_3 diff --git a/contracts/feature-tests/rust-testing-framework-tester/src/lib.rs b/contracts/feature-tests/rust-testing-framework-tester/src/lib.rs index 7633e4fd79..a55c223181 100644 --- a/contracts/feature-tests/rust-testing-framework-tester/src/lib.rs +++ b/contracts/feature-tests/rust-testing-framework-tester/src/lib.rs @@ -45,13 +45,13 @@ pub trait RustTestingFrameworkTester: dummy_module::DummyModule { #[endpoint] fn get_egld_balance(&self) -> BigUint { self.blockchain() - .get_sc_balance(&EgldOrEsdtTokenIdentifier::egld(), 0) + .get_sc_balance(EgldOrEsdtTokenIdentifier::egld(), 0) } #[endpoint] fn get_esdt_balance(&self, token_id: EsdtTokenIdentifier, nonce: u64) -> BigUint { self.blockchain() - .get_sc_balance(&EgldOrEsdtTokenIdentifier::esdt(token_id), nonce) + .get_sc_balance(EgldOrEsdtTokenIdentifier::esdt(token_id), nonce) } #[payable("EGLD")] diff --git a/contracts/feature-tests/use-module/tests/gov_module_whitebox_test.rs b/contracts/feature-tests/use-module/tests/gov_module_whitebox_test.rs index 3bd7434e83..033a493057 100644 --- a/contracts/feature-tests/use-module/tests/gov_module_whitebox_test.rs +++ b/contracts/feature-tests/use-module/tests/gov_module_whitebox_test.rs @@ -22,12 +22,6 @@ const FIRST_USER_ADDRESS: TestAddress = TestAddress::new("first-user"); const SECOND_USER_ADDRESS: TestAddress = TestAddress::new("second-user"); const THIRD_USER_ADDRESS: TestAddress = TestAddress::new("third-user"); -pub struct Payment { - pub token: Vec, - pub nonce: u64, - pub amount: u64, -} - fn world() -> ScenarioWorld { let mut blockchain = ScenarioWorld::new(); diff --git a/framework/base/src/contract_base/wrappers/blockchain_wrapper.rs b/framework/base/src/contract_base/wrappers/blockchain_wrapper.rs index 67dbbb765f..3b374e43d0 100644 --- a/framework/base/src/contract_base/wrappers/blockchain_wrapper.rs +++ b/framework/base/src/contract_base/wrappers/blockchain_wrapper.rs @@ -1,6 +1,9 @@ use core::marker::PhantomData; -use multiversx_chain_core::types::{DurationMillis, TimestampMillis, TimestampSeconds}; +use multiversx_chain_core::{ + types::{DurationMillis, TimestampMillis, TimestampSeconds}, + EGLD_000000_TOKEN_IDENTIFIER, +}; use crate::{ api::{ @@ -14,8 +17,8 @@ use crate::{ types::{ BackTransfers, BackTransfersLegacy, BigUint, CodeMetadata, EgldOrEsdtTokenIdentifier, EgldOrEsdtTokenPayment, EsdtLocalRoleFlags, EsdtTokenData, EsdtTokenIdentifier, - EsdtTokenType, ManagedAddress, ManagedBuffer, ManagedByteArray, ManagedRefMut, ManagedType, - ManagedVec, SystemSCAddress, + EsdtTokenType, ManagedAddress, ManagedBuffer, ManagedByteArray, ManagedRef, ManagedRefMut, + ManagedType, ManagedVec, SystemSCAddress, TokenId, }, }; @@ -28,21 +31,26 @@ use crate::{ #[derive(Default)] pub struct BlockchainWrapper where - A: BlockchainApi + ManagedTypeApi + ErrorApi, + A: ManagedTypeApi + ErrorApi, { _phantom: PhantomData, } impl BlockchainWrapper where - A: BlockchainApi + ManagedTypeApi + ErrorApi, + A: ManagedTypeApi + ErrorApi, { pub fn new() -> Self { BlockchainWrapper { _phantom: PhantomData, } } +} +impl BlockchainWrapper +where + A: BlockchainApi + ManagedTypeApi + ErrorApi, +{ #[deprecated(since = "0.41.0", note = "Please use method `get_caller` instead.")] #[cfg(feature = "alloc")] #[inline] @@ -175,14 +183,17 @@ where } #[inline] - pub fn get_sc_balance(&self, token: &EgldOrEsdtTokenIdentifier, nonce: u64) -> BigUint { - token.map_ref_or_else( - (), - |()| self.get_balance(&self.get_sc_address()), - |(), token_identifier| { - self.get_esdt_balance(&self.get_sc_address(), token_identifier, nonce) - }, - ) + pub fn get_sc_balance(&self, token_id: impl AsRef>, nonce: u64) -> BigUint { + let token_id_ref = token_id.as_ref(); + if self.is_native_token(token_id_ref) { + self.get_balance(&self.get_sc_address()) + } else { + self.get_esdt_balance( + &self.get_sc_address(), + unsafe { token_id_ref.as_esdt_unchecked() }, + nonce, + ) + } } #[deprecated( @@ -441,7 +452,36 @@ where result } } +} + +impl BlockchainWrapper +where + A: ManagedTypeApi + ErrorApi, +{ + pub(crate) fn get_native_token_handle(&self) -> A::ManagedBufferHandle { + let handle: A::ManagedBufferHandle = use_raw_handle(const_handles::MBUF_EGLD_000000); + A::managed_type_impl() + .mb_overwrite(handle.clone(), EGLD_000000_TOKEN_IDENTIFIER.as_bytes()); + handle + } + /// The native token of the given chain. It can currently only return `EGLD-000000`. + pub fn get_native_token(&self) -> ManagedRef<'static, A, TokenId> { + let handle = self.get_native_token_handle(); + unsafe { ManagedRef::wrap_handle(handle) } + } + + /// Checks if a token is the native one on the chain. Currently only returns true for `EGLD-000000`. + pub fn is_native_token(&self, token_id: &TokenId) -> bool { + let handle = self.get_native_token_handle(); + A::managed_type_impl().mb_eq(handle, token_id.buffer.handle.clone()) + } +} + +impl BlockchainWrapper +where + A: BlockchainApi + ManagedTypeApi + ErrorApi, +{ fn get_esdt_token_type_raw( &self, address: &ManagedAddress, @@ -507,7 +547,7 @@ where uris_handle.get_raw_handle(), ); - let token_type = self.get_esdt_token_type(address, &token_id.data, nonce); + let token_type = self.get_esdt_token_type(address, token_id.token_id.as_legacy(), nonce); if managed_api_impl.mb_len(creator_handle.clone()) == 0 { managed_api_impl.mb_overwrite(creator_handle.clone(), &[0u8; 32][..]); diff --git a/framework/base/src/contract_base/wrappers/call_value_wrapper.rs b/framework/base/src/contract_base/wrappers/call_value_wrapper.rs index cd2d51015f..2bf85bc9c4 100644 --- a/framework/base/src/contract_base/wrappers/call_value_wrapper.rs +++ b/framework/base/src/contract_base/wrappers/call_value_wrapper.rs @@ -1,18 +1,17 @@ use core::marker::PhantomData; -use multiversx_chain_core::EGLD_000000_TOKEN_IDENTIFIER; - use crate::{ api::{ const_handles, use_raw_handle, CallValueApi, CallValueApiImpl, ErrorApi, ErrorApiImpl, ManagedBufferApiImpl, ManagedTypeApi, RawHandle, StaticVarApiFlags, StaticVarApiImpl, }, + contract_base::BlockchainWrapper, err_msg, types::{ BigUint, EgldDecimals, EgldOrEsdtTokenIdentifier, EgldOrEsdtTokenPayment, EgldOrMultiEsdtPayment, EsdtTokenIdentifier, EsdtTokenPayment, ManagedDecimal, ManagedRef, ManagedType, ManagedVec, ManagedVecItem, ManagedVecItemPayload, ManagedVecPayloadIterator, - ManagedVecRef, + Payment, PaymentVec, Ref, }, }; @@ -66,7 +65,7 @@ where /// /// Does not accept a multi-transfer with 2 or more transfers, not even 2 or more EGLD transfers. pub fn egld(&self) -> ManagedRef<'static, A, BigUint> { - let all_transfers = self.all_transfers(); + let all_transfers = self.all(); match all_transfers.len() { 0 => { use crate::api::BigIntApiImpl; @@ -78,7 +77,7 @@ where } 1 => { let first = all_transfers.get(0); - if !first.token_identifier.is_egld() { + if !first.token_identifier.is_native() { A::error_api_impl().signal_error(err_msg::NON_PAYABLE_FUNC_ESDT.as_bytes()); } unsafe { ManagedRef::wrap_handle(first.amount.get_handle()) } @@ -128,6 +127,17 @@ where unsafe { ManagedRef::wrap_handle(multi_esdt_handle) } } + fn all_transfers_handle(&self) -> A::ManagedBufferHandle { + let all_transfers_handle: A::ManagedBufferHandle = + use_raw_handle(const_handles::CALL_VALUE_ALL); + if !A::static_var_api_impl() + .flag_is_set_or_update(StaticVarApiFlags::CALL_VALUE_ALL_INITIALIZED) + { + A::call_value_api_impl().load_all_transfers(all_transfers_handle.clone()); + } + all_transfers_handle + } + /// Will return all transfers in the form of a list of EgldOrEsdtTokenPayment. /// /// Both EGLD and ESDT can be returned. @@ -137,16 +147,68 @@ where pub fn all_transfers( &self, ) -> ManagedRef<'static, A, ManagedVec>> { - let all_transfers_handle: A::ManagedBufferHandle = - use_raw_handle(const_handles::CALL_VALUE_ALL); - if !A::static_var_api_impl() - .flag_is_set_or_update(StaticVarApiFlags::CALL_VALUE_ALL_INITIALIZED) - { - A::call_value_api_impl().load_all_transfers(all_transfers_handle.clone()); - } + let all_transfers_handle = self.all_transfers_handle(); + unsafe { ManagedRef::wrap_handle(all_transfers_handle) } + } + + /// Will return all transfers in the form of a list of Payment. + /// + /// It handles all tokens uniformly, including the native token (EGLD or lightspeed chain native tokens). + /// + /// In case of a single EGLD transfer, only one item will be returned, + /// the EGLD payment represented as an ESDT transfer (EGLD-000000). + pub fn all(&self) -> ManagedRef<'static, A, PaymentVec> { + let all_transfers_handle = self.all_transfers_handle(); unsafe { ManagedRef::wrap_handle(all_transfers_handle) } } + /// Accepts a single payment. + /// + /// Will halt execution if zero or more than one payment was received. + pub fn single(&self) -> Ref<'static, Payment> { + let esdt_transfers = self.all(); + if esdt_transfers.len() != 1 { + A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_TRANSFERS.as_bytes()) + } + let value = esdt_transfers.get(0); + unsafe { + // transmute only used because the compiler doesn't seem to be able to unify the 'static lifetime properly + core::mem::transmute::>, Ref<'static, Payment>>(value) + } + } + + /// Accepts either a single payment, or no payment at all. + /// + /// Will halt execution if zero or more than one payment was received. + pub fn single_optional(&self) -> Option>> { + let esdt_transfers: ManagedRef<'static, A, ManagedVec>> = self.all(); + match esdt_transfers.len() { + 0 => None, + 1 => { + let value = esdt_transfers.get(0); + // transmute only used because the compiler doesn't seem to be able to unify the 'static lifetime properly + let lifetime_fix = unsafe { + core::mem::transmute::>, Ref<'static, Payment>>(value) + }; + Some(lifetime_fix) + } + _ => A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_TRANSFERS.as_bytes()), + } + } + + /// Verify and casts the received multi ESDT transfer in to an array. + /// + /// Can be used to extract all payments in one line like this: + /// + /// `let [payment_a, payment_b, payment_c] = self.call_value().multi_egld_or_esdt();`. + pub fn array(&self) -> [Ref<'static, Payment>; N] { + let list = self.all(); + let array = list.to_array_of_refs::().unwrap_or_else(|| { + A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_TRANSFERS.as_bytes()) + }); + unsafe { core::mem::transmute(array) } + } + /// Verify and casts the received multi ESDT transfer in to an array. /// /// Can be used to extract all payments in one line like this: @@ -154,10 +216,10 @@ where /// `let [payment_a, payment_b, payment_c] = self.call_value().multi_esdt();`. /// /// Rejects EGLD transfers. Switch to `multi_egld_or_esdt` to accept mixed transfers. - pub fn multi_esdt(&self) -> [ManagedVecRef<'static, EsdtTokenPayment>; N] { + pub fn multi_esdt(&self) -> [Ref<'static, EsdtTokenPayment>; N] { let esdt_transfers = self.all_esdt_transfers(); let array = esdt_transfers.to_array_of_refs::().unwrap_or_else(|| { - A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_ESDT_TRANSFERS.as_bytes()) + A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_TRANSFERS.as_bytes()) }); unsafe { core::mem::transmute(array) } } @@ -169,7 +231,7 @@ where /// `let [payment_a, payment_b, payment_c] = self.call_value().multi_egld_or_esdt();`. pub fn multi_egld_or_esdt( &self, - ) -> [ManagedVecRef<'static, EgldOrEsdtTokenPayment>; N] { + ) -> [Ref<'static, EgldOrEsdtTokenPayment>; N] { let esdt_transfers = self.all_transfers(); let array = esdt_transfers.to_array_of_refs::().unwrap_or_else(|| { A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_TRANSFERS.as_bytes()) @@ -182,10 +244,10 @@ where /// Will return the received ESDT payment. /// /// The amount cannot be 0, since that would not qualify as an ESDT transfer. - pub fn single_esdt(&self) -> ManagedVecRef<'static, EsdtTokenPayment> { + pub fn single_esdt(&self) -> Ref<'static, EsdtTokenPayment> { let esdt_transfers = self.all_esdt_transfers(); if esdt_transfers.len() != 1 { - A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_ESDT_TRANSFERS.as_bytes()) + A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_TRANSFERS.as_bytes()) } let value = esdt_transfers.get(0); unsafe { core::mem::transmute(value) } @@ -231,7 +293,7 @@ where amount: self.egld_direct_non_strict().clone(), }, 1 => esdt_transfers.get(0).clone(), - _ => A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_ESDT_TRANSFERS.as_bytes()), + _ => A::error_api_impl().signal_error(err_msg::INCORRECT_NUM_TRANSFERS.as_bytes()), } } @@ -255,6 +317,10 @@ where /// Accepts any sort of payment, which is either: /// - EGLD (can be zero in case of no payment whatsoever); /// - Multi-ESDT (one or more ESDT transfers). + #[deprecated( + note = "It comes from a time when only 1 EGLD payment, or ESDT multi-transfer was possible. This is no longer the case. Use `any` instead.", + since = "0.64.0" + )] pub fn any_payment(&self) -> EgldOrMultiEsdtPayment { let esdt_transfers = self.all_esdt_transfers(); if esdt_transfers.is_empty() { @@ -269,10 +335,7 @@ fn egld_000000_transfer_exists(transfers_vec_handle: A::ManagedBufferHandle) where A: CallValueApi + ErrorApi + ManagedTypeApi, { - A::managed_type_impl().mb_overwrite( - use_raw_handle(const_handles::MBUF_EGLD_000000), - EGLD_000000_TOKEN_IDENTIFIER.as_bytes(), - ); + let native_token_handle = BlockchainWrapper::::new().get_native_token_handle(); unsafe { let mut iter: ManagedVecPayloadIterator< A, @@ -282,7 +345,7 @@ where iter.any(|payload| { let token_identifier_handle = RawHandle::read_from_payload(payload.slice_unchecked(0)); A::managed_type_impl().mb_eq( - use_raw_handle(const_handles::MBUF_EGLD_000000), + native_token_handle.clone(), use_raw_handle(token_identifier_handle), ) }) diff --git a/framework/base/src/err_msg.rs b/framework/base/src/err_msg.rs index d42f5dd014..8a26176aac 100644 --- a/framework/base/src/err_msg.rs +++ b/framework/base/src/err_msg.rs @@ -8,7 +8,6 @@ pub const SINGLE_ESDT_EXPECTED: &str = "single ESDT payment expected"; pub const TOO_MANY_ESDT_TRANSFERS: &str = "too many ESDT transfers"; pub const ESDT_INVALID_TOKEN_INDEX: &str = "invalid token index"; pub const ESDT_UNEXPECTED_EGLD: &str = "unexpected EGLD transfer"; -pub const INCORRECT_NUM_ESDT_TRANSFERS: &str = "incorrect number of ESDT transfers"; pub const INCORRECT_NUM_TRANSFERS: &str = "incorrect number of transfers"; pub const FUNGIBLE_TOKEN_EXPECTED_ERR_MSG: &str = "fungible ESDT token expected"; pub const TOKEN_IDENTIFIER_ESDT_EXPECTED: &str = "ESDT expected"; @@ -48,6 +47,7 @@ pub const CAST_TO_I64_ERROR: &str = "cast to i64 error"; pub const BIG_UINT_EXCEEDS_SLICE: &str = "big uint as_bytes exceed target slice"; pub const BIG_UINT_SUB_NEGATIVE: &str = "cannot subtract because result would be negative"; pub const UNSIGNED_NEGATIVE: &str = "cannot convert to unsigned, number is negative"; +pub const ZERO_VALUE_NOT_ALLOWED: &str = "zero value not allowed"; pub const DESERIALIZATION_INVALID_BYTE: &str = "call data deserialization error: not a valid byte"; pub const DESERIALIZATION_NOT_32_BYTES: &str = diff --git a/framework/base/src/types/interaction/back_transfers.rs b/framework/base/src/types/interaction/back_transfers.rs index 296e142ec5..2f03b2e10e 100644 --- a/framework/base/src/types/interaction/back_transfers.rs +++ b/framework/base/src/types/interaction/back_transfers.rs @@ -2,7 +2,7 @@ use crate::{ api::ManagedTypeApi, types::{ BigUint, EgldOrEsdtTokenPaymentMultiValue, EsdtTokenPayment, MultiEgldOrEsdtPayment, - MultiEsdtPayment, MultiValueEncoded, + MultiEsdtPayment, MultiValueEncoded, PaymentVec, }, }; @@ -63,4 +63,9 @@ where pub fn into_multi_value(self) -> MultiValueEncoded> { self.payments.into_multi_value() } + + /// Converts data to the newer PaymentVec (ManagedVec). + pub fn into_payment_vec(self) -> PaymentVec { + self.payments.into_payment_vec() + } } diff --git a/framework/base/src/types/interaction/tx_data/function_call.rs b/framework/base/src/types/interaction/tx_data/function_call.rs index 7b8e5c9dfc..8e6911f014 100644 --- a/framework/base/src/types/interaction/tx_data/function_call.rs +++ b/framework/base/src/types/interaction/tx_data/function_call.rs @@ -203,7 +203,7 @@ where for payment in payments { // serializing token identifier buffer to get EGLD-00000 instead of EGLD result = result - .argument(&payment.token_identifier.buffer) + .argument(&payment.token_identifier.token_id) .argument(&payment.token_nonce) .argument(&payment.amount); } diff --git a/framework/base/src/types/interaction/tx_payment.rs b/framework/base/src/types/interaction/tx_payment.rs index ed970bc455..d9e3467825 100644 --- a/framework/base/src/types/interaction/tx_payment.rs +++ b/framework/base/src/types/interaction/tx_payment.rs @@ -3,15 +3,21 @@ mod tx_payment_egld; mod tx_payment_egld_or_esdt; mod tx_payment_egld_or_esdt_refs; mod tx_payment_egld_or_multi_esdt; -mod tx_payment_egld_or_multi_esdt_ref; +mod tx_payment_egld_or_multi_esdt_refs; mod tx_payment_egld_value; mod tx_payment_multi_egld_or_esdt; mod tx_payment_multi_esdt; +mod tx_payment_multi_transfer_marker; mod tx_payment_none; mod tx_payment_not_payable; +mod tx_payment_payment; +mod tx_payment_payment_option; +mod tx_payment_payment_ref; +mod tx_payment_payment_refs; mod tx_payment_single_esdt; mod tx_payment_single_esdt_ref; mod tx_payment_single_esdt_triple; +mod tx_payment_vec_ref; pub use test_esdt_transfer::TestEsdtTransfer; pub use tx_payment_egld::{Egld, EgldPayment}; diff --git a/framework/base/src/types/interaction/tx_payment/tx_payment_egld_or_multi_esdt_ref.rs b/framework/base/src/types/interaction/tx_payment/tx_payment_egld_or_multi_esdt_refs.rs similarity index 100% rename from framework/base/src/types/interaction/tx_payment/tx_payment_egld_or_multi_esdt_ref.rs rename to framework/base/src/types/interaction/tx_payment/tx_payment_egld_or_multi_esdt_refs.rs diff --git a/framework/base/src/types/interaction/tx_payment/tx_payment_multi_transfer_marker.rs b/framework/base/src/types/interaction/tx_payment/tx_payment_multi_transfer_marker.rs new file mode 100644 index 0000000000..1c6bd524e3 --- /dev/null +++ b/framework/base/src/types/interaction/tx_payment/tx_payment_multi_transfer_marker.rs @@ -0,0 +1,83 @@ +use crate::{ + contract_base::{SendRawWrapper, TransferExecuteFailed}, + types::{ + BigUint, ManagedAddress, MultiTransfer, MultiTransferMarkerArg, PaymentVec, TxFrom, + TxToSpecified, + }, +}; + +use super::{FullPaymentData, FunctionCall, TxEnv, TxPayment}; + +impl TxPayment for MultiTransfer

+where + Env: TxEnv, + P: MultiTransferMarkerArg + AsRef>, +{ + fn is_no_payment(&self, _env: &Env) -> bool { + let pv = self.0.as_ref(); + pv.is_empty() + } + + fn perform_transfer_execute_fallible( + self, + _env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) -> Result<(), TransferExecuteFailed> { + let pv = self.0.as_ref(); + SendRawWrapper::::new().multi_egld_or_esdt_transfer_execute_fallible( + to, + pv.as_multi_egld_or_esdt_payment(), + gas_limit, + &fc.function_name, + &fc.arg_buffer, + ) + } + + fn perform_transfer_execute_legacy( + self, + _env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) { + let pv = self.0.as_ref(); + SendRawWrapper::::new().multi_egld_or_esdt_transfer_execute( + to, + pv.as_multi_egld_or_esdt_payment(), + gas_limit, + &fc.function_name, + &fc.arg_buffer, + ); + } + + fn with_normalized( + self, + env: &Env, + from: &From, + to: To, + fc: FunctionCall, + f: F, + ) -> R + where + From: TxFrom, + To: TxToSpecified, + F: FnOnce(&ManagedAddress, &BigUint, FunctionCall) -> R, + { + let pv = self.0.as_ref(); + to.with_address_ref(env, |to_addr| { + let fc_conv = + fc.convert_to_multi_transfer_esdt_call(to_addr, pv.as_multi_egld_or_esdt_payment()); + f(&from.resolve_address(env), &*BigUint::zero_ref(), fc_conv) + }) + } + + fn into_full_payment_data(self, _env: &Env) -> FullPaymentData { + let pv = self.0.as_ref(); + FullPaymentData { + egld: None, + multi_esdt: pv.as_multi_egld_or_esdt_payment().clone(), + } + } +} diff --git a/framework/base/src/types/interaction/tx_payment/tx_payment_payment.rs b/framework/base/src/types/interaction/tx_payment/tx_payment_payment.rs new file mode 100644 index 0000000000..2d3b3dcfd8 --- /dev/null +++ b/framework/base/src/types/interaction/tx_payment/tx_payment_payment.rs @@ -0,0 +1,68 @@ +use crate::{ + contract_base::TransferExecuteFailed, + types::{BigUint, ManagedAddress, Payment, TxFrom, TxToSpecified}, +}; + +use super::{FullPaymentData, FunctionCall, TxEnv, TxPayment}; + +impl TxPayment for Payment +where + Env: TxEnv, +{ + #[inline] + fn is_no_payment(&self, env: &Env) -> bool { + (&self).is_no_payment(env) + } + + #[inline] + fn perform_transfer_execute_fallible( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) -> Result<(), TransferExecuteFailed> { + self.as_refs() + .perform_transfer_execute_fallible(env, to, gas_limit, fc) + } + + #[inline] + fn perform_transfer_execute_legacy( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) { + self.as_refs() + .perform_transfer_execute_legacy(env, to, gas_limit, fc) + } + + fn with_normalized( + self, + env: &Env, + from: &From, + to: To, + fc: FunctionCall, + f: F, + ) -> R + where + From: TxFrom, + To: TxToSpecified, + F: FnOnce(&ManagedAddress, &BigUint, FunctionCall) -> R, + { + self.map_egld_or_esdt( + (to, fc, f), + |(to, fc, f), egld_payment| egld_payment.with_normalized(env, from, to, fc, f), + |(to, fc, f), esdt_payment| esdt_payment.with_normalized(env, from, to, fc, f), + ) + } + + fn into_full_payment_data(self, env: &Env) -> FullPaymentData { + self.map_egld_or_esdt( + (), + |(), egld_payment| TxPayment::::into_full_payment_data(egld_payment, env), + |(), esdt_payment| TxPayment::::into_full_payment_data(esdt_payment, env), + ) + } +} diff --git a/framework/base/src/types/interaction/tx_payment/tx_payment_payment_option.rs b/framework/base/src/types/interaction/tx_payment/tx_payment_payment_option.rs new file mode 100644 index 0000000000..8226bed536 --- /dev/null +++ b/framework/base/src/types/interaction/tx_payment/tx_payment_payment_option.rs @@ -0,0 +1,76 @@ +use crate::{ + contract_base::TransferExecuteFailed, + types::{BigUint, ManagedAddress, TxFrom, TxToSpecified}, +}; + +use super::{FullPaymentData, FunctionCall, TxEnv, TxPayment}; + +/// TxPayment should work for any Option, +/// where for Some(payment) it behaves like payment, +/// and for None it behaves like no payment. +impl TxPayment for Option

+where + Env: TxEnv, + P: TxPayment, +{ + #[inline] + fn is_no_payment(&self, _env: &Env) -> bool { + self.is_none() + } + + fn perform_transfer_execute_fallible( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) -> Result<(), TransferExecuteFailed> { + if let Some(payment) = self { + payment.perform_transfer_execute_fallible(env, to, gas_limit, fc) + } else { + ().perform_transfer_execute_fallible(env, to, gas_limit, fc) + } + } + + fn perform_transfer_execute_legacy( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) { + if let Some(payment) = self { + payment.perform_transfer_execute_legacy(env, to, gas_limit, fc) + } else { + ().perform_transfer_execute_legacy(env, to, gas_limit, fc) + } + } + + fn with_normalized( + self, + env: &Env, + from: &From, + to: To, + fc: FunctionCall, + f: F, + ) -> R + where + From: TxFrom, + To: TxToSpecified, + F: FnOnce(&ManagedAddress, &BigUint, FunctionCall) -> R, + { + if let Some(payment) = self { + payment.with_normalized(env, from, to, fc, f) + } else { + ().with_normalized(env, from, to, fc, f) + } + } + + fn into_full_payment_data(self, env: &Env) -> FullPaymentData { + if let Some(payment) = self { + payment.into_full_payment_data(env) + } else { + ().into_full_payment_data(env) + } + } +} diff --git a/framework/base/src/types/interaction/tx_payment/tx_payment_payment_ref.rs b/framework/base/src/types/interaction/tx_payment/tx_payment_payment_ref.rs new file mode 100644 index 0000000000..19e52e53d0 --- /dev/null +++ b/framework/base/src/types/interaction/tx_payment/tx_payment_payment_ref.rs @@ -0,0 +1,70 @@ +use crate::{ + contract_base::TransferExecuteFailed, + types::{BigUint, ManagedAddress, Payment, Ref, TxFrom, TxToSpecified}, +}; + +use super::{FullPaymentData, FunctionCall, TxEnv, TxPayment}; + +macro_rules! impl_txpayment_for_payment_ref { + ($ty:ty) => { + impl TxPayment for $ty + where + Env: TxEnv, + { + #[inline] + fn is_no_payment(&self, _env: &Env) -> bool { + // amount is NonZeroBigUint + false + } + + fn perform_transfer_execute_fallible( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) -> Result<(), TransferExecuteFailed> { + self.as_refs() + .perform_transfer_execute_fallible(env, to, gas_limit, fc) + } + + fn perform_transfer_execute_legacy( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) { + self.as_refs() + .perform_transfer_execute_legacy(env, to, gas_limit, fc) + } + + fn with_normalized( + self, + env: &Env, + from: &From, + to: To, + fc: FunctionCall, + f: F, + ) -> R + where + From: TxFrom, + To: TxToSpecified, + F: FnOnce( + &ManagedAddress, + &BigUint, + FunctionCall, + ) -> R, + { + self.as_refs().with_normalized(env, from, to, fc, f) + } + + fn into_full_payment_data(self, env: &Env) -> FullPaymentData { + self.as_refs().into_full_payment_data(env) + } + } + }; +} + +impl_txpayment_for_payment_ref!(&Payment); +impl_txpayment_for_payment_ref!(Ref<'_, Payment>); diff --git a/framework/base/src/types/interaction/tx_payment/tx_payment_payment_refs.rs b/framework/base/src/types/interaction/tx_payment/tx_payment_payment_refs.rs new file mode 100644 index 0000000000..2475e7026f --- /dev/null +++ b/framework/base/src/types/interaction/tx_payment/tx_payment_payment_refs.rs @@ -0,0 +1,77 @@ +use crate::{ + contract_base::TransferExecuteFailed, + types::{BigUint, ManagedAddress, PaymentRefs, TxFrom, TxToSpecified}, +}; + +use super::{FullPaymentData, FunctionCall, TxEnv, TxPayment}; + +impl TxPayment for PaymentRefs<'_, Env::Api> +where + Env: TxEnv, +{ + #[inline] + fn is_no_payment(&self, _env: &Env) -> bool { + // amount is NonZeroBigUint + false + } + + fn perform_transfer_execute_fallible( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) -> Result<(), TransferExecuteFailed> { + self.map_egld_or_esdt( + fc, + |fc, egld_payment| { + egld_payment.perform_transfer_execute_fallible(env, to, gas_limit, fc) + }, + |fc, esdt_payment| { + esdt_payment.perform_transfer_execute_fallible(env, to, gas_limit, fc) + }, + ) + } + + fn perform_transfer_execute_legacy( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) { + self.map_egld_or_esdt( + fc, + |fc, egld_payment| egld_payment.perform_transfer_execute_legacy(env, to, gas_limit, fc), + |fc, esdt_payment| esdt_payment.perform_transfer_execute_legacy(env, to, gas_limit, fc), + ) + } + + fn with_normalized( + self, + env: &Env, + from: &From, + to: To, + fc: FunctionCall, + f: F, + ) -> R + where + From: TxFrom, + To: TxToSpecified, + F: FnOnce(&ManagedAddress, &BigUint, FunctionCall) -> R, + { + self.map_egld_or_esdt( + (to, fc, f), + |(to, fc, f), egld_payment| egld_payment.with_normalized(env, from, to, fc, f), + |(to, fc, f), esdt_payment| esdt_payment.with_normalized(env, from, to, fc, f), + ) + } + + fn into_full_payment_data(self, env: &Env) -> FullPaymentData { + self.map_egld_or_esdt( + (), + |(), egld_payment| TxPayment::::into_full_payment_data(egld_payment, env), + |(), esdt_payment| TxPayment::::into_full_payment_data(esdt_payment, env), + ) + } +} diff --git a/framework/base/src/types/interaction/tx_payment/tx_payment_vec_ref.rs b/framework/base/src/types/interaction/tx_payment/tx_payment_vec_ref.rs new file mode 100644 index 0000000000..71e059c235 --- /dev/null +++ b/framework/base/src/types/interaction/tx_payment/tx_payment_vec_ref.rs @@ -0,0 +1,81 @@ +use crate::{ + contract_base::TransferExecuteFailed, + types::{BigUint, ManagedAddress, MultiTransfer, PaymentVec, TxFrom, TxToSpecified}, +}; + +use super::{FullPaymentData, FunctionCall, TxEnv, TxPayment}; + +impl TxPayment for P +where + Env: TxEnv, + P: AsRef>, +{ + fn is_no_payment(&self, _env: &Env) -> bool { + let pv = self.as_ref(); + pv.is_empty() + } + + fn perform_transfer_execute_fallible( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) -> Result<(), TransferExecuteFailed> { + let pv = self.as_ref(); + match pv.len() { + 0 => ().perform_transfer_execute_fallible(env, to, gas_limit, fc), + 1 => pv + .get(0) + .perform_transfer_execute_fallible(env, to, gas_limit, fc), + _ => MultiTransfer(pv).perform_transfer_execute_fallible(env, to, gas_limit, fc), + } + } + + fn perform_transfer_execute_legacy( + self, + env: &Env, + to: &ManagedAddress, + gas_limit: u64, + fc: FunctionCall, + ) { + let pv = self.as_ref(); + match pv.len() { + 0 => ().perform_transfer_execute_legacy(env, to, gas_limit, fc), + 1 => pv + .get(0) + .perform_transfer_execute_legacy(env, to, gas_limit, fc), + _ => MultiTransfer(pv).perform_transfer_execute_legacy(env, to, gas_limit, fc), + } + } + + fn with_normalized( + self, + env: &Env, + from: &From, + to: To, + fc: FunctionCall, + f: F, + ) -> R + where + From: TxFrom, + To: TxToSpecified, + F: FnOnce(&ManagedAddress, &BigUint, FunctionCall) -> R, + { + let pv = self.as_ref(); + match pv.len() { + 0 => ().with_normalized(env, from, to, fc, f), + 1 => pv.get(0).with_normalized(env, from, to, fc, f), + _ => MultiTransfer(pv).with_normalized(env, from, to, fc, f), + } + } + + fn into_full_payment_data(self, env: &Env) -> FullPaymentData { + let pv = self.as_ref(); + match pv.len() { + 0 => ().into_full_payment_data(env), + 1 => pv.get(0).into_full_payment_data(env), + _ => MultiTransfer(pv).into_full_payment_data(env), + } + } +} diff --git a/framework/base/src/types/managed/basic/big_int_operators.rs b/framework/base/src/types/managed/basic/big_int_operators.rs index 3a510e856f..4f9518f976 100644 --- a/framework/base/src/types/managed/basic/big_int_operators.rs +++ b/framework/base/src/types/managed/basic/big_int_operators.rs @@ -4,17 +4,17 @@ use core::ops::{ use crate::{ api::{BigIntApiImpl, ManagedTypeApi}, - types::{BigInt, BigUint, ManagedType}, + types::{BigInt, ManagedType}, }; macro_rules! binary_operator { ($trait:ident, $method:ident, $api_func:ident) => { - impl $trait for BigInt { + impl $trait<&BigInt> for BigInt { type Output = BigInt; - fn $method(self, other: BigInt) -> BigInt { - let api = M::managed_type_impl(); - api.$api_func( + fn $method(self, other: &BigInt) -> BigInt { + // self gets destroyed, so reusing it for the result + M::managed_type_impl().$api_func( self.handle.clone(), self.handle.clone(), other.handle.clone(), @@ -23,14 +23,36 @@ macro_rules! binary_operator { } } + impl $trait> for BigInt { + type Output = BigInt; + + fn $method(self, other: BigInt) -> BigInt { + self.$method(&other) + } + } + + impl<'a, 'b, M: ManagedTypeApi> $trait> for &'a BigInt { + type Output = BigInt; + + fn $method(self, other: BigInt) -> BigInt { + // other gets destroyed, so reusing it for the result + M::managed_type_impl().$api_func( + other.handle.clone(), + self.handle.clone(), + other.handle.clone(), + ); + other + } + } + impl<'a, 'b, M: ManagedTypeApi> $trait<&'b BigInt> for &'a BigInt { type Output = BigInt; fn $method(self, other: &BigInt) -> BigInt { - let api = M::managed_type_impl(); + // both arguments are references, so a new BigInt needs to be created unsafe { let result = BigInt::new_uninit(); - api.$api_func( + M::managed_type_impl().$api_func( result.get_handle(), self.handle.clone(), other.handle.clone(), @@ -39,14 +61,6 @@ macro_rules! binary_operator { } } } - - impl<'a, 'b, M: ManagedTypeApi> $trait<&'b BigUint> for &'a BigInt { - type Output = BigInt; - - fn $method(self, other: &BigUint) -> BigInt { - self.$method(other.as_big_int()) - } - } }; } diff --git a/framework/base/src/types/managed/multi_value.rs b/framework/base/src/types/managed/multi_value.rs index 29920ed566..142cf078a8 100644 --- a/framework/base/src/types/managed/multi_value.rs +++ b/framework/base/src/types/managed/multi_value.rs @@ -6,6 +6,7 @@ mod multi_value_encoded_counted; mod multi_value_encoded_iter; mod multi_value_managed_vec; mod multi_value_managed_vec_counted; +mod payment_multi_value; pub use async_call_result_managed::{ManagedAsyncCallError, ManagedAsyncCallResult}; pub use egld_or_esdt_token_payment_multi_value::EgldOrEsdtTokenPaymentMultiValue; @@ -19,3 +20,4 @@ pub use multi_value_managed_vec::{ pub use multi_value_managed_vec_counted::{ ManagedCountedMultiResultVec, ManagedCountedVarArgs, MultiValueManagedVecCounted, }; +pub use payment_multi_value::PaymentMultiValue; diff --git a/framework/base/src/types/managed/multi_value/egld_or_esdt_token_payment_multi_value.rs b/framework/base/src/types/managed/multi_value/egld_or_esdt_token_payment_multi_value.rs index c302b4aba2..83f42f4132 100644 --- a/framework/base/src/types/managed/multi_value/egld_or_esdt_token_payment_multi_value.rs +++ b/framework/base/src/types/managed/multi_value/egld_or_esdt_token_payment_multi_value.rs @@ -4,7 +4,7 @@ use crate::{ multi_types::MultiValue3, DecodeErrorHandler, EncodeErrorHandler, MultiValueConstLength, TopDecodeMulti, TopDecodeMultiInput, TopEncodeMulti, TopEncodeMultiOutput, }, - types::{EgldOrEsdtTokenIdentifier, ManagedVecRef}, + types::{EgldOrEsdtTokenIdentifier, Ref}, }; use crate::{ @@ -37,14 +37,14 @@ impl EgldOrEsdtTokenPaymentMultiValue { impl ManagedVecItem for EgldOrEsdtTokenPaymentMultiValue { type PAYLOAD = as ManagedVecItem>::PAYLOAD; const SKIPS_RESERIALIZATION: bool = EgldOrEsdtTokenPayment::::SKIPS_RESERIALIZATION; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { EgldOrEsdtTokenPayment::read_from_payload(payload).into() } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { diff --git a/framework/base/src/types/managed/multi_value/esdt_token_payment_multi_value.rs b/framework/base/src/types/managed/multi_value/esdt_token_payment_multi_value.rs index dd6ed20b69..08bd95a97e 100644 --- a/framework/base/src/types/managed/multi_value/esdt_token_payment_multi_value.rs +++ b/framework/base/src/types/managed/multi_value/esdt_token_payment_multi_value.rs @@ -4,7 +4,7 @@ use crate::{ multi_types::MultiValue3, DecodeErrorHandler, EncodeErrorHandler, MultiValueConstLength, TopDecodeMulti, TopDecodeMultiInput, TopEncodeMulti, TopEncodeMultiOutput, }, - types::ManagedVecRef, + types::Ref, }; use crate::{ @@ -43,14 +43,14 @@ impl EsdtTokenPaymentMultiValue { impl ManagedVecItem for EsdtTokenPaymentMultiValue { type PAYLOAD = as ManagedVecItem>::PAYLOAD; const SKIPS_RESERIALIZATION: bool = EsdtTokenPayment::::SKIPS_RESERIALIZATION; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { EsdtTokenPayment::read_from_payload(payload).into() } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { diff --git a/framework/base/src/types/managed/multi_value/multi_value_encoded.rs b/framework/base/src/types/managed/multi_value/multi_value_encoded.rs index 9d0f71d081..3481559ed6 100644 --- a/framework/base/src/types/managed/multi_value/multi_value_encoded.rs +++ b/framework/base/src/types/managed/multi_value/multi_value_encoded.rs @@ -5,7 +5,7 @@ use unwrap_infallible::UnwrapInfallible; use crate::codec::multi_types::MultiValueVec; use crate::types::{ BigUint, EgldOrEsdtTokenIdentifier, EgldOrEsdtTokenPayment, EgldOrEsdtTokenPaymentMultiValue, - EsdtTokenIdentifier, EsdtTokenPayment, + EsdtTokenIdentifier, EsdtTokenPayment, NonZeroBigUint, Payment, PaymentMultiValue, TokenId, }; use crate::{ abi::{TypeAbi, TypeAbiFrom, TypeDescriptionContainer, TypeName}, @@ -227,6 +227,25 @@ where } } +impl MultiValueEncoded, u64, NonZeroBigUint>> +where + M: ManagedTypeApi + ErrorApi, +{ + /// Convenience function to convert a payment multi-argument into a usable structure. + pub fn convert_payment_multi_triples(self) -> ManagedVec> { + let mut payments_vec = ManagedVec::new(); + + for multi_arg in self.into_iter() { + let (token_identifier, token_nonce, amount) = multi_arg.into_tuple(); + let payment = Payment::new(token_identifier, token_nonce, amount); + + payments_vec.push(payment); + } + + payments_vec + } +} + impl MultiValueEncoded> where M: ManagedTypeApi + ErrorApi, @@ -242,7 +261,7 @@ where payments_vec } - /// Contrsucts a multi-value from a list of payments. + /// Constructs a multi-value from a list of payments. pub fn from_vec(v: ManagedVec>) -> Self { let mut encoded = MultiValueEncoded::new(); @@ -254,6 +273,22 @@ where } } +impl MultiValueEncoded> +where + M: ManagedTypeApi + ErrorApi, +{ + /// Convenience function to convert a payment multi-argument into a usable structure. + pub fn convert_payment(self) -> ManagedVec> { + let mut payments_vec = ManagedVec::new(); + + for multi_arg in self.into_iter() { + payments_vec.push(multi_arg.into_inner()); + } + + payments_vec + } +} + impl TopEncodeMulti for &MultiValueEncoded where M: ManagedTypeApi + ErrorApi, diff --git a/framework/base/src/types/managed/multi_value/payment_multi_value.rs b/framework/base/src/types/managed/multi_value/payment_multi_value.rs new file mode 100644 index 0000000000..8f45d3dddb --- /dev/null +++ b/framework/base/src/types/managed/multi_value/payment_multi_value.rs @@ -0,0 +1,113 @@ +use crate::{ + abi::TypeAbiFrom, + codec::{ + multi_types::MultiValue3, DecodeErrorHandler, EncodeErrorHandler, MultiValueConstLength, + TopDecodeMulti, TopDecodeMultiInput, TopEncodeMulti, TopEncodeMultiOutput, + }, + types::{NonZeroBigUint, Ref, TokenId}, +}; + +use crate::{ + abi::{TypeAbi, TypeName}, + api::ManagedTypeApi, + types::{BigUint, EsdtTokenIdentifier, ManagedVecItem, Payment}, +}; + +/// Thin wrapper around Payment, which has different I/O behaviour: +/// - as input, is built from 3 arguments instead of 1: token identifier, nonce, value +/// - as output, it becomes 3 results instead of 1: token identifier, nonce, value +#[derive(Clone, PartialEq, Eq, Debug)] +pub struct PaymentMultiValue { + obj: Payment, +} + +impl From> for PaymentMultiValue { + #[inline] + fn from(obj: Payment) -> Self { + PaymentMultiValue { obj } + } +} + +impl PaymentMultiValue { + pub fn into_inner(self) -> Payment { + self.obj + } +} + +impl ManagedVecItem for PaymentMultiValue { + type PAYLOAD = as ManagedVecItem>::PAYLOAD; + const SKIPS_RESERIALIZATION: bool = Payment::::SKIPS_RESERIALIZATION; + type Ref<'a> = Ref<'a, Self>; + + fn read_from_payload(payload: &Self::PAYLOAD) -> Self { + Payment::read_from_payload(payload).into() + } + + unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { + Ref::new(Self::read_from_payload(payload)) + } + + fn save_to_payload(self, payload: &mut Self::PAYLOAD) { + self.obj.save_to_payload(payload); + } +} + +impl TopEncodeMulti for PaymentMultiValue +where + M: ManagedTypeApi, +{ + fn multi_encode_or_handle_err(&self, output: &mut O, h: H) -> Result<(), H::HandledErr> + where + O: TopEncodeMultiOutput, + H: EncodeErrorHandler, + { + output.push_single_value(&self.obj.token_identifier, h)?; + output.push_single_value(&self.obj.token_nonce, h)?; + output.push_single_value(&self.obj.amount, h)?; + Ok(()) + } +} + +impl TopDecodeMulti for PaymentMultiValue +where + M: ManagedTypeApi, +{ + fn multi_decode_or_handle_err(input: &mut I, h: H) -> Result + where + I: TopDecodeMultiInput, + H: DecodeErrorHandler, + { + let token_identifier = TokenId::multi_decode_or_handle_err(input, h)?; + let token_nonce = u64::multi_decode_or_handle_err(input, h)?; + let amount = NonZeroBigUint::multi_decode_or_handle_err(input, h)?; + Ok(Payment::new(token_identifier, token_nonce, amount).into()) + } +} + +impl MultiValueConstLength for PaymentMultiValue +where + M: ManagedTypeApi, +{ + const MULTI_VALUE_CONST_LEN: usize = 3; +} + +impl TypeAbiFrom for PaymentMultiValue where M: ManagedTypeApi {} + +impl TypeAbi for PaymentMultiValue +where + M: ManagedTypeApi, +{ + type Unmanaged = Self; + + fn type_name() -> TypeName { + MultiValue3::, u64, BigUint>::type_name() + } + + fn type_name_rust() -> TypeName { + "PaymentMultiValue<$API>".into() + } + + fn is_variadic() -> bool { + true + } +} diff --git a/framework/base/src/types/managed/wrapped.rs b/framework/base/src/types/managed/wrapped.rs index 3014c81480..ecb08ddf2d 100644 --- a/framework/base/src/types/managed/wrapped.rs +++ b/framework/base/src/types/managed/wrapped.rs @@ -1,6 +1,3 @@ -mod big_uint; -mod big_uint_cmp; -mod big_uint_operators; mod builder; mod encoded_managed_vec_item; mod managed_address; @@ -20,12 +17,12 @@ mod managed_vec_iter_payload; mod managed_vec_iter_ref; mod managed_vec_ref; mod managed_vec_ref_mut; +mod num; pub(crate) mod preloaded_managed_buffer; mod randomness_source; mod token; mod traits; -pub use big_uint::BigUint; pub use builder::*; pub(crate) use encoded_managed_vec_item::EncodedManagedVecItem; pub use managed_address::ManagedAddress; @@ -52,8 +49,9 @@ pub use managed_vec_item_payload::*; pub use managed_vec_iter_owned::ManagedVecOwnedIterator; pub use managed_vec_iter_payload::ManagedVecPayloadIterator; pub use managed_vec_iter_ref::ManagedVecRefIterator; -pub use managed_vec_ref::ManagedVecRef; +pub use managed_vec_ref::{ManagedVecRef, Ref}; pub use managed_vec_ref_mut::ManagedVecRefMut; +pub use num::*; pub use randomness_source::RandomnessSource; pub use token::*; diff --git a/framework/base/src/types/managed/wrapped/managed_decimal.rs b/framework/base/src/types/managed/wrapped/managed_decimal.rs index e3aefd2b12..f5b9047220 100644 --- a/framework/base/src/types/managed/wrapped/managed_decimal.rs +++ b/framework/base/src/types/managed/wrapped/managed_decimal.rs @@ -33,8 +33,7 @@ use core::{cmp::Ordering, ops::Deref}; use super::{ managed_vec_item_read_from_payload_index, managed_vec_item_save_to_payload_index, - ManagedBufferCachedBuilder, ManagedRef, ManagedVecItem, ManagedVecItemPayloadBuffer, - ManagedVecRef, + ManagedBufferCachedBuilder, ManagedRef, ManagedVecItem, ManagedVecItemPayloadBuffer, Ref, }; /// Fixed-point decimal numbers that accept either a constant or variable number of decimals. @@ -145,7 +144,7 @@ impl ManagedVecItem for ManagedDecimal { const SKIPS_RESERIALIZATION: bool = false; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let mut index = 0; @@ -158,7 +157,7 @@ impl ManagedVecItem for ManagedDecimal { } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { @@ -177,14 +176,14 @@ impl ManagedVecItem const SKIPS_RESERIALIZATION: bool = false; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { Self::const_decimals_from_raw(BigUint::read_from_payload(payload)) } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { diff --git a/framework/base/src/types/managed/wrapped/managed_decimal/managed_decimal_cmp_signed.rs b/framework/base/src/types/managed/wrapped/managed_decimal/managed_decimal_cmp_signed.rs index 98090d678d..8e94dd9eb8 100644 --- a/framework/base/src/types/managed/wrapped/managed_decimal/managed_decimal_cmp_signed.rs +++ b/framework/base/src/types/managed/wrapped/managed_decimal/managed_decimal_cmp_signed.rs @@ -17,13 +17,13 @@ impl PartialEq { let diff_decimals = other.decimals.num_decimals() - self.decimals.num_decimals(); let scaling_factor: &BigUint = &diff_decimals.scaling_factor(); - &self.data * scaling_factor == other.data + &self.data * scaling_factor.as_big_int() == other.data } Ordering::Equal => self.data == other.data, Ordering::Greater => { let diff_decimals = self.decimals.num_decimals() - other.decimals.num_decimals(); let scaling_factor: &BigUint = &diff_decimals.scaling_factor(); - &other.data * scaling_factor == self.data + &other.data * scaling_factor.as_big_int() == self.data } } } @@ -42,13 +42,13 @@ impl PartialOrd = &diff_decimals.scaling_factor(); - Some((&self.data * scaling_factor).cmp(&other.data)) + Some((&self.data * scaling_factor.as_big_int()).cmp(&other.data)) } Ordering::Equal => Some((self.data).cmp(&other.data)), Ordering::Greater => { let diff_decimals = self.decimals.num_decimals() - other.decimals.num_decimals(); let scaling_factor: &BigUint = &diff_decimals.scaling_factor(); - Some((&other.data * scaling_factor).cmp(&self.data)) + Some((&other.data * scaling_factor.as_big_int()).cmp(&self.data)) } } } diff --git a/framework/base/src/types/managed/wrapped/managed_decimal/managed_decimal_signed.rs b/framework/base/src/types/managed/wrapped/managed_decimal/managed_decimal_signed.rs index 91cea04d32..8d21d149cc 100644 --- a/framework/base/src/types/managed/wrapped/managed_decimal/managed_decimal_signed.rs +++ b/framework/base/src/types/managed/wrapped/managed_decimal/managed_decimal_signed.rs @@ -9,7 +9,7 @@ use crate::{ typenum::{Unsigned, U4, U8}, types::{ managed_vec_item_read_from_payload_index, managed_vec_item_save_to_payload_index, BigFloat, - BigInt, BigUint, ManagedVecItem, ManagedVecItemPayloadBuffer, ManagedVecRef, Sign, + BigInt, BigUint, ManagedVecItem, ManagedVecItemPayloadBuffer, Ref, Sign, }, }; @@ -19,7 +19,7 @@ use multiversx_sc_codec::{ NestedEncode, NestedEncodeOutput, TopDecode, TopDecodeInput, TopEncode, TopEncodeOutput, }; -use core::{cmp::Ordering, ops::Deref}; +use core::cmp::Ordering; use super::{ decimals::{ConstDecimals, Decimals, NumDecimals}, @@ -38,7 +38,7 @@ pub struct ManagedDecimalSigned { impl ManagedDecimalSigned { pub fn trunc(&self) -> BigInt { - &self.data / self.decimals.scaling_factor().deref() + &self.data / self.decimals.scaling_factor().as_big_int() } pub fn into_raw_units(&self) -> &BigInt { @@ -194,7 +194,7 @@ impl ManagedVecItem for ManagedDecimalSigned const SKIPS_RESERIALIZATION: bool = false; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let mut index = 0; @@ -207,7 +207,7 @@ impl ManagedVecItem for ManagedDecimalSigned } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { @@ -226,14 +226,14 @@ impl ManagedVecItem const SKIPS_RESERIALIZATION: bool = false; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { Self::const_decimals_from_raw(BigInt::read_from_payload(payload)) } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { diff --git a/framework/base/src/types/managed/wrapped/managed_ref.rs b/framework/base/src/types/managed/wrapped/managed_ref.rs index bd737f358e..2039e971e1 100644 --- a/framework/base/src/types/managed/wrapped/managed_ref.rs +++ b/framework/base/src/types/managed/wrapped/managed_ref.rs @@ -99,6 +99,16 @@ where } } +impl AsRef for ManagedRef<'_, M, T> +where + M: ManagedTypeApi, + T: ManagedType, +{ + fn as_ref(&self) -> &T { + self.deref() + } +} + impl<'a, M, T> From<&'a T> for ManagedRef<'a, M, T> where M: ManagedTypeApi, diff --git a/framework/base/src/types/managed/wrapped/managed_vec.rs b/framework/base/src/types/managed/wrapped/managed_vec.rs index 4112b391d2..30a0daf093 100644 --- a/framework/base/src/types/managed/wrapped/managed_vec.rs +++ b/framework/base/src/types/managed/wrapped/managed_vec.rs @@ -14,12 +14,8 @@ use crate::{ }; use alloc::{format, vec::Vec}; use core::{ - borrow::Borrow, - cmp::Ordering, - fmt::Debug, - iter::FromIterator, - marker::PhantomData, - mem::{transmute_copy, ManuallyDrop, MaybeUninit}, + borrow::Borrow, cmp::Ordering, fmt::Debug, iter::FromIterator, marker::PhantomData, + mem::MaybeUninit, }; pub(crate) const INDEX_OUT_OF_RANGE_MSG: &[u8] = b"ManagedVec index out of range"; @@ -129,6 +125,17 @@ where } } +impl AsRef> for ManagedVec +where + M: ManagedTypeApi, + T: ManagedVecItem, +{ + #[inline] + fn as_ref(&self) -> &ManagedVec { + self + } +} + impl ManagedVec where M: ManagedTypeApi, @@ -184,8 +191,7 @@ where return None; } - let mut result_uninit = - unsafe { MaybeUninit::<[MaybeUninit>; N]>::uninit().assume_init() }; + let mut result_uninit: [MaybeUninit>; N] = [const { MaybeUninit::uninit() }; N]; for (index, value) in self.iter().enumerate() { // length already checked @@ -194,7 +200,8 @@ where } } - let result = unsafe { transmute_copy(&ManuallyDrop::new(result_uninit)) }; + // TODO: replace with MaybeUninit::array_assume_init when it gets stabilized + let result = unsafe { core::mem::transmute_copy(&result_uninit) }; Some(result) } diff --git a/framework/base/src/types/managed/wrapped/managed_vec_item.rs b/framework/base/src/types/managed/wrapped/managed_vec_item.rs index a5d6c08053..0891bc4bb7 100644 --- a/framework/base/src/types/managed/wrapped/managed_vec_item.rs +++ b/framework/base/src/types/managed/wrapped/managed_vec_item.rs @@ -11,13 +11,13 @@ use crate::{ api::{use_raw_handle, HandleConstraints, ManagedTypeApi}, types::{ BigInt, BigUint, EllipticCurve, EsdtTokenIdentifier, ManagedAddress, ManagedBuffer, - ManagedByteArray, ManagedRef, ManagedType, ManagedVec, + ManagedByteArray, ManagedRef, ManagedType, ManagedVec, NonZeroBigUint, TokenId, }, }; use super::{ EgldOrEsdtTokenIdentifier, ManagedVecItemPayload, ManagedVecItemPayloadAdd, - ManagedVecItemPayloadBuffer, ManagedVecItemStructPayloadTuple, ManagedVecRef, + ManagedVecItemPayloadBuffer, ManagedVecItemStructPayloadTuple, Ref, }; /// Types that implement this trait can be items inside a `ManagedVec`. @@ -173,7 +173,7 @@ where type PAYLOAD = as ManagedVecItemPayloadAdd>::Output; const SKIPS_RESERIALIZATION: bool = false; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let (p1, p2) = as ManagedVecItemPayloadAdd< @@ -189,7 +189,7 @@ where } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { @@ -230,12 +230,14 @@ macro_rules! impl_managed_type { } impl_managed_type! {ManagedBuffer} -impl_managed_type! {BigUint} impl_managed_type! {BigInt} +impl_managed_type! {BigUint} +impl_managed_type! {NonZeroBigUint} impl_managed_type! {EllipticCurve} impl_managed_type! {ManagedAddress} impl_managed_type! {EsdtTokenIdentifier} impl_managed_type! {EgldOrEsdtTokenIdentifier} +impl_managed_type! {TokenId} impl ManagedVecItem for ManagedByteArray where @@ -330,7 +332,7 @@ where { type PAYLOAD = <(T1, (T2, ())) as ManagedVecItemStructPayloadTuple>::StructPayload; const SKIPS_RESERIALIZATION: bool = T1::SKIPS_RESERIALIZATION && T2::SKIPS_RESERIALIZATION; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let mut index = 0; @@ -344,7 +346,7 @@ where } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { @@ -367,7 +369,7 @@ where { type PAYLOAD = <(T1, (T2, (T3, ()))) as ManagedVecItemStructPayloadTuple>::StructPayload; const SKIPS_RESERIALIZATION: bool = T1::SKIPS_RESERIALIZATION && T2::SKIPS_RESERIALIZATION; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let mut index = 0; @@ -382,7 +384,7 @@ where } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { diff --git a/framework/base/src/types/managed/wrapped/managed_vec_ref.rs b/framework/base/src/types/managed/wrapped/managed_vec_ref.rs index a10c5c234b..76ff779be6 100644 --- a/framework/base/src/types/managed/wrapped/managed_vec_ref.rs +++ b/framework/base/src/types/managed/wrapped/managed_vec_ref.rs @@ -1,7 +1,12 @@ use crate::types::ManagedVecItem; use core::{borrow::Borrow, fmt::Debug, marker::PhantomData, mem::ManuallyDrop, ops::Deref}; -pub struct ManagedVecRef<'a, T> +/// A reference to a type that implements ManagedVecItem. +/// +/// Primarily used for preventing any mutability. +/// +/// The names Ref and ManagedVecRef are interchangeable. +pub struct Ref<'a, T> where T: ManagedVecItem, { @@ -9,7 +14,10 @@ where item: ManuallyDrop, } -impl ManagedVecRef<'_, T> +/// The names ManagedVecRef and Ref are interchangeable. +pub type ManagedVecRef<'a, T> = Ref<'a, T>; + +impl Ref<'_, T> where T: ManagedVecItem, { @@ -19,14 +27,14 @@ where /// /// The ManagedVecRef object might not drop its content, effectively leading to a leak. pub unsafe fn new(item: T) -> Self { - ManagedVecRef { + Ref { _phantom: PhantomData, item: ManuallyDrop::new(item), } } } -impl Drop for ManagedVecRef<'_, T> +impl Drop for Ref<'_, T> where T: ManagedVecItem, { @@ -38,7 +46,7 @@ where } } -impl Deref for ManagedVecRef<'_, T> +impl Deref for Ref<'_, T> where T: ManagedVecItem, { @@ -49,7 +57,7 @@ where } } -impl Borrow for ManagedVecRef<'_, T> +impl Borrow for Ref<'_, T> where T: ManagedVecItem, { @@ -58,7 +66,16 @@ where } } -impl Debug for ManagedVecRef<'_, T> +impl AsRef for Ref<'_, T> +where + T: ManagedVecItem, +{ + fn as_ref(&self) -> &T { + self.deref() + } +} + +impl Debug for Ref<'_, T> where T: ManagedVecItem + Debug, { @@ -67,12 +84,12 @@ where } } -impl PartialEq> for ManagedVecRef<'_, T1> +impl PartialEq> for Ref<'_, T1> where T1: ManagedVecItem + PartialEq, T2: ManagedVecItem, { - fn eq(&self, other: &ManagedVecRef<'_, T2>) -> bool { + fn eq(&self, other: &Ref<'_, T2>) -> bool { self.deref().eq(other.deref()) } } diff --git a/framework/base/src/types/managed/wrapped/num.rs b/framework/base/src/types/managed/wrapped/num.rs new file mode 100644 index 0000000000..36a82480a9 --- /dev/null +++ b/framework/base/src/types/managed/wrapped/num.rs @@ -0,0 +1,13 @@ +mod big_uint; +mod big_uint_cmp; +mod big_uint_operators; +mod non_zero_big_uint; +mod non_zero_big_uint_cmp; +mod non_zero_big_uint_operators; + +pub use big_uint::BigUint; +pub use non_zero_big_uint::NonZeroBigUint; + +/// Error returned when attempting to convert zero to a non-zero number type. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub struct NonZeroError; diff --git a/framework/base/src/types/managed/wrapped/big_uint.rs b/framework/base/src/types/managed/wrapped/num/big_uint.rs similarity index 97% rename from framework/base/src/types/managed/wrapped/big_uint.rs rename to framework/base/src/types/managed/wrapped/num/big_uint.rs index 8d77819ad9..5315e439f5 100644 --- a/framework/base/src/types/managed/wrapped/big_uint.rs +++ b/framework/base/src/types/managed/wrapped/num/big_uint.rs @@ -14,10 +14,13 @@ use crate::{ formatter::{hex_util::encode_bytes_as_hex, FormatBuffer, FormatByteReceiver, SCDisplay}, types::{ heap::BoxedBytes, BigInt, Decimals, LnDecimals, ManagedBuffer, ManagedBufferCachedBuilder, - ManagedDecimal, ManagedRef, ManagedType, + ManagedDecimal, ManagedRef, ManagedType, NonZeroBigUint, }, }; +/// A big, unsigned number. +/// +/// Guaranteed to never be negative by construction and guarded operations. #[repr(transparent)] pub struct BigUint { pub(crate) value: BigInt, @@ -117,6 +120,10 @@ impl BigUint { pub fn into_big_int(self) -> BigInt { self.value } + + pub fn into_non_zero(self) -> Option> { + NonZeroBigUint::new(self) + } } macro_rules! big_uint_conv_num { diff --git a/framework/base/src/types/managed/wrapped/big_uint_cmp.rs b/framework/base/src/types/managed/wrapped/num/big_uint_cmp.rs similarity index 82% rename from framework/base/src/types/managed/wrapped/big_uint_cmp.rs rename to framework/base/src/types/managed/wrapped/num/big_uint_cmp.rs index 45e9e5ed95..a56cf0f60d 100644 --- a/framework/base/src/types/managed/wrapped/big_uint_cmp.rs +++ b/framework/base/src/types/managed/wrapped/num/big_uint_cmp.rs @@ -1,6 +1,6 @@ use core::cmp::Ordering; -use crate::api::{BigIntApiImpl, ManagedTypeApi}; +use crate::api::ManagedTypeApi; use crate::types::cast_to_i64::cast_to_i64; @@ -9,9 +9,7 @@ use super::BigUint; impl PartialEq for BigUint { #[inline] fn eq(&self, other: &Self) -> bool { - M::managed_type_impl() - .bi_cmp(self.value.handle.clone(), other.value.handle.clone()) - .is_eq() + self.value.eq(&other.value) } } @@ -27,7 +25,7 @@ impl PartialOrd for BigUint { impl Ord for BigUint { #[inline] fn cmp(&self, other: &Self) -> Ordering { - M::managed_type_impl().bi_cmp(self.value.handle.clone(), other.value.handle.clone()) + self.value.cmp(&other.value) } } diff --git a/framework/base/src/types/managed/wrapped/big_uint_operators.rs b/framework/base/src/types/managed/wrapped/num/big_uint_operators.rs similarity index 92% rename from framework/base/src/types/managed/wrapped/big_uint_operators.rs rename to framework/base/src/types/managed/wrapped/num/big_uint_operators.rs index 5ca27f783e..b375b5d0c7 100644 --- a/framework/base/src/types/managed/wrapped/big_uint_operators.rs +++ b/framework/base/src/types/managed/wrapped/num/big_uint_operators.rs @@ -9,10 +9,11 @@ use core::ops::{ macro_rules! binary_operator { ($trait:ident, $method:ident, $api_func:ident) => { - impl $trait for BigUint { + impl<'b, M: ManagedTypeApi> $trait<&'b BigUint> for BigUint { type Output = BigUint; - fn $method(self, other: BigUint) -> BigUint { + fn $method(self, other: &BigUint) -> BigUint { + // self gets destroyed, so reusing it for the result M::managed_type_impl().$api_func( self.get_handle(), self.get_handle(), @@ -22,10 +23,34 @@ macro_rules! binary_operator { } } + impl $trait> for BigUint { + type Output = BigUint; + + #[inline] + fn $method(self, other: BigUint) -> BigUint { + self.$method(&other) + } + } + + impl<'b, M: ManagedTypeApi> $trait> for &'b BigUint { + type Output = BigUint; + + fn $method(self, other: BigUint) -> BigUint { + // other gets destroyed, so reusing it for the result + M::managed_type_impl().$api_func( + other.get_handle(), + self.get_handle(), + other.get_handle(), + ); + other + } + } + impl<'a, 'b, M: ManagedTypeApi> $trait<&'b BigUint> for &'a BigUint { type Output = BigUint; fn $method(self, other: &BigUint) -> BigUint { + // both arguments are references, so a new BigUint needs to be created unsafe { let result = BigUint::new_uninit(); M::managed_type_impl().$api_func( @@ -38,19 +63,6 @@ macro_rules! binary_operator { } } - impl<'b, M: ManagedTypeApi> $trait<&'b BigUint> for BigUint { - type Output = BigUint; - - fn $method(self, other: &BigUint) -> BigUint { - M::managed_type_impl().$api_func( - self.get_handle(), - self.get_handle(), - other.get_handle(), - ); - self - } - } - impl $trait for BigUint { type Output = BigUint; diff --git a/framework/base/src/types/managed/wrapped/num/non_zero_big_uint.rs b/framework/base/src/types/managed/wrapped/num/non_zero_big_uint.rs new file mode 100644 index 0000000000..2816d6cddb --- /dev/null +++ b/framework/base/src/types/managed/wrapped/num/non_zero_big_uint.rs @@ -0,0 +1,263 @@ +use multiversx_sc_codec::DecodeError; + +use crate::{ + abi::{TypeAbi, TypeAbiFrom, TypeName}, + api::{quick_signal_error, ManagedTypeApi}, + codec::{ + DecodeErrorHandler, EncodeErrorHandler, NestedDecode, NestedDecodeInput, NestedEncode, + NestedEncodeOutput, TopDecode, TopDecodeInput, TopEncode, TopEncodeOutput, + }, + err_msg, + formatter::{hex_util::encode_bytes_as_hex, FormatByteReceiver, SCDisplay}, + types::{BigInt, BigUint, ManagedBuffer, ManagedType, NonZeroError}, +}; + +/// A big, unsigned number that is guaranteed not to be zero. +/// +/// The restriction is enforced by the constructors and the implementation of operations. +/// +/// ## Constructor +/// +/// To build a NonZeroBigUint, the best way is via NonZeroBigUint::new(BigUint), which returns an Option: +/// - Some(NonZeroBigUint) if the input is non-zero, or +/// - None if the input is zero. +/// +/// This way the user can handle the zero case as they see fit. +/// +/// The quicker alternative is NonZeroBigUint::new_or_panic(BigUint), which will signal an error if the input is zero. +/// +/// ## Binary Operators +/// +/// Naturally, some operations between two NonZeroBigUint can never yield zero, +/// so no validation is needed after those operations. +/// +/// For all others, there is an additional check at the end, which will crash execution if the invariant is violated. +/// +/// Specifically, for the binary operators, we have implemented: +/// +/// - NonZeroBigUint + NonZeroBigUint = guaranteed non-zero, no validation needed +/// - NonZeroBigUint * NonZeroBigUint = guaranteed non-zero, no validation needed +/// - NonZeroBigUint - NonZeroBigUint = could yield zero or negative, validation needed +/// - NonZeroBigUint / NonZeroBigUint = could yield zero, validation needed +/// - NonZeroBigUint % NonZeroBigUint = could yield zero, validation needed +/// +/// ## Assign Operators +/// +/// For the assign operators, we have similar logic, but we've added a few more operations for convenience: +/// - BigUint +/// - u32 +/// - u64 +/// +/// Again, no validation is needed when the operation guarantees a non-zero result: +/// - NonZeroBigUint += NonZeroBigUint +/// - NonZeroBigUint += &NonZeroBigUint +/// - NonZeroBigUint += BigUint +/// - NonZeroBigUint += u32 +/// - NonZeroBigUint += u64 +/// - NonZeroBigUint *= NonZeroBigUint +/// - NonZeroBigUint *= &NonZeroBigUint +/// +/// Everything else gets a runtime check. +/// +/// ## Usage in Payments +/// +/// Since token payments cannot be zero, NonZeroBigUint is used in the Payment object. +/// +/// Getting a call value is guaranteed to yield non-zero amounts, +/// so in that case NonZeroBigUint is getting its invariant from the VM. +#[repr(transparent)] +pub struct NonZeroBigUint { + pub(super) value: BigInt, +} + +impl ManagedType for NonZeroBigUint { + type OwnHandle = M::BigIntHandle; + + unsafe fn from_handle(handle: M::BigIntHandle) -> Self { + NonZeroBigUint { + value: BigInt::from_handle(handle), + } + } + + fn get_handle(&self) -> M::BigIntHandle { + self.value.handle.clone() + } + + unsafe fn forget_into_handle(self) -> Self::OwnHandle { + self.value.forget_into_handle() + } + + fn transmute_from_handle_ref(handle_ref: &M::BigIntHandle) -> &Self { + unsafe { core::mem::transmute(handle_ref) } + } + + fn transmute_from_handle_ref_mut(handle_ref: &mut M::BigIntHandle) -> &mut Self { + unsafe { core::mem::transmute(handle_ref) } + } +} + +impl TryFrom> for NonZeroBigUint { + type Error = NonZeroError; + + fn try_from(bu: BigUint) -> Result { + Self::new(bu).map_or_else(|| Err(NonZeroError), Ok) + } +} + +impl TryFrom for NonZeroBigUint { + type Error = NonZeroError; + + fn try_from(value: u128) -> Result { + Self::try_from(BigUint::from(value)) + } +} + +impl TryFrom> for NonZeroBigUint { + type Error = NonZeroError; + + fn try_from(item: ManagedBuffer) -> Result { + Self::try_from(BigUint::from(item)) + } +} + +impl TryFrom<&ManagedBuffer> for NonZeroBigUint { + type Error = NonZeroError; + + fn try_from(item: &ManagedBuffer) -> Result { + Self::try_from(BigUint::from(item)) + } +} + +impl NonZeroBigUint { + pub(super) fn wrap_big_int_unchecked(value: BigInt) -> Self { + NonZeroBigUint { value } + } + + pub(crate) unsafe fn new_unchecked(bu: BigUint) -> Self { + Self::wrap_big_int_unchecked(bu.value) + } + + /// Will return either Some, with a non-zero value, or None, for zero. + pub fn new(bu: BigUint) -> Option { + if bu == 0u32 { + None + } else { + unsafe { Some(Self::new_unchecked(bu)) } + } + } + + /// Convenience constructor, which will signal error if the input is 0. + pub fn new_or_panic(bu: BigUint) -> Self { + Self::new(bu).unwrap_or_else(|| quick_signal_error::(err_msg::ZERO_VALUE_NOT_ALLOWED)) + } + + /// Drops the non-zero restriction. + pub fn into_big_uint(self) -> BigUint { + BigUint { value: self.value } + } + + /// Drops the non-zero restriction. + pub fn as_big_uint(&self) -> &BigUint { + // safe because of #repr(transparent) on both sides + // also because it is a loosening of the non-zero restriction + unsafe { core::mem::transmute(self) } + } + + /// Drops the non-zero and positive restriction. + pub fn as_big_int(&self) -> &BigInt { + &self.value + } + + /// Drops the non-zero and positive restriction. + pub fn into_big_int(self) -> BigInt { + self.value + } +} + +// TODO: figure out what type should be used in a non-managed context + +impl TypeAbiFrom for NonZeroBigUint where M: ManagedTypeApi {} +impl TypeAbiFrom<&Self> for NonZeroBigUint where M: ManagedTypeApi {} + +impl TypeAbi for NonZeroBigUint { + type Unmanaged = Self; + + fn type_name() -> TypeName { + TypeName::from("NonZeroBigUint") + } + + fn type_name_rust() -> TypeName { + TypeName::from("NonZeroBigUint<$API>") + } +} + +impl Clone for NonZeroBigUint { + fn clone(&self) -> Self { + NonZeroBigUint { + value: self.as_big_int().clone(), + } + } +} + +impl TopEncode for NonZeroBigUint { + #[inline] + fn top_encode_or_handle_err(&self, output: O, h: H) -> Result<(), H::HandledErr> + where + O: TopEncodeOutput, + H: EncodeErrorHandler, + { + self.as_big_uint().top_encode_or_handle_err(output, h) + } +} + +impl NestedEncode for NonZeroBigUint { + fn dep_encode_or_handle_err(&self, dest: &mut O, h: H) -> Result<(), H::HandledErr> + where + O: NestedEncodeOutput, + H: EncodeErrorHandler, + { + self.as_big_uint().dep_encode_or_handle_err(dest, h) + } +} + +impl NestedDecode for NonZeroBigUint { + fn dep_decode_or_handle_err(input: &mut I, h: H) -> Result + where + I: NestedDecodeInput, + H: DecodeErrorHandler, + { + let bu = BigUint::::dep_decode_or_handle_err(input, h)?; + Self::try_from(bu) + .map_err(|_| h.handle_error(DecodeError::from(err_msg::ZERO_VALUE_NOT_ALLOWED))) + } +} + +impl TopDecode for NonZeroBigUint { + fn top_decode_or_handle_err(input: I, h: H) -> Result + where + I: TopDecodeInput, + H: DecodeErrorHandler, + { + let bu = BigUint::::top_decode_or_handle_err(input, h)?; + Self::try_from(bu) + .map_err(|_| h.handle_error(DecodeError::from(err_msg::ZERO_VALUE_NOT_ALLOWED))) + } +} + +impl SCDisplay for NonZeroBigUint { + fn fmt(&self, f: &mut F) { + SCDisplay::fmt(self.as_big_uint(), f) + } +} + +impl core::fmt::Debug for NonZeroBigUint { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_struct("NonZeroBigUint") + .field("handle", &self.value.handle.clone()) + .field( + "hex-value-be", + &encode_bytes_as_hex(self.as_big_uint().to_bytes_be().as_slice()), + ) + .finish() + } +} diff --git a/framework/base/src/types/managed/wrapped/num/non_zero_big_uint_cmp.rs b/framework/base/src/types/managed/wrapped/num/non_zero_big_uint_cmp.rs new file mode 100644 index 0000000000..238260a842 --- /dev/null +++ b/framework/base/src/types/managed/wrapped/num/non_zero_big_uint_cmp.rs @@ -0,0 +1,53 @@ +use core::cmp::Ordering; + +use crate::api::ManagedTypeApi; + +use crate::types::cast_to_i64::cast_to_i64; + +use super::NonZeroBigUint; + +impl PartialEq for NonZeroBigUint { + #[inline] + fn eq(&self, other: &Self) -> bool { + self.value.eq(&other.value) + } +} + +impl Eq for NonZeroBigUint {} + +impl PartialOrd for NonZeroBigUint { + #[inline] + fn partial_cmp(&self, other: &Self) -> Option { + Some(self.cmp(other)) + } +} + +impl Ord for NonZeroBigUint { + #[inline] + fn cmp(&self, other: &Self) -> Ordering { + self.value.cmp(&other.value) + } +} + +macro_rules! partial_eq_and_ord { + ($small_int_type:ident) => { + impl PartialEq<$small_int_type> for NonZeroBigUint { + #[inline] + fn eq(&self, other: &$small_int_type) -> bool { + self.value.eq(&cast_to_i64::(*other)) + } + } + + impl PartialOrd<$small_int_type> for NonZeroBigUint { + #[inline] + fn partial_cmp(&self, other: &$small_int_type) -> Option { + self.value.partial_cmp(&cast_to_i64::(*other)) + } + } + }; +} + +partial_eq_and_ord! {i32} +partial_eq_and_ord! {i64} +partial_eq_and_ord! {u32} +partial_eq_and_ord! {u64} diff --git a/framework/base/src/types/managed/wrapped/num/non_zero_big_uint_operators.rs b/framework/base/src/types/managed/wrapped/num/non_zero_big_uint_operators.rs new file mode 100644 index 0000000000..a860059b9b --- /dev/null +++ b/framework/base/src/types/managed/wrapped/num/non_zero_big_uint_operators.rs @@ -0,0 +1,275 @@ +use crate::{ + api::{quick_signal_error, ManagedTypeApi}, + err_msg, + types::{BigInt, BigUint, NonZeroBigUint, Sign}, +}; +use core::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Rem, RemAssign, Sub, SubAssign}; + +impl NonZeroBigUint { + /// Checks that value respects invariants. Used after some operator calls. + fn validate_after_op(&self) { + match self.value.sign() { + Sign::Minus => quick_signal_error::(err_msg::BIG_UINT_SUB_NEGATIVE), + Sign::NoSign => quick_signal_error::(err_msg::ZERO_VALUE_NOT_ALLOWED), + Sign::Plus => {} + } + } + + fn wrap_big_int_assert_gt_zero(value: BigInt) -> Self { + let result = Self::wrap_big_int_unchecked(value); + result.validate_after_op(); + result + } + + /// Used in some operator definitions. Using it directly could violate invariant. + unsafe fn as_big_uint_mut(&mut self) -> &mut BigUint { + unsafe { core::mem::transmute(self) } + } +} + +macro_rules! nz_binary_operator { + ($trait:ident, $method:ident, $wrap_method:ident) => { + impl $trait> for NonZeroBigUint { + type Output = NonZeroBigUint; + + #[inline] + fn $method(self, other: NonZeroBigUint) -> NonZeroBigUint { + NonZeroBigUint::$wrap_method(self.value.$method(&other.value)) + } + } + + impl<'b, M: ManagedTypeApi> $trait<&'b NonZeroBigUint> for NonZeroBigUint { + type Output = NonZeroBigUint; + + fn $method(self, other: &NonZeroBigUint) -> NonZeroBigUint { + NonZeroBigUint::$wrap_method(self.value.$method(&other.value)) + } + } + + impl<'b, M: ManagedTypeApi> $trait> for &'b NonZeroBigUint { + type Output = NonZeroBigUint; + + fn $method(self, other: NonZeroBigUint) -> NonZeroBigUint { + NonZeroBigUint::$wrap_method(self.as_big_int().$method(&other.value)) + } + } + + impl<'a, 'b, M: ManagedTypeApi> $trait<&'b NonZeroBigUint> for &'a NonZeroBigUint { + type Output = NonZeroBigUint; + + fn $method(self, other: &NonZeroBigUint) -> NonZeroBigUint { + NonZeroBigUint::$wrap_method(self.as_big_int().$method(&other.value)) + } + } + }; +} + +nz_binary_operator! {Add, add, wrap_big_int_unchecked} // non zero + non zero = guaranteed non zero +nz_binary_operator! {Sub, sub, wrap_big_int_assert_gt_zero} // non zero - non zero = needs validation +nz_binary_operator! {Mul, mul, wrap_big_int_unchecked} // non zero * non zero = guaranteed non zero +nz_binary_operator! {Div, div, wrap_big_int_assert_gt_zero} // non zero / non zero = needs validation +nz_binary_operator! {Rem, rem, wrap_big_int_assert_gt_zero} // non zero % non zero = needs validation + +macro_rules! nz_binary_operator_small_int { + ($trait:ident, $method:ident, $wrap_method:ident) => { + impl $trait for NonZeroBigUint { + type Output = NonZeroBigUint; + + fn $method(self, other: u32) -> NonZeroBigUint { + NonZeroBigUint::$wrap_method(self.into_big_uint().$method(other).into_big_int()) + } + } + + impl<'a, M: ManagedTypeApi> $trait for &'a NonZeroBigUint { + type Output = NonZeroBigUint; + + fn $method(self, other: u32) -> NonZeroBigUint { + NonZeroBigUint::$wrap_method(self.as_big_uint().$method(other).into_big_int()) + } + } + + impl $trait for NonZeroBigUint { + type Output = NonZeroBigUint; + + fn $method(self, other: u64) -> NonZeroBigUint { + NonZeroBigUint::$wrap_method(self.into_big_uint().$method(other).into_big_int()) + } + } + + impl<'a, M: ManagedTypeApi> $trait for &'a NonZeroBigUint { + type Output = NonZeroBigUint; + + fn $method(self, other: u64) -> NonZeroBigUint { + NonZeroBigUint::$wrap_method(self.as_big_uint().$method(other).into_big_int()) + } + } + }; +} + +nz_binary_operator_small_int! {Add, add, wrap_big_int_unchecked} // non zero + unsigned = guaranteed non zero +nz_binary_operator_small_int! {Sub, sub, wrap_big_int_assert_gt_zero} // non zero - unsigned = needs validation +nz_binary_operator_small_int! {Mul, mul, wrap_big_int_assert_gt_zero} // non zero * unsigned = needs validation +nz_binary_operator_small_int! {Div, div, wrap_big_int_assert_gt_zero} // non zero / unsigned = needs validation +nz_binary_operator_small_int! {Rem, rem, wrap_big_int_assert_gt_zero} // non zero % unsigned = needs validation + +// assignment operators + +// AddAssign + +impl AddAssign> for NonZeroBigUint { + #[inline] + fn add_assign(&mut self, other: NonZeroBigUint) { + self.value.add_assign(other.into_big_int()); + // no need to validate, NonZeroBigUint + NonZeroBigUint is always non-zero + } +} + +impl AddAssign<&NonZeroBigUint> for NonZeroBigUint { + #[inline] + fn add_assign(&mut self, other: &NonZeroBigUint) { + self.value.add_assign(other.as_big_int()); + // no need to validate, NonZeroBigUint + NonZeroBigUint is always non-zero + } +} + +impl AddAssign> for NonZeroBigUint { + #[inline] + fn add_assign(&mut self, other: BigUint) { + self.value.add_assign(other.into_big_int()); + // no need to validate, NonZeroBigUint + BigUint is always non-zero + } +} + +impl AddAssign<&BigUint> for NonZeroBigUint { + #[inline] + fn add_assign(&mut self, other: &BigUint) { + self.value.add_assign(other.as_big_int()); + // no need to validate, NonZeroBigUint + BigUint is always non-zero + } +} + +impl AddAssign for NonZeroBigUint { + fn add_assign(&mut self, other: u32) { + unsafe { + self.as_big_uint_mut().add_assign(other); + } + // no need to validate, NonZeroBigUint + u32 is always non-zero + } +} + +impl AddAssign for NonZeroBigUint { + fn add_assign(&mut self, other: u64) { + unsafe { + self.as_big_uint_mut().add_assign(other); + } + // no need to validate, NonZeroBigUint + u64 is always non-zero + } +} + +// MulAssign + +impl MulAssign> for NonZeroBigUint { + #[inline] + fn mul_assign(&mut self, other: NonZeroBigUint) { + self.value.mul_assign(other.into_big_int()); + // no need to validate, NonZeroBigUint * NonZeroBigUint is always non-zero + } +} +impl MulAssign<&NonZeroBigUint> for NonZeroBigUint { + #[inline] + fn mul_assign(&mut self, other: &NonZeroBigUint) { + self.value.mul_assign(other.as_big_int()); + // no need to validate, NonZeroBigUint * NonZeroBigUint is always non-zero + } +} + +impl MulAssign> for NonZeroBigUint { + #[inline] + fn mul_assign(&mut self, other: BigUint) { + self.value.mul_assign(other.into_big_int()); + self.validate_after_op(); // validation needed, as BigUint can be zero + } +} + +impl MulAssign<&BigUint> for NonZeroBigUint { + #[inline] + fn mul_assign(&mut self, other: &BigUint) { + self.value.mul_assign(other.as_big_int()); + self.validate_after_op(); // validation needed, as BigUint can be zero + } +} + +impl MulAssign for NonZeroBigUint { + fn mul_assign(&mut self, other: u32) { + unsafe { + self.as_big_uint_mut().mul_assign(other); + } + self.validate_after_op(); // validation needed, as u32 can be zero + } +} +impl MulAssign for NonZeroBigUint { + fn mul_assign(&mut self, other: u64) { + unsafe { + self.as_big_uint_mut().mul_assign(other); + } + self.validate_after_op(); // validation needed, as u64 can be zero + } +} + +macro_rules! nz_checked_assign_operator { + ($trait:ident, $method:ident) => { + impl $trait> for NonZeroBigUint { + #[inline] + fn $method(&mut self, other: NonZeroBigUint) { + self.value.$method(other.into_big_int()); + self.validate_after_op(); + } + } + + impl $trait<&NonZeroBigUint> for NonZeroBigUint { + #[inline] + fn $method(&mut self, other: &NonZeroBigUint) { + self.value.$method(other.as_big_int()); + self.validate_after_op(); + } + } + + impl $trait> for NonZeroBigUint { + #[inline] + fn $method(&mut self, other: BigUint) { + self.value.$method(other.into_big_int()); + self.validate_after_op(); + } + } + + impl $trait<&BigUint> for NonZeroBigUint { + #[inline] + fn $method(&mut self, other: &BigUint) { + self.value.$method(other.as_big_int()); + self.validate_after_op(); + } + } + + impl $trait for NonZeroBigUint { + fn $method(&mut self, other: u32) { + unsafe { + self.as_big_uint_mut().$method(other); + } + self.validate_after_op(); + } + } + + impl $trait for NonZeroBigUint { + fn $method(&mut self, other: u64) { + unsafe { + self.as_big_uint_mut().$method(other); + } + self.validate_after_op(); + } + } + }; +} + +nz_checked_assign_operator! {SubAssign, sub_assign} +nz_checked_assign_operator! {DivAssign, div_assign} +nz_checked_assign_operator! {RemAssign, rem_assign} diff --git a/framework/base/src/types/managed/wrapped/token.rs b/framework/base/src/types/managed/wrapped/token.rs index 131137a71d..1cb425c941 100644 --- a/framework/base/src/types/managed/wrapped/token.rs +++ b/framework/base/src/types/managed/wrapped/token.rs @@ -1,15 +1,27 @@ mod egld_or_esdt_token_identifier; mod egld_or_esdt_token_payment; +mod egld_or_esdt_token_payment_refs; mod egld_or_multi_esdt_payment; mod esdt_token_data; mod esdt_token_identifier; mod esdt_token_payment; mod multi_egld_or_esdt_token_payment; +mod multi_transfer_marker; +mod payment; +mod payment_refs; +mod payment_vec; +mod token_id; pub use egld_or_esdt_token_identifier::EgldOrEsdtTokenIdentifier; -pub use egld_or_esdt_token_payment::{EgldOrEsdtTokenPayment, EgldOrEsdtTokenPaymentRefs}; +pub use egld_or_esdt_token_payment::EgldOrEsdtTokenPayment; +pub use egld_or_esdt_token_payment_refs::EgldOrEsdtTokenPaymentRefs; pub use egld_or_multi_esdt_payment::{EgldOrMultiEsdtPayment, EgldOrMultiEsdtPaymentRefs}; pub use esdt_token_data::EsdtTokenData; pub use esdt_token_identifier::{EsdtTokenIdentifier, TokenIdentifier}; pub use esdt_token_payment::{EsdtTokenPayment, EsdtTokenPaymentRefs, MultiEsdtPayment}; pub use multi_egld_or_esdt_token_payment::MultiEgldOrEsdtPayment; +pub use multi_transfer_marker::{MultiTransfer, MultiTransferMarkerArg}; +pub use payment::Payment; +pub use payment_refs::PaymentRefs; +pub use payment_vec::PaymentVec; +pub use token_id::TokenId; diff --git a/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_identifier.rs b/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_identifier.rs index 223a36d128..05dd98026d 100644 --- a/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_identifier.rs +++ b/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_identifier.rs @@ -3,15 +3,12 @@ use multiversx_chain_core::EGLD_000000_TOKEN_IDENTIFIER; use crate::{ abi::{TypeAbi, TypeAbiFrom, TypeName}, - api::{ - const_handles, use_raw_handle, ErrorApiImpl, HandleConstraints, ManagedBufferApiImpl, - ManagedTypeApi, - }, + api::{ErrorApiImpl, ManagedTypeApi}, codec::*, err_msg, formatter::{FormatByteReceiver, SCDisplay, SCLowerHex}, proxy_imports::TestTokenIdentifier, - types::{EsdtTokenIdentifier, ManagedBuffer, ManagedRef, ManagedType}, + types::{EsdtTokenIdentifier, ManagedBuffer, ManagedRef, ManagedType, TokenId}, }; /// Specialized type for handling either EGLD or ESDT token identifiers. @@ -32,7 +29,7 @@ use crate::{ #[repr(transparent)] #[derive(Clone)] pub struct EgldOrEsdtTokenIdentifier { - pub(crate) buffer: ManagedBuffer, + pub(crate) token_id: TokenId, } impl ManagedType for EgldOrEsdtTokenIdentifier { @@ -41,16 +38,16 @@ impl ManagedType for EgldOrEsdtTokenIdentifier { #[inline] unsafe fn from_handle(handle: M::ManagedBufferHandle) -> Self { EgldOrEsdtTokenIdentifier { - buffer: ManagedBuffer::from_handle(handle), + token_id: TokenId::from_handle(handle), } } fn get_handle(&self) -> M::ManagedBufferHandle { - self.buffer.get_handle() + self.token_id.get_handle() } unsafe fn forget_into_handle(self) -> Self::OwnHandle { - self.buffer.forget_into_handle() + self.token_id.forget_into_handle() } fn transmute_from_handle_ref(handle_ref: &M::ManagedBufferHandle) -> &Self { @@ -70,7 +67,7 @@ impl EgldOrEsdtTokenIdentifier { #[inline] pub fn egld() -> Self { EgldOrEsdtTokenIdentifier { - buffer: ManagedBuffer::from(EGLD_000000_TOKEN_IDENTIFIER), + token_id: TokenId::from(EGLD_000000_TOKEN_IDENTIFIER), } } @@ -81,27 +78,22 @@ impl EgldOrEsdtTokenIdentifier { EsdtTokenIdentifier: From, { let ti_obj = EsdtTokenIdentifier::from(token_identifier); - ti_obj.data + ti_obj.token_id.into() } pub fn parse(data: ManagedBuffer) -> Self { if data == Self::EGLD_REPRESENTATION { Self::egld() } else { - Self { buffer: data } + Self { + token_id: data.into(), + } } } #[inline] pub fn is_egld(&self) -> bool { - M::managed_type_impl().mb_overwrite( - use_raw_handle(const_handles::MBUF_EGLD_000000), - EGLD_000000_TOKEN_IDENTIFIER.as_bytes(), - ); - M::managed_type_impl().mb_eq( - use_raw_handle(const_handles::MBUF_EGLD_000000), - self.buffer.handle.clone(), - ) + self.token_id.is_native() } #[inline] @@ -129,19 +121,25 @@ impl EgldOrEsdtTokenIdentifier { ) } + /// Converts reference to the newer, non-legacy TokenId. + pub fn as_token_id(&self) -> &TokenId { + // safe because of #[repr(transparent)] + unsafe { core::mem::transmute(self) } + } + #[inline] pub fn into_managed_buffer(self) -> ManagedBuffer { - self.buffer + self.token_id.buffer } #[inline] pub fn as_managed_buffer(&self) -> &ManagedBuffer { - &self.buffer + &self.token_id.buffer } #[inline] pub fn to_boxed_bytes(&self) -> crate::types::heap::BoxedBytes { - self.buffer.to_boxed_bytes() + self.token_id.to_boxed_bytes() } pub fn map_or_else(self, context: Context, for_egld: D, for_esdt: F) -> R @@ -206,14 +204,23 @@ impl EgldOrEsdtTokenIdentifier { impl From> for EgldOrEsdtTokenIdentifier { #[inline] fn from(buffer: ManagedBuffer) -> Self { - EgldOrEsdtTokenIdentifier { buffer } + EgldOrEsdtTokenIdentifier { + token_id: buffer.into(), + } + } +} + +impl From> for EgldOrEsdtTokenIdentifier { + #[inline] + fn from(token_id: TokenId) -> Self { + EgldOrEsdtTokenIdentifier { token_id } } } impl From<&[u8]> for EgldOrEsdtTokenIdentifier { fn from(bytes: &[u8]) -> Self { EgldOrEsdtTokenIdentifier { - buffer: ManagedBuffer::new_from_bytes(bytes), + token_id: TokenId::from(bytes), } } } @@ -233,7 +240,7 @@ impl From<&String> for EgldOrEsdtTokenIdentifier { impl PartialEq for EgldOrEsdtTokenIdentifier { #[inline] fn eq(&self, other: &Self) -> bool { - self.buffer == other.buffer + self.token_id == other.token_id } } @@ -260,7 +267,7 @@ impl NestedEncode for EgldOrEsdtTokenIdentifier { if self.is_egld() { (&Self::EGLD_REPRESENTATION[..]).dep_encode_or_handle_err(dest, h) } else { - self.buffer.dep_encode_or_handle_err(dest, h) + self.token_id.dep_encode_or_handle_err(dest, h) } } } @@ -275,7 +282,7 @@ impl TopEncode for EgldOrEsdtTokenIdentifier { if self.is_egld() { (&Self::EGLD_REPRESENTATION[..]).top_encode_or_handle_err(output, h) } else { - self.buffer.top_encode_or_handle_err(output, h) + self.token_id.top_encode_or_handle_err(output, h) } } } @@ -337,9 +344,7 @@ impl SCDisplay for EgldOrEsdtTokenIdentifier { if self.is_egld() { f.append_bytes(Self::EGLD_REPRESENTATION); } else { - let cast_handle = self.buffer.get_handle().cast_or_signal_error::(); - let wrap_cast = unsafe { ManagedRef::wrap_handle(cast_handle) }; - f.append_managed_buffer(&wrap_cast); + SCDisplay::fmt(&self.token_id, f) } } } @@ -351,9 +356,7 @@ impl SCLowerHex for EgldOrEsdtTokenIdentifier { if self.is_egld() { f.append_bytes(EGLD_REPRESENTATION_HEX); } else { - let cast_handle = self.buffer.get_handle().cast_or_signal_error::(); - let wrap_cast = unsafe { ManagedRef::wrap_handle(cast_handle) }; - f.append_managed_buffer_lower_hex(&wrap_cast); + SCLowerHex::fmt(&self.token_id, f) } } } @@ -375,3 +378,13 @@ where ) } } + +impl core::fmt::Display for EgldOrEsdtTokenIdentifier { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + self.map_ref_or_else( + f, + |f| core::fmt::Display::fmt("EGLD", f), + |f, token_identifier| core::fmt::Display::fmt(token_identifier, f), + ) + } +} diff --git a/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_payment.rs b/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_payment.rs index e215ab0e42..157aa27306 100644 --- a/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_payment.rs +++ b/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_payment.rs @@ -6,8 +6,8 @@ use crate::{ api::ManagedTypeApi, types::{ managed_vec_item_read_from_payload_index, managed_vec_item_save_to_payload_index, BigUint, - EgldOrEsdtTokenIdentifier, EgldOrEsdtTokenPaymentMultiValue, EsdtTokenPayment, - EsdtTokenPaymentRefs, ManagedVecItem, ManagedVecItemPayloadBuffer, ManagedVecRef, + EgldOrEsdtTokenIdentifier, EgldOrEsdtTokenPaymentMultiValue, EgldOrEsdtTokenPaymentRefs, + EsdtTokenPayment, EsdtTokenPaymentRefs, ManagedVecItem, ManagedVecItemPayloadBuffer, Ref, }, }; @@ -148,60 +148,10 @@ impl EgldOrEsdtTokenPayment { } } -/// Similar to `EgldOrEsdtTokenPayment`, but only contains references. -pub struct EgldOrEsdtTokenPaymentRefs<'a, M: ManagedTypeApi> { - pub token_identifier: &'a EgldOrEsdtTokenIdentifier, - pub token_nonce: u64, - pub amount: &'a BigUint, -} - -impl<'a, M: ManagedTypeApi> EgldOrEsdtTokenPaymentRefs<'a, M> { - pub fn new( - token_identifier: &'a EgldOrEsdtTokenIdentifier, - token_nonce: u64, - amount: &'a BigUint, - ) -> EgldOrEsdtTokenPaymentRefs<'a, M> { - EgldOrEsdtTokenPaymentRefs { - token_identifier, - token_nonce, - amount, - } - } - - pub fn to_owned_payment(&self) -> EgldOrEsdtTokenPayment { - EgldOrEsdtTokenPayment { - token_identifier: self.token_identifier.clone(), - token_nonce: self.token_nonce, - amount: self.amount.clone(), - } - } - - pub fn is_empty(&self) -> bool { - self.amount == &0u32 - } - - pub fn map_egld_or_esdt(self, context: Context, for_egld: D, for_esdt: F) -> U - where - D: FnOnce(Context, &BigUint) -> U, - F: FnOnce(Context, EsdtTokenPaymentRefs) -> U, - { - self.token_identifier.map_ref_or_else( - context, - |context| for_egld(context, self.amount), - |context, token_identifier| { - for_esdt( - context, - EsdtTokenPaymentRefs::new(token_identifier, self.token_nonce, self.amount), - ) - }, - ) - } -} - impl ManagedVecItem for EgldOrEsdtTokenPayment { type PAYLOAD = ManagedVecItemPayloadBuffer; const SKIPS_RESERIALIZATION: bool = false; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let mut index = 0; @@ -215,7 +165,7 @@ impl ManagedVecItem for EgldOrEsdtTokenPayment { } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { diff --git a/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_payment_refs.rs b/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_payment_refs.rs new file mode 100644 index 0000000000..2f5799e6d8 --- /dev/null +++ b/framework/base/src/types/managed/wrapped/token/egld_or_esdt_token_payment_refs.rs @@ -0,0 +1,54 @@ +use crate::{ + api::ManagedTypeApi, + types::{BigUint, EgldOrEsdtTokenIdentifier, EgldOrEsdtTokenPayment, EsdtTokenPaymentRefs}, +}; + +/// Similar to `EgldOrEsdtTokenPayment`, but only contains references. +pub struct EgldOrEsdtTokenPaymentRefs<'a, M: ManagedTypeApi> { + pub token_identifier: &'a EgldOrEsdtTokenIdentifier, + pub token_nonce: u64, + pub amount: &'a BigUint, +} + +impl<'a, M: ManagedTypeApi> EgldOrEsdtTokenPaymentRefs<'a, M> { + pub fn new( + token_identifier: &'a EgldOrEsdtTokenIdentifier, + token_nonce: u64, + amount: &'a BigUint, + ) -> EgldOrEsdtTokenPaymentRefs<'a, M> { + EgldOrEsdtTokenPaymentRefs { + token_identifier, + token_nonce, + amount, + } + } + + pub fn to_owned_payment(&self) -> EgldOrEsdtTokenPayment { + EgldOrEsdtTokenPayment { + token_identifier: self.token_identifier.clone(), + token_nonce: self.token_nonce, + amount: self.amount.clone(), + } + } + + pub fn is_empty(&self) -> bool { + self.amount == &0u32 + } + + pub fn map_egld_or_esdt(self, context: Context, for_egld: D, for_esdt: F) -> U + where + D: FnOnce(Context, &BigUint) -> U, + F: FnOnce(Context, EsdtTokenPaymentRefs) -> U, + { + self.token_identifier.map_ref_or_else( + context, + |context| for_egld(context, self.amount), + |context, token_identifier| { + for_esdt( + context, + EsdtTokenPaymentRefs::new(token_identifier, self.token_nonce, self.amount), + ) + }, + ) + } +} diff --git a/framework/base/src/types/managed/wrapped/token/egld_or_multi_esdt_payment.rs b/framework/base/src/types/managed/wrapped/token/egld_or_multi_esdt_payment.rs index 2d664e0cf3..6e0af0d472 100644 --- a/framework/base/src/types/managed/wrapped/token/egld_or_multi_esdt_payment.rs +++ b/framework/base/src/types/managed/wrapped/token/egld_or_multi_esdt_payment.rs @@ -14,6 +14,10 @@ use crate::derive::type_abi; /// Encodes any type of payment, which either: /// - EGLD (can be zero in case of no payment whatsoever); /// - Multi-ESDT (one or more ESDT transfers). +#[deprecated( + note = "It comes from a time when only 1 EGLD payment, or ESDT multi-transfer was possible. This is no longer the case. Switch to `Payment` instead.", + since = "0.64.0" +)] #[type_abi] #[derive(TopDecode, TopEncode, NestedDecode, NestedEncode, Clone, PartialEq, Eq, Debug)] pub enum EgldOrMultiEsdtPayment { diff --git a/framework/base/src/types/managed/wrapped/token/esdt_token_identifier.rs b/framework/base/src/types/managed/wrapped/token/esdt_token_identifier.rs index a9f5f203f6..0b53bab102 100644 --- a/framework/base/src/types/managed/wrapped/token/esdt_token_identifier.rs +++ b/framework/base/src/types/managed/wrapped/token/esdt_token_identifier.rs @@ -2,11 +2,11 @@ use alloc::string::ToString; use crate::{ abi::{TypeAbi, TypeAbiFrom, TypeName}, - api::{ErrorApi, ErrorApiImpl, HandleConstraints, ManagedTypeApi, ManagedTypeApiImpl}, + api::{ErrorApi, HandleConstraints, ManagedTypeApi}, codec::*, err_msg, formatter::{FormatByteReceiver, SCDisplay, SCLowerHex}, - types::{ManagedBuffer, ManagedRef, ManagedType}, + types::{ManagedBuffer, ManagedRef, ManagedType, TokenId}, }; use super::EgldOrEsdtTokenIdentifier; @@ -20,7 +20,7 @@ pub type TokenIdentifier = EsdtTokenIdentifier; #[repr(transparent)] #[derive(Clone)] pub struct EsdtTokenIdentifier { - pub(crate) data: EgldOrEsdtTokenIdentifier, + pub(crate) token_id: TokenId, } impl ManagedType for EsdtTokenIdentifier { @@ -29,16 +29,16 @@ impl ManagedType for EsdtTokenIdentifier { #[inline] unsafe fn from_handle(handle: M::ManagedBufferHandle) -> Self { EsdtTokenIdentifier { - data: EgldOrEsdtTokenIdentifier::from_handle(handle), + token_id: TokenId::from_handle(handle), } } fn get_handle(&self) -> M::ManagedBufferHandle { - self.data.get_handle() + self.token_id.get_handle() } unsafe fn forget_into_handle(self) -> Self::OwnHandle { - self.data.forget_into_handle() + self.token_id.forget_into_handle() } fn transmute_from_handle_ref(handle_ref: &M::ManagedBufferHandle) -> &Self { @@ -57,7 +57,9 @@ impl EsdtTokenIdentifier { /// /// Calling it for the EGLD token might lead to unexpected bugs. pub unsafe fn esdt_unchecked(data: EgldOrEsdtTokenIdentifier) -> Self { - Self { data } + Self { + token_id: data.into(), + } } pub fn try_new(data: EgldOrEsdtTokenIdentifier) -> Option { @@ -75,30 +77,25 @@ impl EsdtTokenIdentifier { #[inline] pub fn into_managed_buffer(self) -> ManagedBuffer { - self.data.into_managed_buffer() + self.token_id.into_managed_buffer() } #[inline] pub fn as_managed_buffer(&self) -> &ManagedBuffer { - self.data.as_managed_buffer() + self.token_id.as_managed_buffer() } #[inline] pub fn to_boxed_bytes(&self) -> crate::types::heap::BoxedBytes { - self.data.to_boxed_bytes() + self.token_id.to_boxed_bytes() } pub fn is_valid_esdt_identifier(&self) -> bool { - M::managed_type_impl().validate_token_identifier(self.data.buffer.handle.clone()) + self.token_id.is_valid() } pub fn ticker(&self) -> ManagedBuffer { - let buffer = self.as_managed_buffer(); - let token_id_len = buffer.len(); - let ticker_len = M::managed_type_impl().get_token_ticker_len(token_id_len); - buffer.copy_slice(0, ticker_len).unwrap_or_else(|| { - M::error_api_impl().signal_error(err_msg::BAD_TOKEN_TICKER_FORMAT.as_bytes()) - }) + self.token_id.ticker() } } @@ -109,6 +106,13 @@ impl From> for EsdtTokenIdentifier { } } +impl From> for EsdtTokenIdentifier { + #[inline] + fn from(token_id: TokenId) -> Self { + EgldOrEsdtTokenIdentifier::from(token_id).unwrap_esdt() + } +} + impl From<&[u8]> for EsdtTokenIdentifier { fn from(bytes: &[u8]) -> Self { EgldOrEsdtTokenIdentifier::from(bytes).unwrap_esdt() @@ -130,7 +134,7 @@ impl From<&crate::types::heap::String> for EsdtTokenIdentifie impl PartialEq for EsdtTokenIdentifier { #[inline] fn eq(&self, other: &Self) -> bool { - self.data == other.data + self.token_id == other.token_id } } @@ -154,7 +158,7 @@ impl NestedEncode for EsdtTokenIdentifier { O: NestedEncodeOutput, H: EncodeErrorHandler, { - self.data.dep_encode_or_handle_err(dest, h) + self.token_id.dep_encode_or_handle_err(dest, h) } } @@ -165,7 +169,7 @@ impl TopEncode for EsdtTokenIdentifier { O: TopEncodeOutput, H: EncodeErrorHandler, { - self.data.top_encode_or_handle_err(output, h) + self.token_id.top_encode_or_handle_err(output, h) } } diff --git a/framework/base/src/types/managed/wrapped/token/esdt_token_payment.rs b/framework/base/src/types/managed/wrapped/token/esdt_token_payment.rs index 4d766a05c8..d6afa18424 100644 --- a/framework/base/src/types/managed/wrapped/token/esdt_token_payment.rs +++ b/framework/base/src/types/managed/wrapped/token/esdt_token_payment.rs @@ -5,7 +5,7 @@ use crate::{ types::{ managed_vec_item_read_from_payload_index, managed_vec_item_save_to_payload_index, BigUint, EsdtTokenIdentifier, EsdtTokenPaymentMultiValue, EsdtTokenType, ManagedType, ManagedVec, - ManagedVecItem, ManagedVecItemPayloadBuffer, ManagedVecRef, + ManagedVecItem, ManagedVecItemPayloadBuffer, Ref, }, }; @@ -191,7 +191,7 @@ impl IntoMultiValue for EsdtTokenPayment { impl ManagedVecItem for EsdtTokenPayment { type PAYLOAD = ManagedVecItemPayloadBuffer; const SKIPS_RESERIALIZATION: bool = false; - type Ref<'a> = ManagedVecRef<'a, Self>; + type Ref<'a> = Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let mut index = 0; @@ -205,7 +205,7 @@ impl ManagedVecItem for EsdtTokenPayment { } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - ManagedVecRef::new(Self::read_from_payload(payload)) + Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { diff --git a/framework/base/src/types/managed/wrapped/token/multi_egld_or_esdt_token_payment.rs b/framework/base/src/types/managed/wrapped/token/multi_egld_or_esdt_token_payment.rs index 342d62001b..7b112bc735 100644 --- a/framework/base/src/types/managed/wrapped/token/multi_egld_or_esdt_token_payment.rs +++ b/framework/base/src/types/managed/wrapped/token/multi_egld_or_esdt_token_payment.rs @@ -3,7 +3,7 @@ use crate::{ err_msg, types::{ BigUint, EgldOrEsdtTokenPayment, EgldOrEsdtTokenPaymentMultiValue, EsdtTokenPayment, - ManagedVec, MultiValueEncoded, + ManagedType, ManagedVec, MultiValueEncoded, PaymentVec, }, }; @@ -46,4 +46,10 @@ where encoded } + + /// Converts to the newer PaymentVec (ManagedVec). + pub fn into_payment_vec(self) -> PaymentVec { + // safe, because it is the same layout + unsafe { PaymentVec::from_handle(self.forget_into_handle()) } + } } diff --git a/framework/base/src/types/managed/wrapped/token/multi_transfer_marker.rs b/framework/base/src/types/managed/wrapped/token/multi_transfer_marker.rs new file mode 100644 index 0000000000..c115468cc5 --- /dev/null +++ b/framework/base/src/types/managed/wrapped/token/multi_transfer_marker.rs @@ -0,0 +1,26 @@ +use crate::{ + api::ManagedTypeApi, + types::{ManagedRef, PaymentVec}, +}; + +/// A wrapper that forces payments to go via MultiESDTtransfer, even if it wouldn't be necessary, such as: +/// - Just EGLD +/// - Single fungible ESDT transfers, +/// - Single NFT transfers. +/// +/// This contrasts with unwrapped PaymentVec, tries to use the simplest possible transfer type. +pub struct MultiTransfer

(pub P) +where + P: MultiTransferMarkerArg; + +/// Marks an allowed generic argument for MultiTransfer. +#[diagnostic::on_unimplemented( + message = "Type `{Self}` cannot be used in `MultiTransfer`", + label = "unsupported MultiTransfer argument", + note = "only `PaymentVec` and its references can be used as `MultiTransfer` arguments for now, please do signal the team if any other type is desired" +)] +pub trait MultiTransferMarkerArg {} + +impl MultiTransferMarkerArg for PaymentVec {} +impl MultiTransferMarkerArg for &PaymentVec {} +impl MultiTransferMarkerArg for ManagedRef<'_, M, PaymentVec> {} diff --git a/framework/base/src/types/managed/wrapped/token/payment.rs b/framework/base/src/types/managed/wrapped/token/payment.rs new file mode 100644 index 0000000000..45c6b873e6 --- /dev/null +++ b/framework/base/src/types/managed/wrapped/token/payment.rs @@ -0,0 +1,197 @@ +use generic_array::typenum::U16; +use multiversx_sc_codec::IntoMultiValue; + +use crate::{ + api::ManagedTypeApi, + types::{ + managed_vec_item_read_from_payload_index, managed_vec_item_save_to_payload_index, BigUint, + Egld, EsdtTokenPayment, EsdtTokenPaymentRefs, ManagedVecItem, ManagedVecItemPayloadBuffer, + NonZeroBigUint, PaymentMultiValue, PaymentRefs, Ref, TokenId, + }, +}; + +use crate as multiversx_sc; // needed by the codec and TypeAbi generated code +use crate::{ + codec::{ + self, + derive::{NestedEncode, TopEncode}, + NestedDecode, TopDecode, + }, + derive::type_abi, +}; + +use super::{EgldOrEsdtTokenIdentifier, EgldOrEsdtTokenPayment}; + +#[type_abi] +#[derive(TopEncode, NestedEncode, Clone, PartialEq, Eq, Debug)] +pub struct Payment { + pub token_identifier: TokenId, + pub token_nonce: u64, + pub amount: NonZeroBigUint, +} + +impl Payment { + #[inline] + pub fn new(token_identifier: TokenId, token_nonce: u64, amount: NonZeroBigUint) -> Self { + Payment { + token_identifier, + token_nonce, + amount, + } + } + + pub fn is_fungible(&self) -> bool { + self.token_nonce == 0 + } + + #[inline] + pub fn into_tuple(self) -> (TokenId, u64, NonZeroBigUint) { + (self.token_identifier, self.token_nonce, self.amount) + } + + #[inline] + pub fn as_tuple(&self) -> (&TokenId, u64, &NonZeroBigUint) { + (&self.token_identifier, self.token_nonce, &self.amount) + } + + /// Zero-cost conversion that loosens the EGLD restriction. + /// + /// It is always safe to do, since the 2 types are guaranteed to have the same layout. + pub fn as_egld_or_esdt_payment(&self) -> &EgldOrEsdtTokenPayment { + unsafe { core::mem::transmute(self) } + } + + /// Conversion that loosens the EGLD restriction. + pub fn into_egld_or_esdt_payment(self) -> EgldOrEsdtTokenPayment { + EgldOrEsdtTokenPayment { + token_identifier: EgldOrEsdtTokenIdentifier::esdt(self.token_identifier), + token_nonce: self.token_nonce, + amount: self.amount.into_big_uint(), + } + } + + /// Same as `map_egld_or_esdt`, but only takes a reference, + /// and consequently, the closures also only get references. + pub fn map_ref_egld_or_esdt( + &self, + context: Context, + for_egld: D, + for_esdt: F, + ) -> U + where + D: FnOnce(Context, Egld<&BigUint>) -> U, + F: FnOnce(Context, EsdtTokenPaymentRefs<'_, M>) -> U, + { + self.as_refs().map_egld_or_esdt(context, for_egld, for_esdt) + } + + pub fn map_egld_or_esdt(self, context: Context, for_egld: D, for_esdt: F) -> U + where + D: FnOnce(Context, Egld>) -> U, + F: FnOnce(Context, EsdtTokenPayment) -> U, + { + if self.token_identifier.is_native() { + for_egld(context, Egld(self.amount.into_big_uint())) + } else { + for_esdt( + context, + EsdtTokenPayment::new( + unsafe { self.token_identifier.into_esdt_unchecked() }, + self.token_nonce, + self.amount.into_big_uint(), + ), + ) + } + } + + pub fn as_refs(&self) -> PaymentRefs<'_, M> { + PaymentRefs::new(&self.token_identifier, self.token_nonce, &self.amount) + } +} + +impl AsRef> for &Payment +where + M: ManagedTypeApi, +{ + #[inline] + fn as_ref(&self) -> &Payment { + self + } +} + +impl From<(TokenId, u64, NonZeroBigUint)> for Payment { + #[inline] + fn from(value: (TokenId, u64, NonZeroBigUint)) -> Self { + let (token_identifier, token_nonce, amount) = value; + Self::new(token_identifier, token_nonce, amount) + } +} + +impl TopDecode for Payment { + fn top_decode_or_handle_err(top_input: I, h: H) -> Result + where + I: codec::TopDecodeInput, + H: codec::DecodeErrorHandler, + { + let mut nested_buffer = top_input.into_nested_buffer(); + let result = Self::dep_decode_or_handle_err(&mut nested_buffer, h)?; + if !codec::NestedDecodeInput::is_depleted(&nested_buffer) { + return Err(h.handle_error(codec::DecodeError::INPUT_TOO_LONG)); + } + Ok(result) + } +} + +impl NestedDecode for Payment { + fn dep_decode_or_handle_err(input: &mut I, h: H) -> Result + where + I: codec::NestedDecodeInput, + H: codec::DecodeErrorHandler, + { + Ok(Payment { + token_identifier: TokenId::::dep_decode_or_handle_err(input, h)?, + token_nonce: ::dep_decode_or_handle_err(input, h)?, + amount: NonZeroBigUint::::dep_decode_or_handle_err(input, h)?, + }) + } +} + +impl IntoMultiValue for Payment { + type MultiValue = PaymentMultiValue; + + #[inline] + fn into_multi_value(self) -> Self::MultiValue { + self.into() + } +} + +impl ManagedVecItem for Payment { + type PAYLOAD = ManagedVecItemPayloadBuffer; + const SKIPS_RESERIALIZATION: bool = false; + type Ref<'a> = Ref<'a, Self>; + + fn read_from_payload(payload: &Self::PAYLOAD) -> Self { + let mut index = 0; + unsafe { + Payment { + token_identifier: managed_vec_item_read_from_payload_index(payload, &mut index), + token_nonce: managed_vec_item_read_from_payload_index(payload, &mut index), + amount: managed_vec_item_read_from_payload_index(payload, &mut index), + } + } + } + + unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { + Ref::new(Self::read_from_payload(payload)) + } + + fn save_to_payload(self, payload: &mut Self::PAYLOAD) { + let mut index = 0; + + unsafe { + managed_vec_item_save_to_payload_index(self.token_identifier, payload, &mut index); + managed_vec_item_save_to_payload_index(self.token_nonce, payload, &mut index); + managed_vec_item_save_to_payload_index(self.amount, payload, &mut index); + } + } +} diff --git a/framework/base/src/types/managed/wrapped/token/payment_refs.rs b/framework/base/src/types/managed/wrapped/token/payment_refs.rs new file mode 100644 index 0000000000..15a172cac5 --- /dev/null +++ b/framework/base/src/types/managed/wrapped/token/payment_refs.rs @@ -0,0 +1,61 @@ +use crate::{ + api::ManagedTypeApi, + types::{BigUint, Egld, EsdtTokenPaymentRefs, ManagedRef, NonZeroBigUint, Payment, TokenId}, +}; + +/// The version of `Payment` that contains references instead of owned fields. +#[derive(Debug)] +pub struct PaymentRefs<'a, M: ManagedTypeApi> { + pub token_identifier: ManagedRef<'a, M, TokenId>, + pub token_nonce: u64, + pub amount: ManagedRef<'a, M, NonZeroBigUint>, +} + +impl<'a, M: ManagedTypeApi> PaymentRefs<'a, M> { + #[inline] + pub fn new( + token_identifier: &'a TokenId, + token_nonce: u64, + amount: &'a NonZeroBigUint, + ) -> Self { + PaymentRefs { + token_identifier: ManagedRef::new(token_identifier), + token_nonce, + amount: ManagedRef::new(amount), + } + } + + /// Will clone the referenced values. + pub fn to_owned(&self) -> Payment { + Payment { + token_identifier: self.token_identifier.clone(), + token_nonce: self.token_nonce, + amount: self.amount.clone(), + } + } + + /// Mostly used for communication with the VM. + pub fn map_egld_or_esdt( + &self, + context: Context, + for_egld: D, + for_esdt: F, + ) -> U + where + D: FnOnce(Context, Egld<&BigUint>) -> U, + F: FnOnce(Context, EsdtTokenPaymentRefs<'_, M>) -> U, + { + if self.token_identifier.is_native() { + for_egld(context, Egld(self.amount.as_big_uint())) + } else { + for_esdt( + context, + EsdtTokenPaymentRefs::new( + unsafe { self.token_identifier.as_esdt_unchecked() }, + self.token_nonce, + self.amount.as_big_uint(), + ), + ) + } + } +} diff --git a/framework/base/src/types/managed/wrapped/token/payment_vec.rs b/framework/base/src/types/managed/wrapped/token/payment_vec.rs new file mode 100644 index 0000000000..155e695529 --- /dev/null +++ b/framework/base/src/types/managed/wrapped/token/payment_vec.rs @@ -0,0 +1,37 @@ +use crate::{ + api::ManagedTypeApi, + types::{ManagedType, ManagedVec, MultiEgldOrEsdtPayment, Payment}, +}; + +/// Alias for a list of payments. +pub type PaymentVec = ManagedVec>; + +impl PaymentVec { + /// Converts to the legacy `MultiEgldOrEsdtPayment`. + /// + /// It is always safe to do, since the 2 types are guaranteed to have the same layout. + pub fn as_multi_egld_or_esdt_payment(&self) -> &MultiEgldOrEsdtPayment { + unsafe { core::mem::transmute(self) } + } + + /// Converts to the legacy `MultiEgldOrEsdtPayment`. + /// + /// It is always safe to do, since the 2 types are guaranteed to have the same layout. + pub fn into_multi_egld_or_esdt_payment(self) -> MultiEgldOrEsdtPayment { + unsafe { MultiEgldOrEsdtPayment::from_handle(self.forget_into_handle()) } + } +} + +impl From<()> for PaymentVec { + #[inline] + fn from(_value: ()) -> Self { + PaymentVec::new() + } +} + +impl From> for PaymentVec { + #[inline] + fn from(value: Payment) -> Self { + PaymentVec::from_single_item(value) + } +} diff --git a/framework/base/src/types/managed/wrapped/token/token_id.rs b/framework/base/src/types/managed/wrapped/token/token_id.rs new file mode 100644 index 0000000000..109e3182d9 --- /dev/null +++ b/framework/base/src/types/managed/wrapped/token/token_id.rs @@ -0,0 +1,299 @@ +use alloc::string::{String, ToString}; +use multiversx_chain_core::EGLD_000000_TOKEN_IDENTIFIER; + +use crate::{ + abi::{TypeAbi, TypeAbiFrom, TypeName}, + api::{quick_signal_error, HandleConstraints, ManagedTypeApi, ManagedTypeApiImpl}, + codec::*, + contract_base::BlockchainWrapper, + err_msg, + formatter::{FormatByteReceiver, SCDisplay, SCLowerHex}, + proxy_imports::TestTokenIdentifier, + types::{ + EgldOrEsdtTokenIdentifier, EsdtTokenIdentifier, ManagedBuffer, ManagedRef, ManagedType, + TokenIdentifier, + }, +}; + +/// Specialized type for handling token identifiers (e.g. ABCDEF-123456). +#[repr(transparent)] +#[derive(Clone)] +pub struct TokenId { + pub(crate) buffer: ManagedBuffer, +} + +impl ManagedType for TokenId { + type OwnHandle = M::ManagedBufferHandle; + + #[inline] + unsafe fn from_handle(handle: M::ManagedBufferHandle) -> Self { + TokenId { + buffer: ManagedBuffer::from_handle(handle), + } + } + + fn get_handle(&self) -> M::ManagedBufferHandle { + self.buffer.get_handle() + } + + unsafe fn forget_into_handle(self) -> Self::OwnHandle { + self.buffer.forget_into_handle() + } + + fn transmute_from_handle_ref(handle_ref: &M::ManagedBufferHandle) -> &Self { + unsafe { core::mem::transmute(handle_ref) } + } + + fn transmute_from_handle_ref_mut(handle_ref: &mut M::ManagedBufferHandle) -> &mut Self { + unsafe { core::mem::transmute(handle_ref) } + } +} + +impl TokenId { + pub fn new(data: ManagedBuffer) -> Self { + Self { buffer: data } + } + + pub fn new_backwards_compatible(data: ManagedBuffer) -> Self { + if data == EgldOrEsdtTokenIdentifier::::EGLD_REPRESENTATION { + Self::from(EGLD_000000_TOKEN_IDENTIFIER.as_bytes()) + } else { + Self { buffer: data } + } + } + + #[inline] + pub fn into_managed_buffer(self) -> ManagedBuffer { + self.buffer + } + + #[inline] + pub fn as_managed_buffer(&self) -> &ManagedBuffer { + &self.buffer + } + + #[inline] + pub fn into_legacy(self) -> EgldOrEsdtTokenIdentifier { + EgldOrEsdtTokenIdentifier { token_id: self } + } + + pub fn as_legacy(&self) -> &EgldOrEsdtTokenIdentifier { + // safe because of #[repr(transparent)] + unsafe { core::mem::transmute(self) } + } + + /// Converts to a specialized ESDT token idnetifier. + /// + /// ## Safety + /// + /// Leads to inconsistencies if the token is EGLD. + pub unsafe fn as_esdt_unchecked(&self) -> &EsdtTokenIdentifier { + // safe because of #[repr(transparent)] + unsafe { core::mem::transmute(self) } + } + + /// Converts to a specialized ESDT token idnetifier. + /// + /// ## Safety + /// + /// Leads to inconsistencies if the token is EGLD. + pub unsafe fn into_esdt_unchecked(self) -> EsdtTokenIdentifier { + EsdtTokenIdentifier { token_id: self } + } + + #[inline] + pub fn to_boxed_bytes(&self) -> crate::types::heap::BoxedBytes { + self.buffer.to_boxed_bytes() + } + + /// Checks if a token is the native one on the chain. Currently only returns true for `EGLD-000000`. + pub fn is_native(&self) -> bool { + BlockchainWrapper::::new().is_native_token(self) + } + + /// Checks the ESDT token identifier for validity. + /// + /// Will fail if it encodes an invalid ESDT token identifier. + pub fn is_valid(&self) -> bool { + M::managed_type_impl().validate_token_identifier(self.buffer.handle.clone()) + } + + /// Old method name. Kept for easier transition. Use `is_valid` instead. + pub fn is_valid_esdt_identifier(&self) -> bool { + self.is_valid() + } + + /// Extracts the ticker from the token identifier. + /// + /// E.g. for "ABCDEF-123456" it will return "ABCDEF". + pub fn ticker(&self) -> ManagedBuffer { + let buffer = self.as_managed_buffer(); + let token_id_len = buffer.len(); + let ticker_len = M::managed_type_impl().get_token_ticker_len(token_id_len); + buffer + .copy_slice(0, ticker_len) + .unwrap_or_else(|| quick_signal_error::(err_msg::BAD_TOKEN_TICKER_FORMAT)) + } +} + +impl AsRef> for TokenId { + fn as_ref(&self) -> &TokenId { + self + } +} + +impl AsRef> for EgldOrEsdtTokenIdentifier { + fn as_ref(&self) -> &TokenId { + self.as_token_id() + } +} + +impl From> for TokenId { + #[inline] + fn from(buffer: ManagedBuffer) -> Self { + TokenId { buffer } + } +} + +impl From> for TokenId { + #[inline] + fn from(token_id: EgldOrEsdtTokenIdentifier) -> Self { + token_id.token_id + } +} + +impl From<&[u8]> for TokenId { + fn from(bytes: &[u8]) -> Self { + TokenId { + buffer: ManagedBuffer::new_from_bytes(bytes), + } + } +} + +impl From<&[u8; N]> for TokenId { + fn from(bytes: &[u8; N]) -> Self { + TokenId { + buffer: ManagedBuffer::new_from_bytes(bytes), + } + } +} + +impl From<&str> for TokenId { + fn from(s: &str) -> Self { + TokenId::from(s.as_bytes()) + } +} + +impl From<&String> for TokenId { + fn from(s: &String) -> Self { + TokenId::from(s.as_bytes()) + } +} + +impl PartialEq for TokenId { + #[inline] + fn eq(&self, other: &Self) -> bool { + self.buffer == other.buffer + } +} + +impl Eq for TokenId {} + +impl NestedEncode for TokenId { + #[inline] + fn dep_encode_or_handle_err(&self, dest: &mut O, h: H) -> Result<(), H::HandledErr> + where + O: NestedEncodeOutput, + H: EncodeErrorHandler, + { + self.buffer.dep_encode_or_handle_err(dest, h) + } +} + +impl TopEncode for TokenId { + #[inline] + fn top_encode_or_handle_err(&self, output: O, h: H) -> Result<(), H::HandledErr> + where + O: TopEncodeOutput, + H: EncodeErrorHandler, + { + self.buffer.top_encode_or_handle_err(output, h) + } +} + +impl NestedDecode for TokenId { + fn dep_decode_or_handle_err(input: &mut I, h: H) -> Result + where + I: NestedDecodeInput, + H: DecodeErrorHandler, + { + Ok(Self::new_backwards_compatible( + ManagedBuffer::dep_decode_or_handle_err(input, h)?, + )) + } +} + +impl TopDecode for TokenId { + fn top_decode_or_handle_err(input: I, h: H) -> Result + where + I: TopDecodeInput, + H: DecodeErrorHandler, + { + Ok(Self::new_backwards_compatible( + ManagedBuffer::top_decode_or_handle_err(input, h)?, + )) + } +} + +impl TypeAbiFrom> for TokenId where M: ManagedTypeApi {} +impl TypeAbiFrom<&TokenIdentifier> for TokenId where M: ManagedTypeApi {} +impl TypeAbiFrom<&[u8]> for TokenId where M: ManagedTypeApi {} +impl TypeAbiFrom<&str> for TokenId where M: ManagedTypeApi {} + +impl TypeAbiFrom> for TokenId where M: ManagedTypeApi {} +impl TypeAbiFrom<&TestTokenIdentifier<'_>> for TokenId where M: ManagedTypeApi {} + +impl TypeAbiFrom for TokenId {} +impl TypeAbiFrom<&Self> for TokenId {} + +impl TypeAbi for TokenId { + type Unmanaged = Self; + + fn type_name() -> TypeName { + "TokenId".into() + } + + fn type_name_rust() -> TypeName { + "TokenId<$API>".into() + } +} + +impl SCDisplay for TokenId { + fn fmt(&self, f: &mut F) { + let cast_handle = self.buffer.get_handle().cast_or_signal_error::(); + let wrap_cast = unsafe { ManagedRef::wrap_handle(cast_handle) }; + f.append_managed_buffer(&wrap_cast); + } +} + +impl SCLowerHex for TokenId { + fn fmt(&self, f: &mut F) { + let cast_handle = self.buffer.get_handle().cast_or_signal_error::(); + let wrap_cast = unsafe { ManagedRef::wrap_handle(cast_handle) }; + f.append_managed_buffer_lower_hex(&wrap_cast); + } +} + +impl core::fmt::Display for TokenId { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + let bytes = self.buffer.to_boxed_bytes(); + let s = alloc::string::String::from_utf8_lossy(bytes.as_slice()); + s.fmt(f) + } +} + +impl core::fmt::Debug for TokenId { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("TokenId").field(&self.to_string()).finish() + } +} diff --git a/framework/derive/src/managed_vec_item_derive.rs b/framework/derive/src/managed_vec_item_derive.rs index 87b7bed64a..eae971fd83 100644 --- a/framework/derive/src/managed_vec_item_derive.rs +++ b/framework/derive/src/managed_vec_item_derive.rs @@ -156,7 +156,7 @@ fn enum_derive(data_enum: &syn::DataEnum, ast: &syn::DeriveInput) -> TokenStream impl #impl_generics multiversx_sc::types::ManagedVecItem for #name #ty_generics #where_clause { type PAYLOAD = <#payload_nested_tuple as multiversx_sc::types::ManagedVecItemEnumPayloadTuple>::EnumPayload; const SKIPS_RESERIALIZATION: bool = #skips_reserialization; - type Ref<'a> = multiversx_sc::types::ManagedVecRef<'a, Self>; + type Ref<'a> = multiversx_sc::types::Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let mut index = 0; @@ -174,7 +174,7 @@ fn enum_derive(data_enum: &syn::DataEnum, ast: &syn::DeriveInput) -> TokenStream } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - multiversx_sc::types::ManagedVecRef::new(Self::read_from_payload(payload)) + multiversx_sc::types::Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { @@ -221,7 +221,7 @@ fn struct_derive(data_struct: &syn::DataStruct, ast: &syn::DeriveInput) -> Token impl #impl_generics multiversx_sc::types::ManagedVecItem for #name #ty_generics #where_clause { type PAYLOAD = <#payload_nested_tuple as multiversx_sc::types::ManagedVecItemStructPayloadTuple>::StructPayload; const SKIPS_RESERIALIZATION: bool = #(#skips_reserialization_snippets)&&*; - type Ref<'a> = multiversx_sc::types::ManagedVecRef<'a, Self>; + type Ref<'a> = multiversx_sc::types::Ref<'a, Self>; fn read_from_payload(payload: &Self::PAYLOAD) -> Self { let mut index = 0; @@ -234,7 +234,7 @@ fn struct_derive(data_struct: &syn::DataStruct, ast: &syn::DeriveInput) -> Token } unsafe fn borrow_from_payload<'a>(payload: &Self::PAYLOAD) -> Self::Ref<'a> { - multiversx_sc::types::ManagedVecRef::new(Self::read_from_payload(payload)) + multiversx_sc::types::Ref::new(Self::read_from_payload(payload)) } fn save_to_payload(self, payload: &mut Self::PAYLOAD) { diff --git a/framework/derive/src/preprocessing/substitution_list.rs b/framework/derive/src/preprocessing/substitution_list.rs index 639c576622..385bccab2b 100644 --- a/framework/derive/src/preprocessing/substitution_list.rs +++ b/framework/derive/src/preprocessing/substitution_list.rs @@ -46,6 +46,7 @@ fn add_managed_types(substitutions: &mut SubstitutionsMap) { add_managed_type(substitutions, "e!(BigFloat)); add_managed_type(substitutions, "e!(BigInt)); add_managed_type(substitutions, "e!(BigUint)); + add_managed_type(substitutions, "e!(NonZeroBigUint)); add_managed_type(substitutions, "e!(EllipticCurveComponents)); add_managed_type(substitutions, "e!(EllipticCurve)); add_managed_type(substitutions, "e!(ManagedBuffer)); @@ -57,6 +58,7 @@ fn add_managed_types(substitutions: &mut SubstitutionsMap) { add_managed_type(substitutions, "e!(EsdtTokenPaymentMultiArg)); add_managed_type(substitutions, "e!(EsdtTokenPaymentMultiValue)); add_managed_type(substitutions, "e!(EgldOrEsdtTokenPaymentMultiValue)); + add_managed_type(substitutions, "e!(PaymentMultiValue)); add_managed_type_with_generics(substitutions, "e!(MultiValueEncodedIterator)); add_managed_type_with_generics(substitutions, "e!(MultiValueEncoded)); add_managed_type_with_generics(substitutions, "e!(ManagedVarArgs)); @@ -72,19 +74,23 @@ fn add_managed_types(substitutions: &mut SubstitutionsMap) { add_managed_type(substitutions, "e!(EgldOrEsdtTokenPayment)); add_managed_type(substitutions, "e!(EsdtTokenData)); add_managed_type(substitutions, "e!(EsdtTokenPayment)); + add_managed_type(substitutions, "e!(Payment)); add_managed_type(substitutions, "e!(ManagedAddress)); add_managed_type(substitutions, "e!(ManagedBufferBuilder)); + add_managed_type(substitutions, "e!(PaymentVec)); add_managed_type_with_generics(substitutions, "e!(ManagedByteArray)); add_managed_type_with_generics(substitutions, "e!(ManagedOption)); add_managed_type_with_generics(substitutions, "e!(ManagedRef)); add_managed_type_with_generics(substitutions, "e!(ManagedVecOwnedIterator)); add_managed_type_with_generics(substitutions, "e!(ManagedVecRefIterator)); add_managed_type_with_generics(substitutions, "e!(ManagedVecRef)); + add_managed_type_with_generics(substitutions, "e!(Ref)); add_managed_type_with_generics(substitutions, "e!(ManagedVec)); add_managed_type_with_generics(substitutions, "e!(PreloadedManagedBuffer)); add_managed_type(substitutions, "e!(RandomnessSource)); add_managed_type(substitutions, "e!(TokenIdentifier)); add_managed_type(substitutions, "e!(EsdtTokenIdentifier)); + add_managed_type(substitutions, "e!(TokenId)); add_managed_type(substitutions, "e!(FunctionCall)); } diff --git a/framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs b/framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs index 161c0783c0..b14a7eb2cf 100644 --- a/framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs +++ b/framework/meta-lib/src/cargo_toml/cargo_toml_contents.rs @@ -28,7 +28,7 @@ const AUTO_GENERATED: &str = "# Code generated by the multiversx-sc build system /// /// - Currently contains a raw toml tree, but in principle it could also work with a cargo_toml::Manifest. /// - It keeps an ordered representation, thanks to the `toml` `preserve_order` feature. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Default)] pub struct CargoTomlContents { pub path: PathBuf, pub toml_value: toml::Table, @@ -59,11 +59,7 @@ impl CargoTomlContents { } pub fn new() -> Self { - CargoTomlContents { - path: PathBuf::new(), - toml_value: Table::new(), - prepend_auto_generated_comment: false, - } + CargoTomlContents::default() } pub fn save_to_file>(&self, path: P) { diff --git a/framework/meta-lib/src/contract/generate_proxy/proxy_generator.rs b/framework/meta-lib/src/contract/generate_proxy/proxy_generator.rs index 2cb337d3b9..d7d2cc99df 100644 --- a/framework/meta-lib/src/contract/generate_proxy/proxy_generator.rs +++ b/framework/meta-lib/src/contract/generate_proxy/proxy_generator.rs @@ -37,8 +37,11 @@ const ZERO: &str = "0"; const TYPES_FROM_FRAMEWORK: &[&str] = &[ "EsdtTokenPayment", "EgldOrEsdtTokenPayment", + "Payment", "EsdtTokenData", "EgldOrEsdtTokenIdentifier", + "TokenIdentifier", + "TokenId", "EgldOrMultiEsdtPayment", "EsdtLocalRole", "EsdtTokenType", diff --git a/framework/scenario/src/scenario_macros.rs b/framework/scenario/src/scenario_macros.rs index d5cdb46922..4971f09f57 100644 --- a/framework/scenario/src/scenario_macros.rs +++ b/framework/scenario/src/scenario_macros.rs @@ -36,9 +36,9 @@ macro_rules! managed_token_id { #[macro_export] macro_rules! managed_token_id_wrapped { ($bytes:expr) => {{ - let ___esdt_token_id___ = - multiversx_sc::types::EsdtTokenIdentifier::from_esdt_bytes($bytes); - multiversx_sc::types::EgldOrEsdtTokenIdentifier::esdt(___esdt_token_id___) + multiversx_sc::types::EgldOrEsdtTokenIdentifier::esdt( + multiversx_sc::types::EsdtTokenIdentifier::from_esdt_bytes($bytes), + ) }}; } @@ -49,6 +49,13 @@ macro_rules! managed_egld_token_id { }}; } +#[macro_export] +macro_rules! token_id { + ($bytes:expr) => {{ + multiversx_sc::types::TokenId::from($bytes) + }}; +} + #[macro_export] macro_rules! assert_sc_error { ($sc_result:expr, $expected_string:expr) => {{ diff --git a/framework/scenario/tests/derive_managed_vec_item_enum_2_managed.rs b/framework/scenario/tests/derive_managed_vec_item_enum_2_managed.rs index 29012a42b3..f024cc15af 100644 --- a/framework/scenario/tests/derive_managed_vec_item_enum_2_managed.rs +++ b/framework/scenario/tests/derive_managed_vec_item_enum_2_managed.rs @@ -7,7 +7,7 @@ use multiversx_sc::{ derive::ManagedVecItem, types::{ BigUint, ManagedBuffer, ManagedType, ManagedVecItemPayload, ManagedVecItemPayloadBuffer, - ManagedVecRef, + Ref, }, }; use multiversx_sc_scenario::api::StaticApi; @@ -76,7 +76,7 @@ fn enum_from_bytes_reader_variant_2() { ; assert_eq!( enum_from_bytes, - ManagedVecRef::new(EnumWithFieldsManaged::::Variant2(mb)) + Ref::new(EnumWithFieldsManaged::::Variant2(mb)) ); } } diff --git a/framework/scenario/tests/token_identifier_test.rs b/framework/scenario/tests/token_id_legacy_test.rs similarity index 99% rename from framework/scenario/tests/token_identifier_test.rs rename to framework/scenario/tests/token_id_legacy_test.rs index bf84248069..6a610a8965 100644 --- a/framework/scenario/tests/token_identifier_test.rs +++ b/framework/scenario/tests/token_id_legacy_test.rs @@ -13,12 +13,15 @@ fn test_egld() { } #[test] -fn test_codec() { +fn test_codec_top() { check_managed_top_encode_decode( EgldOrEsdtTokenIdentifier::::egld(), EgldOrEsdtTokenIdentifier::::EGLD_REPRESENTATION, ); +} +#[test] +fn test_codec_nested() { let expected = BoxedBytes::from_concat(&[ &[0, 0, 0, 4], &EgldOrEsdtTokenIdentifier::::EGLD_REPRESENTATION[..], diff --git a/framework/scenario/tests/token_id_test.rs b/framework/scenario/tests/token_id_test.rs new file mode 100644 index 0000000000..486b5a513a --- /dev/null +++ b/framework/scenario/tests/token_id_test.rs @@ -0,0 +1,248 @@ +use multiversx_sc::{ + chain_core::EGLD_000000_TOKEN_IDENTIFIER, + types::{ + BoxedBytes, EgldOrEsdtTokenIdentifier, EgldOrEsdtTokenPayment, EsdtTokenIdentifier, + EsdtTokenPayment, ManagedBuffer, TokenId, + }, +}; +use multiversx_sc_scenario::{ + api::StaticApi, managed_test_util::check_managed_top_encode_decode, multiversx_sc, token_id, +}; + +#[test] +fn test_codec_top() { + check_managed_top_encode_decode( + TokenId::::from(EGLD_000000_TOKEN_IDENTIFIER), + EGLD_000000_TOKEN_IDENTIFIER.as_bytes(), + ); +} + +#[test] +fn test_codec_nested() { + let expected = BoxedBytes::from_concat(&[ + &[0, 0, 0, EGLD_000000_TOKEN_IDENTIFIER.len() as u8], + EGLD_000000_TOKEN_IDENTIFIER.as_bytes(), + ]); + check_managed_top_encode_decode( + vec![TokenId::::from(EGLD_000000_TOKEN_IDENTIFIER)], + expected.as_slice(), + ); +} + +#[test] +#[rustfmt::skip] +fn test_is_valid_esdt_identifier() { + // valid identifier + assert!(TokenId::::from("ALC-6258d2").is_valid_esdt_identifier()); + + // valid identifier with numbers in ticker + assert!(TokenId::::from("ALC123-6258d2").is_valid_esdt_identifier()); + + // valid ticker only numbers + assert!(TokenId::::from("12345-6258d2").is_valid_esdt_identifier()); + + // missing dash + assert!(!TokenId::::from("ALC6258d2").is_valid_esdt_identifier()); + + // wrong dash position + assert!(!TokenId::::from("AL-C6258d2").is_valid_esdt_identifier()); + + // lowercase ticker + assert!(!TokenId::::from("alc-6258d2").is_valid_esdt_identifier()); + + // uppercase random chars + assert!(!TokenId::::from("ALC-6258D2").is_valid_esdt_identifier()); + + // too many random chars + assert!(!TokenId::::from("ALC-6258d2ff").is_valid_esdt_identifier()); + + // ticker too short + assert!(!TokenId::::from("AL-6258d2").is_valid_esdt_identifier()); + + // ticker too long + assert!(!TokenId::::from("ALCCCCCCCCC-6258d2").is_valid_esdt_identifier()); +} + +#[test] +#[rustfmt::skip] +fn test_ticker() { + // valid identifier + assert_eq!( + TokenId::::from("ALC-6258d2").ticker(), + ManagedBuffer::::from("ALC"), + ); + + // valid identifier with numbers in ticker + assert_eq!( + TokenId::::from("ALC123-6258d2").ticker(), + ManagedBuffer::::from("ALC123"), + ); + + // valid ticker only numbers + assert_eq!( + TokenId::::from("12345-6258d2").ticker(), + ManagedBuffer::::from("12345"), + ); + + // missing dash + assert_eq!( + TokenId::::from("ALC6258d2").ticker(), + ManagedBuffer::::from("AL"), + ); + + // wrong dash position + assert_eq!( + TokenId::::from("AL-C6258d2").ticker(), + ManagedBuffer::::from("AL-"), + ); + + // lowercase ticker + assert_eq!( + TokenId::::from("alc-6258d2").ticker(), + ManagedBuffer::::from("alc"), + ); + + // uppercase random chars + assert_eq!( + TokenId::::from("ALC-6258D2").ticker(), + ManagedBuffer::::from("ALC"), + ); + + // too many random chars + assert_eq!( + TokenId::::from("ALC-6258d2ff").ticker(), + ManagedBuffer::::from("ALC-6"), + ); + + // ticker too short + assert_eq!( + TokenId::::from("AL-6258d2").ticker(), + ManagedBuffer::::from("AL"), + ); + + // ticker too long + assert_eq!( + TokenId::::from("ALCCCCCCCCC-6258d2").ticker(), + ManagedBuffer::::from("ALCCCCCCCCC"), + ); +} + +#[test] +fn test_is_valid_egld_or_esdt() { + // egld is always valid + assert!(EgldOrEsdtTokenIdentifier::::egld().is_valid()); + + // valid esdt + assert!(EgldOrEsdtTokenIdentifier::::esdt(TokenId::from("ALC-6258d2")).is_valid()); + + // invalid esdt, see above + assert!( + !EgldOrEsdtTokenIdentifier::::esdt(TokenId::from("ALCCCCCCCCC-6258d2")) + .is_valid() + ); +} + +#[test] +fn test_token_identifier_eq() { + assert_eq!( + TokenId::::from("ESDT-00000"), + TokenId::::from("ESDT-00000") + ); + assert_ne!( + TokenId::::from("ESDT-00001"), + TokenId::::from("ESDT-00002") + ); + + assert_eq!( + EgldOrEsdtTokenIdentifier::::esdt(TokenId::from("ESDT-00003")), + TokenId::::from("ESDT-00003").into_legacy() + ); + assert_ne!( + EgldOrEsdtTokenIdentifier::::egld(), + TokenId::::from("ANYTHING-1234").into_legacy() + ); + assert_ne!( + EgldOrEsdtTokenIdentifier::::egld(), + TokenId::::from("EGLD").into_legacy() + ); +} + +#[test] +fn test_payment_eq() { + assert_eq!( + EsdtTokenPayment::::new("PAY-00000".into(), 0, 1000u32.into()), + EsdtTokenPayment::::new("PAY-00000".into(), 0, 1000u32.into()), + ); + assert_ne!( + EsdtTokenPayment::::new("PAY-00001".into(), 0, 1000u32.into()), + EsdtTokenPayment::::new("PAY-00002".into(), 0, 1000u32.into()), + ); + assert_eq!( + EgldOrEsdtTokenPayment::::no_payment(), + EgldOrEsdtTokenPayment::::no_payment(), + ); + assert_eq!( + EgldOrEsdtTokenPayment::::new( + EgldOrEsdtTokenIdentifier::esdt("ESDTPAY-00000"), + 0, + 1000u32.into() + ), + EgldOrEsdtTokenPayment::::new( + EgldOrEsdtTokenIdentifier::esdt("ESDTPAY-00000"), + 0, + 1000u32.into() + ), + ); + assert_ne!( + EgldOrEsdtTokenPayment::::new( + EgldOrEsdtTokenIdentifier::esdt("ESDTPAY-00001"), + 0, + 1000u32.into() + ), + EgldOrEsdtTokenPayment::::new( + EgldOrEsdtTokenIdentifier::esdt("ESDTPAY-00002"), + 0, + 1000u32.into() + ), + ); + assert_ne!( + EgldOrEsdtTokenPayment::::new( + EgldOrEsdtTokenIdentifier::esdt("ESDTPAY-00001"), + 0, + 1000u32.into() + ), + EgldOrEsdtTokenPayment::::no_payment(), + ); +} + +#[test] +fn test_managed_token_id_macro() { + assert_eq!( + token_id!(b"ALC-6258d2"), + TokenId::::from("ALC-6258d2") + ); +} + +#[test] +fn test_token_id_to_string() { + assert_eq!( + TokenId::::from("ALC-6258d2").to_string(), + "ALC-6258d2" + ); + assert_eq!( + TokenId::::from("EGLD-00000").to_string(), + "EGLD-00000" + ); + assert_eq!( + EgldOrEsdtTokenIdentifier::::egld().to_string(), + "EGLD" + ); + assert_eq!( + EgldOrEsdtTokenIdentifier::::esdt(TokenId::from("EGLDORESDT-00001")).to_string(), + "EGLDORESDT-00001" + ); + assert_eq!( + EsdtTokenIdentifier::::from_esdt_bytes("ESDT-00001").to_string(), + "ESDT-00001" + ); +} diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 4f3e8c5218..73328e053b 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.89" +channel = "1.90" diff --git a/sdk/scenario-format/src/value_interpreter/parse_num.rs b/sdk/scenario-format/src/value_interpreter/parse_num.rs index 2f23c2bc7e..0d63973fa2 100644 --- a/sdk/scenario-format/src/value_interpreter/parse_num.rs +++ b/sdk/scenario-format/src/value_interpreter/parse_num.rs @@ -110,7 +110,7 @@ fn parse_unsigned(s: &str) -> Vec { let clean = s.replace(&['_', ','][..], ""); if clean.starts_with("0x") || clean.starts_with("0X") { let clean = &clean[2..]; - return if clean.len() % 2 == 0 { + return if clean.len().is_multiple_of(2) { hex::decode(clean).unwrap() } else { let even_bytes = format!("0{clean}"); diff --git a/tools/op-test-gen/src/op_gen_endpoints.rs b/tools/op-test-gen/src/op_gen_endpoints.rs index c2d303b3a4..66412c921f 100644 --- a/tools/op-test-gen/src/op_gen_endpoints.rs +++ b/tools/op-test-gen/src/op_gen_endpoints.rs @@ -2,47 +2,114 @@ use std::fmt::Write; use crate::{OperatorGroup, OperatorInfo, OperatorList}; +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum ValueType { + BigInt, + BigIntRef, + BigUint, + BigUintRef, + NonZeroBigUint, + NonZeroBigUintRef, + Usize, + I32, + I64, + U32, + U64, + Bool, +} + +impl ValueType { + pub fn as_str(&self) -> &'static str { + match self { + ValueType::BigInt => "BigInt", + ValueType::BigIntRef => "&BigInt", + ValueType::BigUint => "BigUint", + ValueType::BigUintRef => "&BigUint", + ValueType::NonZeroBigUint => "NonZeroBigUint", + ValueType::NonZeroBigUintRef => "&NonZeroBigUint", + ValueType::Usize => "usize", + ValueType::I32 => "i32", + ValueType::I64 => "i64", + ValueType::U32 => "u32", + ValueType::U64 => "u64", + ValueType::Bool => "bool", + } + } + + pub fn as_method_name_item(&self) -> &'static str { + match self { + ValueType::BigInt => "big_int", + ValueType::BigIntRef => "big_int_ref", + ValueType::BigUint => "big_uint", + ValueType::BigUintRef => "big_uint_ref", + ValueType::NonZeroBigUint => "non_zero_big_uint", + ValueType::NonZeroBigUintRef => "non_zero_big_uint_ref", + _ => self.as_str(), + } + } + + pub fn is_signed(self) -> bool { + matches!(self, ValueType::BigInt | ValueType::BigIntRef) + } + + pub fn is_big_uint(self) -> bool { + matches!(self, ValueType::BigUint | ValueType::BigUintRef) + } + + pub fn is_non_zero(self) -> bool { + matches!( + self, + ValueType::NonZeroBigUint | ValueType::NonZeroBigUintRef + ) + } +} + pub struct BigNumOperatorTestEndpoint { pub fn_name: String, pub op_info: OperatorInfo, - pub a_type: String, - pub b_type: String, - pub return_type: String, + pub a_mut: bool, + pub a_type: ValueType, + pub b_type: ValueType, + pub return_type: ValueType, pub body: String, } impl BigNumOperatorTestEndpoint { - pub fn new_bin( - fn_name: &str, + pub fn new( op_info: &OperatorInfo, - a_type: &str, - b_type: &str, - return_type: &str, + a_type: ValueType, + b_type: ValueType, + return_type: ValueType, ) -> Self { - let body = if !op_info.assign { + let body = if op_info.assign { format!( " - a {op} b + a {op} b; + a ", op = op_info.symbol() ) } else { format!( " - let mut r = a.clone(); - r {op} b; - r + a {op} b ", op = op_info.symbol() ) }; Self { - fn_name: fn_name.to_string(), + fn_name: format!( + "{}_{}_{}", + op_info.name, + a_type.as_method_name_item(), + b_type.as_method_name_item() + ), op_info: op_info.clone(), - a_type: a_type.to_string(), - b_type: b_type.to_string(), - return_type: return_type.to_string(), + a_mut: op_info.assign, // "mut a", for assign operator, so we can change a directly + a_type, + b_type, + return_type, body, } } @@ -52,65 +119,284 @@ impl BigNumOperatorTestEndpoint { out, " #[endpoint] - fn {}(&self, a: {}, b: {}) -> {} {{{}}}", - self.fn_name, self.a_type, self.b_type, self.return_type, self.body + fn {}(&self, {}a: {}, b: {}) -> {} {{{}}}", + self.fn_name, + if self.a_mut { "mut " } else { "" }, + self.a_type.as_str(), + self.b_type.as_str(), + self.return_type.as_str(), + self.body ) .unwrap(); } } -pub fn create_endpoints_for_op(op: &OperatorInfo) -> Vec { - let mut endpoints = Vec::new(); +fn append_all_combinations( + op: &OperatorInfo, + type_1: ValueType, + type_2: ValueType, + return_type: ValueType, + endpoints: &mut Vec, +) { + for a_type in [type_1, type_2] { + for b_type in [type_1, type_2] { + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + a_type, + b_type, + return_type, + )); + } + } +} - if op.group == OperatorGroup::Arithmetic { - // Binary operator endpoint - endpoints.push(BigNumOperatorTestEndpoint::new_bin( - &format!("{}_big_int", op.name), +fn add_u32_u64_endpoints( + op: &OperatorInfo, + owned_type: ValueType, + opt_ref_type: Option, + endpoints: &mut Vec, +) { + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + owned_type, + ValueType::U32, + owned_type, + )); + if let Some(ref_type) = opt_ref_type { + endpoints.push(BigNumOperatorTestEndpoint::new( op, - "BigInt", - "BigInt", - "BigInt", + ref_type, + ValueType::U32, + owned_type, )); - endpoints.push(BigNumOperatorTestEndpoint::new_bin( - &format!("{}_big_int_ref", op.name), + } + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + owned_type, + ValueType::U64, + owned_type, + )); + if let Some(ref_type) = opt_ref_type { + endpoints.push(BigNumOperatorTestEndpoint::new( op, - "&BigInt", - "&BigInt", - "BigInt", + ref_type, + ValueType::U64, + owned_type, )); } +} - if op.group == OperatorGroup::Shift { - endpoints.push(BigNumOperatorTestEndpoint::new_bin( - &format!("{}_big_uint", op.name), +fn add_cmp_small_int_endpoints( + op: &OperatorInfo, + owned_type: ValueType, + endpoints: &mut Vec, +) { + for small_int_type in [ + ValueType::I32, + ValueType::I64, + ValueType::U32, + ValueType::U64, + ] { + endpoints.push(BigNumOperatorTestEndpoint::new( op, - "BigUint", - "usize", - "BigUint", - )); - endpoints.push(BigNumOperatorTestEndpoint::new_bin( - &format!("{}_big_uint_ref", op.name), - op, - "&BigUint", - "usize", - "BigUint", - )); - } else { - endpoints.push(BigNumOperatorTestEndpoint::new_bin( - &format!("{}_big_uint", op.name), - op, - "BigUint", - "BigUint", - "BigUint", - )); - endpoints.push(BigNumOperatorTestEndpoint::new_bin( - &format!("{}_big_uint_ref", op.name), - op, - "&BigUint", - "&BigUint", - "BigUint", + owned_type, + small_int_type, + ValueType::Bool, )); } +} + +pub fn create_endpoints_for_op(op: &OperatorInfo) -> Vec { + let mut endpoints = Vec::new(); + + match op.group { + OperatorGroup::Arithmetic => { + if op.assign { + // Assign operators, +=, -=, etc. + // They only have the owned type as first argument + // BigInt + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigInt, + ValueType::BigInt, + ValueType::BigInt, + )); + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigInt, + ValueType::BigIntRef, + ValueType::BigInt, + )); + // BigUint + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigUint, + ValueType::BigUint, + ValueType::BigUint, + )); + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigUint, + ValueType::BigUintRef, + ValueType::BigUint, + )); + add_u32_u64_endpoints(op, ValueType::BigUint, None, &mut endpoints); + + // NonZeroBigUint + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::NonZeroBigUint, + ValueType::NonZeroBigUint, + ValueType::NonZeroBigUint, + )); + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::NonZeroBigUint, + ValueType::NonZeroBigUintRef, + ValueType::NonZeroBigUint, + )); + + // NonZeroBigUint += BigUint/&BigUint + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::NonZeroBigUint, + ValueType::BigUint, + ValueType::NonZeroBigUint, + )); + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::NonZeroBigUint, + ValueType::BigUintRef, + ValueType::NonZeroBigUint, + )); + + // NonZeroBigUint += u32/u64 + add_u32_u64_endpoints(op, ValueType::NonZeroBigUint, None, &mut endpoints); + } else { + // Direct, non-assign operators, +-*/% + // BigInt + append_all_combinations( + op, + ValueType::BigInt, + ValueType::BigIntRef, + ValueType::BigInt, + &mut endpoints, + ); + + // BigUint + append_all_combinations( + op, + ValueType::BigUint, + ValueType::BigUintRef, + ValueType::BigUint, + &mut endpoints, + ); + add_u32_u64_endpoints( + op, + ValueType::BigUint, + Some(ValueType::BigUintRef), + &mut endpoints, + ); + + // NonZeroBigUint + append_all_combinations( + op, + ValueType::NonZeroBigUint, + ValueType::NonZeroBigUintRef, + ValueType::NonZeroBigUint, + &mut endpoints, + ); + + add_u32_u64_endpoints( + op, + ValueType::NonZeroBigUint, + Some(ValueType::NonZeroBigUintRef), + &mut endpoints, + ); + } + } + OperatorGroup::Bitwise => { + // Bitwise operators are only defined for BigUint + if op.assign { + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigUint, + ValueType::BigUint, + ValueType::BigUint, + )); + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigUint, + ValueType::BigUintRef, + ValueType::BigUint, + )); + + add_u32_u64_endpoints(op, ValueType::BigUint, None, &mut endpoints); + } else { + append_all_combinations( + op, + ValueType::BigUint, + ValueType::BigUintRef, + ValueType::BigUint, + &mut endpoints, + ); + + add_u32_u64_endpoints( + op, + ValueType::BigUint, + Some(ValueType::BigUintRef), + &mut endpoints, + ); + } + } + OperatorGroup::Shift => { + // Shift operators are only defined for BigUint and usize + if op.assign { + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigUint, + ValueType::Usize, + ValueType::BigUint, + )); + } else { + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigUint, + ValueType::Usize, + ValueType::BigUint, + )); + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigUintRef, + ValueType::Usize, + ValueType::BigUint, + )); + } + } + OperatorGroup::Cmp => { + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigInt, + ValueType::BigInt, + ValueType::Bool, + )); + add_cmp_small_int_endpoints(op, ValueType::BigInt, &mut endpoints); + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::BigUint, + ValueType::BigUint, + ValueType::Bool, + )); + add_cmp_small_int_endpoints(op, ValueType::BigUint, &mut endpoints); + endpoints.push(BigNumOperatorTestEndpoint::new( + op, + ValueType::NonZeroBigUint, + ValueType::NonZeroBigUint, + ValueType::Bool, + )); + add_cmp_small_int_endpoints(op, ValueType::NonZeroBigUint, &mut endpoints); + } + } endpoints } diff --git a/tools/op-test-gen/src/op_gen_lib.rs b/tools/op-test-gen/src/op_gen_lib.rs index 106da2233d..5ef7df95e9 100644 --- a/tools/op-test-gen/src/op_gen_lib.rs +++ b/tools/op-test-gen/src/op_gen_lib.rs @@ -2,7 +2,7 @@ mod op_gen_endpoints; mod op_gen_scenario; mod op_list; -pub use op_gen_endpoints::{create_all_endpoints, BigNumOperatorTestEndpoint}; +pub use op_gen_endpoints::{create_all_endpoints, BigNumOperatorTestEndpoint, ValueType}; pub use op_gen_scenario::write_scenarios; pub use op_list::{OperatorGroup, OperatorInfo, OperatorList}; @@ -31,6 +31,8 @@ pub fn generate_big_int_operators_trait() -> String { let ops = OperatorList::create(); let endpoints = create_all_endpoints(&ops); + println!("Generated {} endpoints.", endpoints.len()); + section_comment(&mut out, "Arithmetic binary operators"); write_filtered_endpoints(&endpoints, OperatorGroup::Arithmetic, false, &mut out); @@ -49,6 +51,9 @@ pub fn generate_big_int_operators_trait() -> String { section_comment(&mut out, "Bitwise shift assign operators"); write_filtered_endpoints(&endpoints, OperatorGroup::Shift, true, &mut out); + section_comment(&mut out, "Equality/comparison operators"); + write_filtered_endpoints(&endpoints, OperatorGroup::Cmp, false, &mut out); + writeln!(&mut out, "\n}}").unwrap(); out @@ -64,7 +69,7 @@ multiversx_sc::imports!(); /// Checks that BigUint/BigInt operators work as expected. #[multiversx_sc::module] -#[allow(clippy::redundant_clone)] +#[rustfmt::skip] pub trait BigIntOperators { // Endpoints grouped into several sections:"#; diff --git a/tools/op-test-gen/src/op_gen_scenario.rs b/tools/op-test-gen/src/op_gen_scenario.rs index e4bf20a10d..55a3f94fd2 100644 --- a/tools/op-test-gen/src/op_gen_scenario.rs +++ b/tools/op-test-gen/src/op_gen_scenario.rs @@ -8,7 +8,7 @@ use multiversx_sc_scenario::scenario_format::interpret_trait::{InterpreterContex use multiversx_sc_scenario::scenario_model::Step; use crate::op_list::BaseOperator; -use crate::{create_all_endpoints, BigNumOperatorTestEndpoint, OperatorList}; +use crate::{create_all_endpoints, BigNumOperatorTestEndpoint, OperatorList, ValueType}; const SC_ADDRESS_EXPR: &str = "sc:basic-features"; @@ -22,6 +22,9 @@ pub fn write_scenarios() { write_scenario_shift( "../../contracts/feature-tests/basic-features/scenarios/big_num_ops_shift.scen.json", ); + write_scenario_cmp( + "../../contracts/feature-tests/basic-features/scenarios/big_num_ops_cmp.scen.json", + ); } pub fn write_scenario_arith(target_path: &str) { @@ -49,48 +52,95 @@ pub fn write_scenario_arith(target_path: &str) { } } + println!( + "Generated {} test queries for arithmetic operators.", + scenario.steps.len() - 1 + ); + save_scenario(scenario, target_path); } -fn eval_op_arith( +/// Returns an Option to allow the `?` syntax. +/// +/// `None` means that the combination of inputs should be ignored (and not produce a test). +fn discard_invalid_inputs( a: &num_bigint::BigInt, b: &num_bigint::BigInt, endpoint: &BigNumOperatorTestEndpoint, -) -> Option { - if !signed_type(&endpoint.a_type) && a.is_negative() { +) -> Option<()> { + if !endpoint.a_type.is_signed() && a.is_negative() { + return None; + } + if !endpoint.b_type.is_signed() && b.is_negative() { + return None; + } + if endpoint.a_type.is_non_zero() && a.is_zero() { return None; } - if !signed_type(&endpoint.b_type) && b.is_negative() { + if endpoint.b_type.is_non_zero() && b.is_zero() { return None; } + if endpoint.b_type == ValueType::U32 && b > &num_bigint::BigInt::from(u32::MAX) { + return None; + } + if endpoint.b_type == ValueType::U64 && b > &num_bigint::BigInt::from(i64::MAX) { + // conversion to i64 is needed, as BigInt does not support u64 directly + // anything above i64::MAX is not supported + return None; + } + Some(()) +} + +fn eval_op_arith( + a: &num_bigint::BigInt, + b: &num_bigint::BigInt, + endpoint: &BigNumOperatorTestEndpoint, +) -> Option { + discard_invalid_inputs(a, b, endpoint)?; match endpoint.op_info.base_operator { - BaseOperator::Add => tx_expect_ok(endpoint, a + b), + BaseOperator::Add => tx_expect_big_num_ok(endpoint, a + b), BaseOperator::Sub => { let result = a - b; - if !signed_type(&endpoint.return_type) && result.is_negative() { - Some(TxExpect::err( + if !endpoint.return_type.is_signed() && result.is_negative() { + return Some(TxExpect::err( 4, "str:cannot subtract because result would be negative", - )) - } else { - tx_expect_ok(endpoint, result) + )); } + if endpoint.return_type.is_non_zero() && result.is_zero() { + return Some(TxExpect::err(4, "str:zero value not allowed")); + } + tx_expect_big_num_ok(endpoint, result) + } + BaseOperator::Mul => { + let result = a * b; + if endpoint.return_type.is_non_zero() && result.is_zero() { + return Some(TxExpect::err(4, "str:zero value not allowed")); + } + tx_expect_big_num_ok(endpoint, result) } - BaseOperator::Mul => tx_expect_ok(endpoint, a * b), BaseOperator::Div => { if b.is_zero() { - Some(TxExpect::err(10, "str:division by 0")) - } else { - tx_expect_ok(endpoint, a / b) + return Some(TxExpect::err(10, "str:division by 0")); + } + + let result = a / b; + if endpoint.return_type.is_non_zero() && result.is_zero() { + return Some(TxExpect::err(4, "str:zero value not allowed")); } + tx_expect_big_num_ok(endpoint, result) } BaseOperator::Rem => { if b.is_zero() { - Some(TxExpect::err(10, "str:division by 0")) - } else { - tx_expect_ok(endpoint, a % b) + return Some(TxExpect::err(10, "str:division by 0")); } + + let result = a % b; + if endpoint.return_type.is_non_zero() && result.is_zero() { + return Some(TxExpect::err(4, "str:zero value not allowed")); + } + tx_expect_big_num_ok(endpoint, result) } _ => None, } @@ -121,6 +171,11 @@ pub fn write_scenario_bitwise(target_path: &str) { } } + println!( + "Generated {} test queries for bitwise operators.", + scenario.steps.len() - 1 + ); + save_scenario(scenario, target_path); } @@ -133,11 +188,19 @@ fn eval_op_bitwise( !a.is_negative() && !b.is_negative(), "Bitwise ops only for non-negative numbers" ); + if endpoint.b_type == ValueType::U32 && b > &num_bigint::BigInt::from(u32::MAX) { + return None; + } + if endpoint.b_type == ValueType::U64 && b > &num_bigint::BigInt::from(i64::MAX) { + // conversion to i64 is needed, as BigInt does not support u64 directly + // anything above i64::MAX is not supported + return None; + } match endpoint.op_info.base_operator { - BaseOperator::BitAnd => tx_expect_ok(endpoint, a & b), - BaseOperator::BitOr => tx_expect_ok(endpoint, a | b), - BaseOperator::BitXor => tx_expect_ok(endpoint, a ^ b), + BaseOperator::BitAnd => tx_expect_big_num_ok(endpoint, a & b), + BaseOperator::BitOr => tx_expect_big_num_ok(endpoint, a | b), + BaseOperator::BitXor => tx_expect_big_num_ok(endpoint, a ^ b), _ => None, } } @@ -170,6 +233,11 @@ pub fn write_scenario_shift(target_path: &str) { } } + println!( + "Generated {} test queries for shift operators.", + scenario.steps.len() - 1 + ); + save_scenario(scenario, target_path); } @@ -187,12 +255,57 @@ fn eval_op_shift( BaseOperator::Shl => { // For shifts, BigInt does not support shifting by BigInt directly. let shift_amount = b.to_usize()?; - tx_expect_ok(endpoint, a << shift_amount) + tx_expect_big_num_ok(endpoint, a << shift_amount) } BaseOperator::Shr => { let shift_amount = b.to_usize()?; - tx_expect_ok(endpoint, a >> shift_amount) + tx_expect_big_num_ok(endpoint, a >> shift_amount) + } + _ => None, + } +} + +pub fn write_scenario_cmp(target_path: &str) { + let mut scenario = create_scenario(); + let ops = OperatorList::create(); + let endpoints = create_all_endpoints(&ops); + + let numbers = vec![ + num_bigint::BigInt::from(0), + num_bigint::BigInt::from(1), + num_bigint::BigInt::from(-1), + ]; + + for endpoint in endpoints { + for a in &numbers { + for b in &numbers { + if let Some(tx_expect) = eval_op_cmp(a, b, &endpoint) { + add_query(&mut scenario, &endpoint, a, b, tx_expect); + } + } } + } + + println!( + "Generated {} test queries for comparison operators.", + scenario.steps.len() - 1 + ); + + save_scenario(scenario, target_path); +} + +fn eval_op_cmp( + a: &num_bigint::BigInt, + b: &num_bigint::BigInt, + endpoint: &BigNumOperatorTestEndpoint, +) -> Option { + discard_invalid_inputs(a, b, endpoint)?; + match endpoint.op_info.base_operator { + BaseOperator::Eq => tx_expect_bool_ok(a == b), + BaseOperator::Gt => tx_expect_bool_ok(a > b), + BaseOperator::Ge => tx_expect_bool_ok(a >= b), + BaseOperator::Lt => tx_expect_bool_ok(a < b), + BaseOperator::Le => tx_expect_bool_ok(a <= b), _ => None, } } @@ -224,19 +337,20 @@ fn save_scenario(scenario: Scenario, target_path: &str) { println!("Successfully rewrote {}", target_path); } -fn tx_expect_ok( +fn tx_expect_big_num_ok( endpoint: &BigNumOperatorTestEndpoint, result: num_bigint::BigInt, ) -> Option { - Some(TxExpect::ok().result(&serialize_arg(&endpoint.return_type, &result))) + Some(TxExpect::ok().result(&serialize_arg(endpoint.return_type, &result))) } -fn signed_type(arg_type: &str) -> bool { - arg_type == "BigInt" || arg_type == "&BigInt" +fn tx_expect_bool_ok(result: bool) -> Option { + let bool_str = if result { "true" } else { "false" }; + Some(TxExpect::ok().result(bool_str)) } -fn serialize_arg(arg_type: &str, n: &num_bigint::BigInt) -> String { - if signed_type(arg_type) && n.is_positive() { +fn serialize_arg(arg_type: ValueType, n: &num_bigint::BigInt) -> String { + if arg_type.is_signed() && n.is_positive() { format!("+{n}") } else { n.to_string() @@ -255,8 +369,8 @@ fn add_query( .id(format!("{}({},{})", endpoint.fn_name, a, b)) .to(SC_ADDRESS_EXPR) .function(&endpoint.fn_name) - .argument(&serialize_arg(&endpoint.a_type, a)) - .argument(&serialize_arg(&endpoint.b_type, b)) + .argument(&serialize_arg(endpoint.a_type, a)) + .argument(&serialize_arg(endpoint.b_type, b)) .expect(tx_expect), )); } diff --git a/tools/op-test-gen/src/op_list.rs b/tools/op-test-gen/src/op_list.rs index db29f2e4f2..26ea01639e 100644 --- a/tools/op-test-gen/src/op_list.rs +++ b/tools/op-test-gen/src/op_list.rs @@ -10,6 +10,11 @@ pub enum BaseOperator { BitXor, Shr, Shl, + Eq, + Gt, + Ge, + Lt, + Le, } impl BaseOperator { @@ -25,6 +30,11 @@ impl BaseOperator { BaseOperator::BitXor => "^", BaseOperator::Shr => ">>", BaseOperator::Shl => "<<", + BaseOperator::Eq => "==", + BaseOperator::Gt => ">", + BaseOperator::Ge => ">=", + BaseOperator::Lt => "<", + BaseOperator::Le => "<=", } } @@ -53,6 +63,11 @@ impl OperatorInfo { pub fn assign(self) -> Self { assert!(!self.assign, "Operator is already an assign operator"); + assert_ne!( + self.group, + OperatorGroup::Cmp, + "comparison groups have no assign variant" + ); Self { name: format!("{}_assign", self.name), base_operator: self.base_operator, @@ -75,31 +90,42 @@ pub enum OperatorGroup { Arithmetic, Bitwise, Shift, + Cmp, } pub struct OperatorList(pub Vec); impl OperatorList { pub fn create() -> Self { - let binary_operators = vec![ - // Arithmetic binary operators + OperatorList(vec![ + // Direct variants OperatorInfo::new("add", BaseOperator::Add, OperatorGroup::Arithmetic), OperatorInfo::new("sub", BaseOperator::Sub, OperatorGroup::Arithmetic), OperatorInfo::new("mul", BaseOperator::Mul, OperatorGroup::Arithmetic), OperatorInfo::new("div", BaseOperator::Div, OperatorGroup::Arithmetic), OperatorInfo::new("rem", BaseOperator::Rem, OperatorGroup::Arithmetic), - // Bitwise binary operators OperatorInfo::new("bit_and", BaseOperator::BitAnd, OperatorGroup::Bitwise), OperatorInfo::new("bit_or", BaseOperator::BitOr, OperatorGroup::Bitwise), OperatorInfo::new("bit_xor", BaseOperator::BitXor, OperatorGroup::Bitwise), - // Bitwise shift binary operators OperatorInfo::new("shr", BaseOperator::Shr, OperatorGroup::Shift), OperatorInfo::new("shl", BaseOperator::Shl, OperatorGroup::Shift), - ]; - - let mut all_operators = Vec::new(); - all_operators.extend(binary_operators.iter().cloned()); - all_operators.extend(binary_operators.iter().cloned().map(|op| op.assign())); - OperatorList(all_operators) + // Assign variants + OperatorInfo::new("add", BaseOperator::Add, OperatorGroup::Arithmetic).assign(), + OperatorInfo::new("sub", BaseOperator::Sub, OperatorGroup::Arithmetic).assign(), + OperatorInfo::new("mul", BaseOperator::Mul, OperatorGroup::Arithmetic).assign(), + OperatorInfo::new("div", BaseOperator::Div, OperatorGroup::Arithmetic).assign(), + OperatorInfo::new("rem", BaseOperator::Rem, OperatorGroup::Arithmetic).assign(), + OperatorInfo::new("bit_and", BaseOperator::BitAnd, OperatorGroup::Bitwise).assign(), + OperatorInfo::new("bit_or", BaseOperator::BitOr, OperatorGroup::Bitwise).assign(), + OperatorInfo::new("bit_xor", BaseOperator::BitXor, OperatorGroup::Bitwise).assign(), + OperatorInfo::new("shr", BaseOperator::Shr, OperatorGroup::Shift).assign(), + OperatorInfo::new("shl", BaseOperator::Shl, OperatorGroup::Shift).assign(), + // Equality/comparison + OperatorInfo::new("eq", BaseOperator::Eq, OperatorGroup::Cmp), + OperatorInfo::new("gt", BaseOperator::Gt, OperatorGroup::Cmp), + OperatorInfo::new("ge", BaseOperator::Ge, OperatorGroup::Cmp), + OperatorInfo::new("lt", BaseOperator::Lt, OperatorGroup::Cmp), + OperatorInfo::new("le", BaseOperator::Le, OperatorGroup::Cmp), + ]) } } diff --git a/tools/rust-debugger/format-tests/src/format_tests.rs b/tools/rust-debugger/format-tests/src/format_tests.rs index 5fd8628615..4e878b2df6 100644 --- a/tools/rust-debugger/format-tests/src/format_tests.rs +++ b/tools/rust-debugger/format-tests/src/format_tests.rs @@ -41,6 +41,9 @@ fn main() { let biguint: BigUint = num_bigint_large.to_biguint().unwrap().into(); push!(to_check, biguint, "1000000000000000000000000000000"); + let nonzerobiguint: NonZeroBigUint = NonZeroBigUint::new_or_panic(biguint); + push!(to_check, nonzerobiguint, "1000000000000000000000000000000"); + let bigint: BigInt = num_bigint_negative.clone().into(); push!(to_check, bigint, "-1000000000000000000000000000000"); @@ -92,8 +95,10 @@ fn main() { ManagedByteArray::new_from_bytes(b"test"); push!(to_check, managed_byte_array, "\"test\" - (4) 0x74657374"); - let managed_option_some_token_identifier: ManagedOption> = - ManagedOption::some(token_identifier.clone()); + let managed_option_some_token_identifier: ManagedOption< + DebugApi, + EsdtTokenIdentifier, + > = ManagedOption::some(token_identifier.clone()); push!( to_check, managed_option_some_token_identifier, diff --git a/tools/rust-debugger/pretty-printers/multiversx_sc_lldb_pretty_printers.py b/tools/rust-debugger/pretty-printers/multiversx_sc_lldb_pretty_printers.py index 42236c8127..e8090789b7 100644 --- a/tools/rust-debugger/pretty-printers/multiversx_sc_lldb_pretty_printers.py +++ b/tools/rust-debugger/pretty-printers/multiversx_sc_lldb_pretty_printers.py @@ -32,7 +32,8 @@ # 3. SC wasm - Managed wrapped types ## 3a. general MANAGED_WRAPPED_PATH = "multiversx_sc::types::managed::wrapped" -BIG_UINT_TYPE = f"{MANAGED_WRAPPED_PATH}::big_uint::BigUint<{DEBUG_API_TYPE} ?>" +BIG_UINT_TYPE = f"{MANAGED_WRAPPED_PATH}::num::big_uint::BigUint<{DEBUG_API_TYPE} ?>" +NON_ZERO_BIG_UINT_TYPE = f"{MANAGED_WRAPPED_PATH}::num::non_zero_big_uint::NonZeroBigUint<{DEBUG_API_TYPE} ?>" MANAGED_ADDRESS_TYPE = f"{MANAGED_WRAPPED_PATH}::managed_address::ManagedAddress<{DEBUG_API_TYPE} ?>" MANAGED_BYTE_ARRAY_TYPE = f"{MANAGED_WRAPPED_PATH}::managed_byte_array::ManagedByteArray<{DEBUG_API_TYPE} ?>" ## 3b. tokens & payments @@ -369,7 +370,7 @@ def value_summary(self, big_uint: lldb.value, context: lldb.value, type_info: ll class EsdtTokenIdentifier(PlainManagedVecItem, ManagedType): def lookup(self, token_identifier: lldb.value) -> lldb.value: - return token_identifier.data.buffer + return token_identifier.token_id.buffer def value_summary(self, buffer: lldb.value, context: lldb.value, type_info: lldb.SBType) -> str: return buffer_as_string(buffer) @@ -454,7 +455,7 @@ def to_string(self, token_id: str, nonce: int, amount: str) -> str: class EgldOrEsdtTokenIdentifier(PlainManagedVecItem, ManagedType): def lookup(self, egld_or_esdt_token_identifier: lldb.value) -> lldb.value: - return egld_or_esdt_token_identifier.buffer + return egld_or_esdt_token_identifier.token_id.buffer def value_summary(self, buffer: lldb.value, context: lldb.value, type_info: lldb.SBType) -> str: token_id = buffer_as_string(buffer) @@ -526,6 +527,7 @@ def summary(self, optional_value: lldb.value) -> str: (MANAGED_BUFFER_TYPE, ManagedBuffer), # 3. SC wasm - Managed wrapped types (BIG_UINT_TYPE, BigUint), + (NON_ZERO_BIG_UINT_TYPE, BigUint), (ESDT_TOKEN_IDENTIFIER_TYPE, EsdtTokenIdentifier), (MANAGED_ADDRESS_TYPE, ManagedAddress), (MANAGED_BYTE_ARRAY_TYPE, ManagedByteArray),