tx · 9WhpGzBNDBMxs2srGwoQoYT63an6VKg9rkphFTbUiHAY
3N9SKEjhzhHCh5DFst9yRtN7tGJZmBSKYEt: -0.01000000 Waves
2019.11.20 13:21 [773365] smart account 3N9SKEjhzhHCh5DFst9yRtN7tGJZmBSKYEt > SELF 0.00000000 Waves
{
"type": 13,
"id": "9WhpGzBNDBMxs2srGwoQoYT63an6VKg9rkphFTbUiHAY",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1574245219288,
"version": 1,
"sender": "3N9SKEjhzhHCh5DFst9yRtN7tGJZmBSKYEt",
"senderPublicKey": "2Rhf81SQr8Zv3QPai79maGXRVuBygN2ZGcYp2Gew25bW",
"proofs": [
"5gF8WCdFzLkMUR9CNZfQMSnF8ttMoRuudL89E2dRHDrVjeqkfVx9gnn49k4DmsLoFqE3rHm99GBFgJ9cV5PydwRf"
],
"script": "base64:AAIDAAAAAAAAAAIIAQAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAADa2V5CAkAAZEAAAACCAUAAAABdAAAAARkYXRhAAAAAAAAAAAAAAAAA2tleQQAAAARc3RyaW5nRW50cnlFeGlzdHMDCQEAAAAJaXNEZWZpbmVkAAAAAQkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkGBwQAAAASaW50ZWdlckVudHJ5RXhpc3RzAwkBAAAACWlzRGVmaW5lZAAAAAEJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5BgcEAAAAEmJvb2xlYW5FbnRyeUV4aXN0cwMJAQAAAAlpc0RlZmluZWQAAAABCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQYHBAAAABFiaW5hcnlFbnRyeUV4aXN0cwMJAQAAAAlpc0RlZmluZWQAAAABCQAEHAAAAAIFAAAABHRoaXMFAAAAA2tleQYHAwMDAwkAAAAAAAACBQAAABFzdHJpbmdFbnRyeUV4aXN0cwcJAAAAAAAAAgUAAAARYmluYXJ5RW50cnlFeGlzdHMHBwkAAAAAAAACBQAAABJpbnRlZ2VyRW50cnlFeGlzdHMHBwkAAAAAAAACBQAAABJib29sZWFuRW50cnlFeGlzdHMHBwYJAAACAAAAAQIAAAAQa2V5IGFscmVhZHkgc2V0IQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAACdHgAAAAGc2VuZGVyAAAABWJ5dGVzBmsO3w==",
"chainId": 84,
"height": 773365,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | @Verifier(a) |
---|
| 8 | + | func b () = { |
---|
| 9 | + | let c = a |
---|
| 10 | + | if ($isInstanceOf(c, "DataTransaction")) |
---|
| 11 | + | then { |
---|
| 12 | + | let d = c |
---|
| 13 | + | let e = d.data[0].key |
---|
| 14 | + | let f = if (isDefined(getString(this, e))) |
---|
| 15 | + | then true |
---|
| 16 | + | else false |
---|
| 17 | + | let g = if (isDefined(getInteger(this, e))) |
---|
| 18 | + | then true |
---|
| 19 | + | else false |
---|
| 20 | + | let h = if (isDefined(getBoolean(this, e))) |
---|
| 21 | + | then true |
---|
| 22 | + | else false |
---|
| 23 | + | let i = if (isDefined(getBinary(this, e))) |
---|
| 24 | + | then true |
---|
| 25 | + | else false |
---|
| 26 | + | if (if (if (if ((f == false)) |
---|
| 27 | + | then (i == false) |
---|
| 28 | + | else false) |
---|
| 29 | + | then (g == false) |
---|
| 30 | + | else false) |
---|
| 31 | + | then (h == false) |
---|
| 32 | + | else false) |
---|
| 33 | + | then true |
---|
| 34 | + | else throw("key already set!") |
---|
| 35 | + | } |
---|
| 36 | + | else sigVerify(a.bodyBytes, a.proofs[0], a.sender.bytes) |
---|
| 37 | + | } |
---|
| 38 | + | |
---|