tx · 2RrEKQVoVtbDgatoj3ftEV3ckQurxRpCBvvZPfhFc7ek 3MrQCzpdZ7ugNacnoi1N4ztb9AzYtua3i1Z: -0.01000000 Waves 2021.02.12 19:01 [1395166] smart account 3MrQCzpdZ7ugNacnoi1N4ztb9AzYtua3i1Z > SELF 0.00000000 Waves
{ "type": 13, "id": "2RrEKQVoVtbDgatoj3ftEV3ckQurxRpCBvvZPfhFc7ek", "fee": 1000000, "feeAssetId": null, "timestamp": 1613145665425, "version": 1, "sender": "3MrQCzpdZ7ugNacnoi1N4ztb9AzYtua3i1Z", "senderPublicKey": "5BVT4R6MvXBCSfJgN2BYu1U7Lsu1U1h8KnDxnUiC4u1c", "proofs": [ "4FyqNUuJdML385TLrZq9uRxg7s5tV4vogUx16RZ62JLJUDNTcsmB9rG5kHW4p1tRjrAZFmYCf5jSzoqgW1ZkjaRm" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAEAAAAABFVTRE4BAAAAIA/yHBKs5MQ8muxGGqslqLDsugcrRsxtiHLwteKSSQG0AAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgQAAAABbwUAAAAHJG1hdGNoMAQAAAAJV2F2ZXNVc2RuAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgIBQAAAAFvAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAkAAAAAAAACCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABFVTRE4HBAAAAAlVc2RuV2F2ZXMDCQAAAAAAAAIICAUAAAABbwAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAABFVTRE4JAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAUAAAABbwAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAcDCQAB9AAAAAMIBQAAAAFvAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABbwAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFvAAAAD3NlbmRlclB1YmxpY0tleQMFAAAACVdhdmVzVXNkbgYFAAAACVVzZG5XYXZlcwcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAA3R0eAUAAAAHJG1hdGNoMAMJAAH0AAAAAwgFAAAAA3R0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAA3R0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAN0dHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAAAAAACCAUAAAADdHR4AAAACXJlY2lwaWVudAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVC3uPkGbLjBWJT2MFhbK6nIpmJjgVzeBPgYJAAAAAAAAAggFAAAAA3R0eAAAAAlyZWNpcGllbnQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVR9Hu6kzwooJ8EFraSCve38AAdOWw35nDYHBxfyp8w=", "chainId": 84, "height": 1395166, "applicationStatus": "succeeded", "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 | + | let USDN = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
5 | + | ||
6 | + | ||
7 | + | @Verifier(tx) | |
8 | + | func verify () = match tx { | |
9 | + | case o: Order => | |
10 | + | let WavesUsdn = if (!(isDefined(o.assetPair.amountAsset))) | |
11 | + | then (o.assetPair.priceAsset == USDN) | |
12 | + | else false | |
13 | + | let UsdnWaves = if ((o.assetPair.amountAsset == USDN)) | |
14 | + | then !(isDefined(o.assetPair.priceAsset)) | |
15 | + | else false | |
16 | + | if (sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)) | |
17 | + | then if (WavesUsdn) | |
18 | + | then true | |
19 | + | else UsdnWaves | |
20 | + | else false | |
21 | + | case ttx: TransferTransaction => | |
22 | + | if (sigVerify(ttx.bodyBytes, ttx.proofs[0], ttx.senderPublicKey)) | |
23 | + | then if ((ttx.recipient == Address(base58'3Mt6waynUrdiKJT9dAsCq17C8kJksLhKrAZ'))) | |
24 | + | then true | |
25 | + | else (ttx.recipient == Address(base58'3N1KfJ78JmtC1EY8c2c2TwMdqqXFLjuin6R')) | |
26 | + | else false | |
27 | + | case _ => | |
28 | + | false | |
29 | + | } | |
30 | + |
github/deemru/w8io/026f985 13.03 ms ◑