tx · 9c4rcya6Txm2b1n5Wzvgm3kZswub4Nn5FTuhjxxxXirC
3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX: -0.01000000 Waves
2021.06.04 12:19 [1555444] smart account 3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX > SELF 0.00000000 Waves
{
"type": 13,
"id": "9c4rcya6Txm2b1n5Wzvgm3kZswub4Nn5FTuhjxxxXirC",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1622798327983,
"version": 2,
"chainId": 84,
"sender": "3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX",
"senderPublicKey": "BLYPM7pr6zCdxj9zzANneoGVcDEwBnQApCEnR3BkNm68",
"proofs": [
"4n8FN3z8zrA1gSVXmtbEwEWAQvQ3RHYi77b3ETqMZeJ9jzg9wuBDSd5Uj68VMjkaGEa9miBun2y2UTBFDSajNN6h"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAADYmFyAAAAAQAAAAFhBAAAAAVkYXBwMgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM040bzlVR2NGVER4Y0pwdEZHMnlpbVlwTHFMTG9ENDRkaVgEAAAADWJhbGFuY2VCZWZvcmUICQAD7wAAAAEFAAAABHRoaXMAAAAHcmVndWxhcgMJAAAAAAAAAgUAAAANYmFsYW5jZUJlZm9yZQUAAAANYmFsYW5jZUJlZm9yZQQAAAABegkAA/wAAAAEBQAAAAVkYXBwMgIAAAADYmFyCQAETAAAAAIAAAAAAAAAAAEFAAAAA25pbAkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAAEdW5pdAAAAAAABfXhAAUAAAADbmlsAwkAAAAAAAACBQAAAAF6BQAAAAF6BAAAAAxiYWxhbmNlQWZ0ZXIICQAD7wAAAAEFAAAABHRoaXMAAAAHcmVndWxhcgMJAAAAAAAAAgUAAAAMYmFsYW5jZUFmdGVyBQAAAAxiYWxhbmNlQWZ0ZXIDCQAAZgAAAAIFAAAADWJhbGFuY2VCZWZvcmUFAAAADGJhbGFuY2VBZnRlcgkAAAIAAAABAgAAAANZZXMJAAACAAAAAQIAAAACTm8JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAA7rKR/Q==",
"height": 1555444,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 47QxGynQoF77KgZhB95gGWSdRsu5UyZbWUd3zqQWtvg4
Next: 7YYvhSN8a8vEvjJQ6rfjoczKFG3248uU6gLMnqqynfz7
Diff:
Old | New | | Differences |
---|
9 | 9 | | let balanceBefore = wavesBalance(this).regular |
---|
10 | 10 | | if ((balanceBefore == balanceBefore)) |
---|
11 | 11 | | then { |
---|
12 | | - | let z = invoke(dapp2, "bar", nil, [AttachedPayment(unit, 100000000)]) |
---|
| 12 | + | let z = invoke(dapp2, "bar", [1], [AttachedPayment(unit, 100000000)]) |
---|
13 | 13 | | if ((z == z)) |
---|
14 | 14 | | then { |
---|
15 | 15 | | let balanceAfter = wavesBalance(this).regular |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func bar (a) = { |
---|
8 | 8 | | let dapp2 = addressFromStringValue("3N4o9UGcFTDxcJptFG2yimYpLqLLoD44diX") |
---|
9 | 9 | | let balanceBefore = wavesBalance(this).regular |
---|
10 | 10 | | if ((balanceBefore == balanceBefore)) |
---|
11 | 11 | | then { |
---|
12 | | - | let z = invoke(dapp2, "bar", nil, [AttachedPayment(unit, 100000000)]) |
---|
| 12 | + | let z = invoke(dapp2, "bar", [1], [AttachedPayment(unit, 100000000)]) |
---|
13 | 13 | | if ((z == z)) |
---|
14 | 14 | | then { |
---|
15 | 15 | | let balanceAfter = wavesBalance(this).regular |
---|
16 | 16 | | if ((balanceAfter == balanceAfter)) |
---|
17 | 17 | | then if ((balanceBefore > balanceAfter)) |
---|
18 | 18 | | then throw("Yes") |
---|
19 | 19 | | else throw("No") |
---|
20 | 20 | | else throw("Strict value is not equal to itself.") |
---|
21 | 21 | | } |
---|
22 | 22 | | else throw("Strict value is not equal to itself.") |
---|
23 | 23 | | } |
---|
24 | 24 | | else throw("Strict value is not equal to itself.") |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|