tx · C8JLEcjZAPefmhvyxPnL4ETjrFStn638EzyFJAgQEZcb
3N49shcErzZepEy7HDR1fjAce8humpL7QiH: -0.01000000 Waves
2022.12.19 15:17 [2367158] smart account 3N49shcErzZepEy7HDR1fjAce8humpL7QiH > SELF 0.00000000 Waves
{
"type": 13,
"id": "C8JLEcjZAPefmhvyxPnL4ETjrFStn638EzyFJAgQEZcb",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671452281706,
"version": 2,
"chainId": 84,
"sender": "3N49shcErzZepEy7HDR1fjAce8humpL7QiH",
"senderPublicKey": "9frGdXQHcSntKXRWwZ4YJZWnnKREWwYH4cEzMVQwcwYj",
"proofs": [
"kNP9vwRvah2bnvGNYAWupeFAzHsLVKbK51PUA3UmhQYVrmgix8d2acunrjRLkdpRzWshhG8nZcykUvTM6gcsY7t"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAA2ludAAAAAAAAAAAAQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDADCQAAAAAAAAIJAAQkAAAAAQgFAAAAA2ludgAAAARkQXBwBQAAAAR0aGlzBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5PPmiZg==",
"height": 2367158,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: mZ2cPxx1Hk9jomVDuZSSy2K1ZQXGLoxLgmzzEeYbi2s
Next: 3QWXjmidDNhAh46ZsgFJja4WrNgqGGi1B1p5ABmVCTqG
Diff:
Old | New | | Differences |
---|
7 | 7 | | func call () = [IntegerEntry("int", 1)] |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
| 10 | + | @Verifier(tx) |
---|
| 11 | + | func verify () = match tx { |
---|
| 12 | + | case inv: InvokeScriptTransaction => |
---|
| 13 | + | if ((addressFromRecipient(inv.dApp) == this)) |
---|
| 14 | + | then true |
---|
| 15 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 16 | + | case _ => |
---|
| 17 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 18 | + | } |
---|
| 19 | + | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func call () = [IntegerEntry("int", 1)] |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
| 10 | + | @Verifier(tx) |
---|
| 11 | + | func verify () = match tx { |
---|
| 12 | + | case inv: InvokeScriptTransaction => |
---|
| 13 | + | if ((addressFromRecipient(inv.dApp) == this)) |
---|
| 14 | + | then true |
---|
| 15 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 16 | + | case _ => |
---|
| 17 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 18 | + | } |
---|
| 19 | + | |
---|