45 lines
1.6 KiB
JSON
45 lines
1.6 KiB
JSON
[
|
|
{
|
|
"caption": "Sample test",
|
|
"source": "./res/sample1.wasm",
|
|
"address": "0x1000000000000000000000000000000000000001",
|
|
"sender": "0x1000000000000000000000000000000000000002",
|
|
"value": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"gasLimit": 100000,
|
|
"payload": "0x",
|
|
"asserts": [
|
|
{ "Return": "0x01" },
|
|
{ "UsedGas": 17 },
|
|
{ "HasCall": { "codeAddress": "0x1000000000000000000000000000000000000002" }},
|
|
{ "HasStorage":
|
|
{
|
|
"key": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
"value": "0x0000000000000000000000000000000000000000000000000000000000000002"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"caption": "Keccak test",
|
|
"source": "./res/sample2.wasm",
|
|
"payload": "0x736f6d657468696e67",
|
|
"gasLimit": 100000,
|
|
"asserts": [
|
|
{ "Return": "0x68371d7e884c168ae2022c82bd837d51837718a7f7dfb7aa3f753074a35e1d87" }
|
|
]
|
|
},
|
|
{
|
|
"caption": "Token total supply",
|
|
"source": {
|
|
"constructor": "./res/sample3.wasm",
|
|
"sender": "0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f",
|
|
"at": "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
|
|
"arguments": "0x0000000000000000000000000000000000000000000000000000000010000000"
|
|
},
|
|
"payload": "0x18160ddd",
|
|
"gasLimit": 100000,
|
|
"asserts": [
|
|
{ "Return": "0x0000000000000000000000000000000000000000000000000000000010000000" }
|
|
]
|
|
}
|
|
] |