tx · 8z2osASsoTdEeyg4QFrfyzYk9SswjMk6hyUSpg67mbsp
3N1FxFP71D36Bed1SAme2TWNYc8FSKqBABy: -0.05000000 Waves
2021.01.27 20:00 [1372181] smart account 3N1FxFP71D36Bed1SAme2TWNYc8FSKqBABy > SELF 0.00000000 Waves
{
"type": 13,
"id": "8z2osASsoTdEeyg4QFrfyzYk9SswjMk6hyUSpg67mbsp",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1611766951525,
"version": 1,
"sender": "3N1FxFP71D36Bed1SAme2TWNYc8FSKqBABy",
"senderPublicKey": "E8DsfPo7HTu1f4LgWkzRf7iNuaTqtZn2TwwSgnc2TfQ7",
"proofs": [
"29LFApjPfZ2GDmidjkXHejH5F7DJ2Ufx8wD5gFDgKm9FEX1NTAG89H1onEqh1jADWQXB3iECNPFxR8sBJGBqUqvG"
],
"script": "base64:AAIDAAAAAAAAAAIIAQAAAAEAAAAABFVTRE4BAAAAIA/yHBKs5MQ8muxGGqslqLDsugcrRsxtiHLwteKSSQG0AAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgQAAAABbwUAAAAHJG1hdGNoMAQAAAAJV2F2ZXNVc2RuAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgIBQAAAAFvAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAkAAAAAAAACCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABFVTRE4HBAAAAAlVc2RuV2F2ZXMDCQAAAAAAAAIICAUAAAABbwAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAABFVTRE4JAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAUAAAABbwAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAcDCQAB9AAAAAMIBQAAAAFvAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABbwAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFvAAAAD3NlbmRlclB1YmxpY0tleQMFAAAACVdhdmVzVXNkbgYFAAAACVVzZG5XYXZlcwcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAA3R0eAUAAAAHJG1hdGNoMAMJAAH0AAAAAwgFAAAAA3R0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAA3R0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAN0dHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAAAAAACCAUAAAADdHR4AAAACXJlY2lwaWVudAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVC3uPkGbLjBWJT2MFhbK6nIpmJjgVzeBPgYJAAAAAAAAAggFAAAAA3R0eAAAAAlyZWNpcGllbnQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVR9Hu6kzwooJ8EFraSCve38AAdOWw35nDYHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAYHBwH6KA==",
"chainId": 84,
"height": 1372181,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GGcfScEwh2cmRDYPnfPasGwJDv26PCVxFcfTUCAp7xXU
Next: none
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
| 4 | + | let USDN = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
| 4 | + | let USDN = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | 9 | | case o: Order => |
---|
10 | 10 | | let WavesUsdn = if (!(isDefined(o.assetPair.amountAsset))) |
---|
11 | 11 | | then (o.assetPair.priceAsset == USDN) |
---|
12 | 12 | | else false |
---|
13 | 13 | | let UsdnWaves = if ((o.assetPair.amountAsset == USDN)) |
---|
14 | 14 | | then !(isDefined(o.assetPair.priceAsset)) |
---|
15 | 15 | | else false |
---|
16 | 16 | | if (sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)) |
---|
17 | 17 | | then if (WavesUsdn) |
---|
18 | 18 | | then true |
---|
19 | 19 | | else UsdnWaves |
---|
20 | 20 | | else false |
---|
21 | 21 | | case ttx: TransferTransaction => |
---|
22 | 22 | | if (sigVerify(ttx.bodyBytes, ttx.proofs[0], ttx.senderPublicKey)) |
---|
23 | 23 | | then if ((ttx.recipient == Address(base58'3Mt6waynUrdiKJT9dAsCq17C8kJksLhKrAZ'))) |
---|
24 | 24 | | then true |
---|
25 | 25 | | else (ttx.recipient == Address(base58'3N1KfJ78JmtC1EY8c2c2TwMdqqXFLjuin6R')) |
---|
26 | 26 | | else false |
---|
27 | 27 | | case s: SetScriptTransaction => |
---|
28 | 28 | | true |
---|
29 | 29 | | case _ => |
---|
30 | 30 | | false |
---|
31 | 31 | | } |
---|
32 | 32 | | |
---|