tx · 4JCRQGXhxon1N3FsUXvbrQaKQxbt8sQJUfEty66fVdzW
3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf: -0.01000000 Waves
2022.11.07 02:30 [2305933] smart account 3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf > SELF 0.00000000 Waves
{
"type": 13,
"id": "4JCRQGXhxon1N3FsUXvbrQaKQxbt8sQJUfEty66fVdzW",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1667777484431,
"version": 2,
"chainId": 84,
"sender": "3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf",
"senderPublicKey": "Fvzdy4Qppd2VzNFAj8ySdyEvhoiRFQfm9WyUtWbe96zY",
"proofs": [
"4Ti5rip6cu82nNSDDZEBxwreVLfgiPgBj8UAboeSr8wUta4oX4MMFx78xHHbVQ41nsmKeW5uNzWn7KPecS2eyipq"
],
"script": "base64:BgEEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwAwkAZgIJAJADAQgFAnR4BnByb29mcwAACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5AwkAAAIIBQF0CGZ1bmN0aW9uAgVkdW1teQMJAGYCCQCQAwEIBQF0CHBheW1lbnRzAAAJAAIBAht0aGVyZSBzaG91bGQgYmUgbm8gcGF5bWVudHMDAwkAZgIIBQF0A2ZlZQCgwh4GCQEJaXNEZWZpbmVkAQgFAXQKZmVlQXNzZXRJZAkAAgECGWZlZSBzaG91bGQgYmUgMC4wMDUgV0FWRVMGCQACAQI5b25seSBjYWxsaW5nIHNwZWNpZmllZCBmdW5jdGlvbiBvbiBzcGVjaWZpZWQgZGFwcCBhbGxvd2VkCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5YfwNOw==",
"height": 2305933,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: CFope2pCNiQwxpyVuieKCNVp5aqb7nH3twFdHhXM9Je
Next: 5v4fAsQ3uShtTuoybStXdoWmT99g6KFbuzYBD4ZcTEBj
Diff:
Old | New | | Differences |
---|
4 | 4 | | case t: InvokeScriptTransaction => |
---|
5 | 5 | | if ((size(tx.proofs) > 0)) |
---|
6 | 6 | | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
7 | | - | else if (if ((t.dApp == addressFromStringValue("3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi"))) |
---|
8 | | - | then (t.function == "dummy") |
---|
9 | | - | else false) |
---|
| 7 | + | else if ((t.function == "dummy")) |
---|
10 | 8 | | then if ((size(t.payments) > 0)) |
---|
11 | 9 | | then throw("there should be no payments") |
---|
12 | 10 | | else if (if ((t.fee > 500000)) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case t: InvokeScriptTransaction => |
---|
5 | 5 | | if ((size(tx.proofs) > 0)) |
---|
6 | 6 | | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
7 | | - | else if (if ((t.dApp == addressFromStringValue("3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi"))) |
---|
8 | | - | then (t.function == "dummy") |
---|
9 | | - | else false) |
---|
| 7 | + | else if ((t.function == "dummy")) |
---|
10 | 8 | | then if ((size(t.payments) > 0)) |
---|
11 | 9 | | then throw("there should be no payments") |
---|
12 | 10 | | else if (if ((t.fee > 500000)) |
---|
13 | 11 | | then true |
---|
14 | 12 | | else isDefined(t.feeAssetId)) |
---|
15 | 13 | | then throw("fee should be 0.005 WAVES") |
---|
16 | 14 | | else true |
---|
17 | 15 | | else throw("only calling specified function on specified dapp allowed") |
---|
18 | 16 | | case _ => |
---|
19 | 17 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
20 | 18 | | } |
---|