tx · CNnbaimdT4AePDA97PmA2i8LNkKKdgDfmHndjiAUVnfs

3Mrk1Lpprkmc68ZpGLKzGi6bChA2JsQtsWy:  -0.01000000 Waves

2022.12.28 10:48 [2379839] smart account 3Mrk1Lpprkmc68ZpGLKzGi6bChA2JsQtsWy > SELF 0.00000000 Waves

{ "type": 13, "id": "CNnbaimdT4AePDA97PmA2i8LNkKKdgDfmHndjiAUVnfs", "fee": 1000000, "feeAssetId": null, "timestamp": 1672213688943, "version": 2, "chainId": 84, "sender": "3Mrk1Lpprkmc68ZpGLKzGi6bChA2JsQtsWy", "senderPublicKey": "FqQH9eNJSxfrYrhaZ5tfjFyUKdViGSVGnESwPqpwDQGz", "proofs": [ "3A7WPuBg36XsQwioHWWRoHhS9ijpxUQEicsapTHhqz5kvaMczvVQWJTJX1HRmJ13ENn18fCeHwdkUZxLZR4cpRDF" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAAEAAAAAAZhZG1QdWIBAAAAIJIzdP+dwzo5Jbu3kwijoGg++SNDxqJ9AKQ/y1XA7xgmAAAAAAdnYXRld2F5CQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUee6vmhF+LMTJFCZ7vR9HPijfQ5zc2wRKAAAAAARFTk5PAQAAACD1fqEtJSPy8MN1bAqf34wlkSk4WidWGdk3lWAbD4/PvQEAAAALaXNQYXltZW50T2sAAAABAAAAAWkEAAAAEWFjY2VwdGFibGVBc3NldElkBQAAAARFTk5PAwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAFFBheW1lbnQgbm90IGF0dGFjaGVkBAAAAAFwCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAAA13YWxsZXRCYWxhbmNlCQAD8AAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAARYWNjZXB0YWJsZUFzc2V0SWQEAAAAByRtYXRjaDAIBQAAAAFwAAAAB2F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AAV8JAAGkAAAAAQUAAAAGaGVpZ2h0BQAAAA1wYXltZW50QW1vdW50BQAAAANuaWwJAAACAAAAAQIAAAATZW50ZXIgdmFsaWQgYWRkcmVzcwkAAAIAAAABAgAAAAthdHRhY2ggRU5OTwkAAAIAAAABAgAAABF3YWl0IGZvciBjb29sZG93bgAAAAFpAQAAAAZkZWxldGUAAAABAAAAA2tleQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANrZXkFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5xNVwlw==", "height": 2379839, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HZsWzGA8qkqebh1MkFS6q1JCd2ZbhiYitxxTMkgdEKQe Next: 7sMMN71BVJYbRfBHcSCbxxHQJcdehm8fGnEoWAGk19ys Diff:
OldNewDifferences
4848 }
4949
5050
51-@Verifier(p)
52-func q () = sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey)
51+
52+@Callable(e)
53+func delete (p) = [DeleteEntry(p)]
54+
55+
56+@Verifier(q)
57+func r () = sigVerify(q.bodyBytes, q.proofs[0], q.senderPublicKey)
5358
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Aqi2u6UsFt6ePp65gz14SdCvKwP4t3CqiDejGBk7mWuj'
55
66 let b = Address(base58'3N12oUKe89XdJsvWgx6ncAJTF6Bk8rP3sfP')
77
88 let c = base58'HXJsuwkQmik6jwh7tC3cc6wq45A9Th2pDENH6HHR5vxt'
99
1010 func d (e) = {
1111 let f = c
1212 if ((size(e.payments) == 0))
1313 then throw("Payment not attached")
1414 else {
1515 let g = e.payments[0]
1616 let h = assetBalance(e.caller, f)
1717 let i = g.assetId
1818 if ($isInstanceOf(i, "ByteVector"))
1919 then {
2020 let j = i
2121 if ((j == f))
2222 then (g.amount > 0)
2323 else false
2424 }
2525 else throw("Wrong payment")
2626 }
2727 }
2828
2929
3030 @Callable(e)
3131 func send (k) = {
3232 let l = toBase58String(e.caller.bytes)
3333 let m = valueOrElse(getInteger(this, ("lastBlock_" + l)), 0)
3434 let n = (height - m)
3535 if (if ((n >= 1440))
3636 then true
3737 else (n == height))
3838 then if (d(e))
3939 then if ((k != ""))
4040 then {
4141 let g = e.payments[0]
4242 let o = g.amount
4343 [Burn(c, o), IntegerEntry(("lastBlock_" + l), height), IntegerEntry(((("amount_" + l) + "_") + toString(height)), o)]
4444 }
4545 else throw("enter valid address")
4646 else throw("attach ENNO")
4747 else throw("wait for cooldown")
4848 }
4949
5050
51-@Verifier(p)
52-func q () = sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey)
51+
52+@Callable(e)
53+func delete (p) = [DeleteEntry(p)]
54+
55+
56+@Verifier(q)
57+func r () = sigVerify(q.bodyBytes, q.proofs[0], q.senderPublicKey)
5358

github/deemru/w8io/169f3d6 
24.35 ms