tx · EziYtTki7W3KgfvnSNtWy2JubxTsj1qcdpxx4wsSJPa1
3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj: -0.05000000 Waves
2019.11.22 07:06 [775899] smart account 3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj > SELF 0.00000000 Waves
{
"type": 13,
"id": "EziYtTki7W3KgfvnSNtWy2JubxTsj1qcdpxx4wsSJPa1",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1574395583693,
"version": 1,
"sender": "3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj",
"senderPublicKey": "J6uUrhmBcnvdu5KYxCr6uY5XoFb6bK1CdjWR8CMBst8o",
"proofs": [
"3xTRkk1kiiMssQzArChmdo6AniQXZvdz47w5x5Ch3V8HGGv6P4uRKiWgtzhFr5wPKhRFS31gEvpDH1DG4jN1VMYp"
],
"script": "base64:AAIDAAAAAAAAAAwIARIECgIICBIAEgAAAAACAAAAAAROT05FAgAAAARub25lAQAAAANzdW0AAAACAAAAAWEAAAABYgkAASwAAAACCQABLAAAAAIJAAGkAAAAAQUAAAABYQIAAAABfAkAAaQAAAABBQAAAAFiAAAAAwAAAAFpAQAAAAtkZWZTY2FscGluZwAAAAIAAAAGZ3JpZElEAAAABG9Bc2sEAAAAD3N1cHBsaWVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAZncmlkSUQFAAAAD3N1cHBsaWVyQWRkcmVzcwkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZncmlkSUQCAAAABV9vQXNrBQAAAARvQXNrBQAAAANuaWwAAAABaQEAAAAMbGlzdFNjYWxwaW5nAAAAAAQAAAAPc3VwcGxpZXJBZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAACG9Bc2tMaXN0CQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzAgAAAAxUZXN0ZV8xX29Bc2sEAAAAA3NwbAkABLUAAAACBQAAAAhvQXNrTGlzdAIAAAABfAQAAAAGbmV3c3BsCQAETAAAAAIAAAAAAAAAAAUFAAAAA3NwbAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAMVGVzdGVfMV9MaXN0CQABkQAAAAIFAAAAA3NwbAAAAAAAAAAAAQUAAAADbmlsAAAAAWkBAAAADXN0YXJ0U2NhbHBpbmcAAAAABAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAADYXJyCQEAAAAFdmFsdWUAAAABCQAEHQAAAAIFAAAABHRoaXMCAAAADFRlc3RlXzFfb0FzawkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAhUZXN0ZV8xXwUAAAAPc3VwcGxpZXJBZGRyZXNzBQAAAANhcnIFAAAAA25pbAAAAABrR8Ff",
"chainId": 84,
"height": 775899,
"spentComplexity": 0
}
View: original | compacted
Prev: GtZFee1qvmHY9vNNZWZDxxRAX8Hfc3tBGxXf8zv8AoFQ
Next: GKCCosiMtVE6Yf2M8uQwjtKQqNU3BtFMWE9Ut75BqZ9A
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let NONE = "none" |
---|
5 | 5 | | |
---|
6 | | - | func soma (a,b) = (a + b) |
---|
| 6 | + | func sum (a,b) = ((toString(a) + "|") + toString(b)) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | @Callable(i) |
---|
|
20 | 20 | | let oAskList = getStringValue(this, "Teste_1_oAsk") |
---|
21 | 21 | | let spl = split(oAskList, "|") |
---|
22 | 22 | | let newspl = 5 :: spl |
---|
23 | | - | WriteSet([DataEntry("Teste_1_List", newspl[0])]) |
---|
| 23 | + | WriteSet([DataEntry("Teste_1_List", spl[1])]) |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let NONE = "none" |
---|
5 | 5 | | |
---|
6 | | - | func soma (a,b) = (a + b) |
---|
| 6 | + | func sum (a,b) = ((toString(a) + "|") + toString(b)) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | @Callable(i) |
---|
10 | 10 | | func defScalping (gridID,oAsk) = { |
---|
11 | 11 | | let supplierAddress = toBase58String(i.caller.bytes) |
---|
12 | 12 | | WriteSet([DataEntry(gridID, supplierAddress), DataEntry((gridID + "_oAsk"), oAsk)]) |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Callable(i) |
---|
18 | 18 | | func listScalping () = { |
---|
19 | 19 | | let supplierAddress = toBase58String(i.caller.bytes) |
---|
20 | 20 | | let oAskList = getStringValue(this, "Teste_1_oAsk") |
---|
21 | 21 | | let spl = split(oAskList, "|") |
---|
22 | 22 | | let newspl = 5 :: spl |
---|
23 | | - | WriteSet([DataEntry("Teste_1_List", newspl[0])]) |
---|
| 23 | + | WriteSet([DataEntry("Teste_1_List", spl[1])]) |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|
28 | 28 | | @Callable(i) |
---|
29 | 29 | | func startScalping () = { |
---|
30 | 30 | | let supplierAddress = toBase58String(i.caller.bytes) |
---|
31 | 31 | | let arr = value(getString(this, "Teste_1_oAsk")) |
---|
32 | 32 | | WriteSet([DataEntry(("Teste_1_" + supplierAddress), arr)]) |
---|
33 | 33 | | } |
---|
34 | 34 | | |
---|
35 | 35 | | |
---|