tx · FGMMqNrHBruZXmKgrJs7muHN9F3xEvMygfycstjLo3TZ
3MuZLXoD3TwJvRaw7LewtxGd32yW8u8ovjw: -0.01000000 Waves
2022.03.08 17:41 [1955115] smart account 3MuZLXoD3TwJvRaw7LewtxGd32yW8u8ovjw > SELF 0.00000000 Waves
{
"type": 13,
"id": "FGMMqNrHBruZXmKgrJs7muHN9F3xEvMygfycstjLo3TZ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1646750499566,
"version": 2,
"chainId": 84,
"sender": "3MuZLXoD3TwJvRaw7LewtxGd32yW8u8ovjw",
"senderPublicKey": "68fL3LofvP8XvE3Nei5sjoZprfVxdDALDjkQ5SGLVDeX",
"proofs": [
"2nGCr7gaKhfGrNLvodBi7sA68MyzmWz9FPwwenyydN2ieJaM627DNDD7k43UpURqXjb7JGL5qSTHsbjMCmjvfm72"
],
"script": "base64:AAIFAAAAAAAAAAIIAgAAAAEAAAAACkNQdWJsaWNLZXkBAAAAIExA1pW6lkoSUJQRujwdCKgGDjkcxjafq+XM7A/YJfJgAAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAKQ1B1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAApDUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGBy0Ob4E=",
"height": 1955115,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: kwBedKHSvJbQNWjavAafULNnub2iYwWXcZffgw15CzA
Next: DGTN2R7EereXodKwqgrytMxma4MV6kR3wRwTb6WWws5G
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let CPublicKey = base58'68fL3LofvP8XvE3Nei5sjoZprfVxdDALDjkQ5SGLVDeX' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | 9 | | case t: TransferTransaction => |
---|
10 | | - | true |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], CPublicKey) |
---|
11 | 11 | | case d: SetScriptTransaction => |
---|
12 | | - | true |
---|
| 12 | + | sigVerify(tx.bodyBytes, tx.proofs[0], CPublicKey) |
---|
13 | 13 | | case d: DataTransaction => |
---|
14 | 14 | | true |
---|
15 | 15 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let CPublicKey = base58'68fL3LofvP8XvE3Nei5sjoZprfVxdDALDjkQ5SGLVDeX' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | 9 | | case t: TransferTransaction => |
---|
10 | | - | true |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], CPublicKey) |
---|
11 | 11 | | case d: SetScriptTransaction => |
---|
12 | | - | true |
---|
| 12 | + | sigVerify(tx.bodyBytes, tx.proofs[0], CPublicKey) |
---|
13 | 13 | | case d: DataTransaction => |
---|
14 | 14 | | true |
---|
15 | 15 | | case _ => |
---|
16 | 16 | | false |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|