tx · 6TGTZvQPCotW33DxKmzoYEp2ua2bmYT722e7NkPrJBVq
3MxmaLXR298KL3G2kuMawxEpUFbmQRtQNy7: -0.01400000 Waves
2019.11.20 17:32 [773615] smart account 3MxmaLXR298KL3G2kuMawxEpUFbmQRtQNy7 > SELF 0.00000000 Waves
{
"type": 13,
"id": "6TGTZvQPCotW33DxKmzoYEp2ua2bmYT722e7NkPrJBVq",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1574260366997,
"version": 1,
"sender": "3MxmaLXR298KL3G2kuMawxEpUFbmQRtQNy7",
"senderPublicKey": "FguDAUH6ELooQNYn2B9BQfsiEpLUXJRXMdgwRxSoUB3H",
"proofs": [
"5m1JPCqU6G619VziG7wEAHd9bYGk8t2vCz8uNZvQWFUhoazS38e2nimGK7Df4CBvzY9nnWkYg3FsTKxxA3ckyYDY"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAOb3duZXJQdWJsaWNrZXkBAAAAIDtO+S8FXnhkPFYK+NuKUwWN9TpuXi7efd9X8uMhqqZmAAAAAQAAAAFpAQAAAAlXcml0ZU5vdGUAAAABAAAABG5vdGUEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAFaEJDMTAJAABkAAAAAgUAAAAGaGVpZ2h0AAAAAAAAAAAKCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAAVoQkMxMAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGB4hIgNY=",
"chainId": 84,
"height": 773615,
"spentComplexity": 0
}
View: original | compacted
Prev: D3yeoYvKe79UMusnd3YucjnonQjwdAY9Az3yESMEdCpm
Next: none
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = base58'4zWu7xYWo5xE6XkGNYRb6qFrq9Q9Rdn1gcwh3yYfv9ho' |
---|
| 5 | + | |
---|
| 6 | + | @Callable(b) |
---|
| 7 | + | func WriteNote (c) = { |
---|
| 8 | + | let d = toBase58String(b.caller.bytes) |
---|
| 9 | + | let e = (height + 10) |
---|
| 10 | + | WriteSet([DataEntry(d, e)]) |
---|
| 11 | + | } |
---|
4 | 12 | | |
---|
5 | 13 | | |
---|
6 | | - | @Callable(a) |
---|
7 | | - | func WriteNote (b) = { |
---|
8 | | - | let c = toBase58String(a.caller.bytes) |
---|
9 | | - | let d = (height + 10) |
---|
10 | | - | WriteSet([DataEntry(c, d)]) |
---|
| 14 | + | @Verifier(f) |
---|
| 15 | + | func g () = { |
---|
| 16 | + | let h = f |
---|
| 17 | + | if ($isInstanceOf(h, "SetAssetScriptTransaction")) |
---|
| 18 | + | then { |
---|
| 19 | + | let i = h |
---|
| 20 | + | sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
| 21 | + | } |
---|
| 22 | + | else if ($isInstanceOf(h, "DataTransaction")) |
---|
| 23 | + | then { |
---|
| 24 | + | let i = h |
---|
| 25 | + | true |
---|
| 26 | + | } |
---|
| 27 | + | else false |
---|
11 | 28 | | } |
---|
12 | | - | |
---|
13 | 29 | | |
---|