tx · 65mN5sfMcWWmYXBpiBR9iFJEXMJ9huHetBJ6bawMi3oM
3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf: -0.01000000 Waves
2022.11.07 03:07 [2305964] smart account 3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf > SELF 0.00000000 Waves
{
"type": 13,
"id": "65mN5sfMcWWmYXBpiBR9iFJEXMJ9huHetBJ6bawMi3oM",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1667779693892,
"version": 2,
"chainId": 84,
"sender": "3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf",
"senderPublicKey": "Fvzdy4Qppd2VzNFAj8ySdyEvhoiRFQfm9WyUtWbe96zY",
"proofs": [
"4V5nWQ9vGcdZtkzdzrPiSmEvtsuwqLE6rMHq6nvLFS3D7x6yhytSnRnQDn5UkA13N75nZCdvQrz4fFiE611jhYnN"
],
"script": "base64:BgEEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwAwkAZgIJAJADAQgFAnR4BnByb29mcwAACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5AwkAAAIJAKUIAQkApAgBCAUBdARkQXBwAiMzTXR6MlQ2b0xGa0s0RjdRdlNyaHRwVjdaNWdNYnJlb05taQYJAAIBAjlvbmx5IGNhbGxpbmcgc3BlY2lmaWVkIGZ1bmN0aW9uIG9uIHNwZWNpZmllZCBkYXBwIGFsbG93ZWQJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXnDiFQo",
"height": 2305964,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6vmBUJyps1XECjvnGhFosvemVPbi3wk9tFuBGAhXhPxm
Next: HpSVtoYKJ1ehYRYBPPngcDFjLJWZdrRURV86weoJve4r
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 ((toString(addressFromRecipient(t.dApp)) == "3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi")) |
---|
8 | | - | then (t.function == "dummy") |
---|
9 | | - | else false) |
---|
10 | | - | then if ((size(t.payments) > 0)) |
---|
11 | | - | then throw("there should be no payments") |
---|
12 | | - | else if (if ((t.fee > 500000)) |
---|
13 | | - | then true |
---|
14 | | - | else isDefined(t.feeAssetId)) |
---|
15 | | - | then throw("fee should be 0.005 WAVES") |
---|
16 | | - | else true |
---|
| 7 | + | else if ((toString(addressFromRecipient(t.dApp)) == "3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi")) |
---|
| 8 | + | then true |
---|
17 | 9 | | else throw("only calling specified function on specified dapp allowed") |
---|
18 | 10 | | case _ => |
---|
19 | 11 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
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 ((toString(addressFromRecipient(t.dApp)) == "3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi")) |
---|
8 | | - | then (t.function == "dummy") |
---|
9 | | - | else false) |
---|
10 | | - | then if ((size(t.payments) > 0)) |
---|
11 | | - | then throw("there should be no payments") |
---|
12 | | - | else if (if ((t.fee > 500000)) |
---|
13 | | - | then true |
---|
14 | | - | else isDefined(t.feeAssetId)) |
---|
15 | | - | then throw("fee should be 0.005 WAVES") |
---|
16 | | - | else true |
---|
| 7 | + | else if ((toString(addressFromRecipient(t.dApp)) == "3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi")) |
---|
| 8 | + | then true |
---|
17 | 9 | | else throw("only calling specified function on specified dapp allowed") |
---|
18 | 10 | | case _ => |
---|
19 | 11 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
20 | 12 | | } |
---|