tx · rotqGaKmxkACX4fn2GA7aJDNKywzUgtK4XCKVRNBo9L
3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa: -0.00100000 Waves
2022.09.07 14:33 [2218636] smart account 3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa > SELF 0.00000000 Waves
{
"type": 13,
"id": "rotqGaKmxkACX4fn2GA7aJDNKywzUgtK4XCKVRNBo9L",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1662550495901,
"version": 2,
"chainId": 84,
"sender": "3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa",
"senderPublicKey": "uabndDFnsGq9PjWSXCTHbtJ6qRyJrTnAiV1p3iLLEBf",
"proofs": [
"5cdFZQcy95QFChv1YnhtVbpNDw1Z4nUVudCWzS8LaRHdtU1FiP7Uh242A9kgNjJGGb9uN5M1zEHLru5AUwBQjim7"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAQAAAAABFVTRE4BAAAAILYmKcME9c5TkaQOS3UkL2SMUbH6369UKb1I0h0qsqrRAAAAAAt6ZWZ0QWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVFja8Zo5iy1uMKUpie0EkoHqTwWrcap0TAAAAAAMemVmdEFkZHJlc3MxCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUmTdczELFE8GJ6RS3xffhbl9ZidNnbG3LAAAAAAx6ZWZ0QWRkcmVzczIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVR4DKZFQBSqlqss9mT9spGlh2iP+n6jV/MAAAABAAAAAWkBAAAABmNhbGxfMQAAAAIAAAAJbXlhZGRyZXNzAAAACm15YWRkcmVzczIEAAAABWFkbWluAgAAACMzTXgxdVhIRWNFSFdZVUw4elJWOGRnVmFDVHJ3M0tkamc2WAMJAQAAAAIhPQAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAAAVhZG1pbgkAAAIAAAABAgAAABFvbmx5IGFkbWluIGNhbiBkbwQAAAAGcmVzdWx0CQAD/QAAAAQFAAAADHplZnRBZGRyZXNzMQIAAAAIdXNkbl8xMDAFAAAAA25pbAUAAAADbmlsBAAAAAdyZXN1bHQyCQAD/QAAAAQFAAAADHplZnRBZGRyZXNzMgIAAAAIdXNkbl8xMDAFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAAdyZXN1bHQyBQAAAAdyZXN1bHQyCQAAAgAAAAECAAAAB3N1Y2Nlc3MJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAM6JGkQ=",
"height": 2218636,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2nX6AG8EkcmXh2Bkch1p13YnBfVfhsZpXpFVfS2Y13j6
Next: 5MdZn6RA2zah221FwYDKTC2sJYtPHxsKnwRnkmTdjYqk
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | let zeftAddress = Address(base58'3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X') |
---|
7 | 7 | | |
---|
8 | | - | let WAVES1 = "WAVES" |
---|
| 8 | + | let zeftAddress1 = Address(base58'3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa') |
---|
| 9 | + | |
---|
| 10 | + | let zeftAddress2 = Address(base58'3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox') |
---|
9 | 11 | | |
---|
10 | 12 | | @Callable(i) |
---|
11 | | - | func usdn_100 () = { |
---|
| 13 | + | func call_1 (myaddress,myaddress2) = { |
---|
12 | 14 | | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
13 | 15 | | if ((toString(i.caller) != admin)) |
---|
14 | 16 | | then throw("only admin can do") |
---|
15 | | - | else throw("3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa sucess1") |
---|
| 17 | + | else { |
---|
| 18 | + | let result = reentrantInvoke(zeftAddress1, "usdn_100", nil, nil) |
---|
| 19 | + | let result2 = reentrantInvoke(zeftAddress2, "usdn_100", nil, nil) |
---|
| 20 | + | if ((result2 == result2)) |
---|
| 21 | + | then throw("success") |
---|
| 22 | + | else throw("Strict value is not equal to itself.") |
---|
| 23 | + | } |
---|
16 | 24 | | } |
---|
17 | 25 | | |
---|
18 | 26 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
5 | 5 | | |
---|
6 | 6 | | let zeftAddress = Address(base58'3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X') |
---|
7 | 7 | | |
---|
8 | | - | let WAVES1 = "WAVES" |
---|
| 8 | + | let zeftAddress1 = Address(base58'3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa') |
---|
| 9 | + | |
---|
| 10 | + | let zeftAddress2 = Address(base58'3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox') |
---|
9 | 11 | | |
---|
10 | 12 | | @Callable(i) |
---|
11 | | - | func usdn_100 () = { |
---|
| 13 | + | func call_1 (myaddress,myaddress2) = { |
---|
12 | 14 | | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
13 | 15 | | if ((toString(i.caller) != admin)) |
---|
14 | 16 | | then throw("only admin can do") |
---|
15 | | - | else throw("3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa sucess1") |
---|
| 17 | + | else { |
---|
| 18 | + | let result = reentrantInvoke(zeftAddress1, "usdn_100", nil, nil) |
---|
| 19 | + | let result2 = reentrantInvoke(zeftAddress2, "usdn_100", nil, nil) |
---|
| 20 | + | if ((result2 == result2)) |
---|
| 21 | + | then throw("success") |
---|
| 22 | + | else throw("Strict value is not equal to itself.") |
---|
| 23 | + | } |
---|
16 | 24 | | } |
---|
17 | 25 | | |
---|
18 | 26 | | |
---|