tx · GfeAUqwD3kaYN6JSaXkf2hniagcVk1xaN8JEyJYtQQeH
3N49shcErzZepEy7HDR1fjAce8humpL7QiH: -0.01000000 Waves
2022.12.19 15:13 [2367156] smart account 3N49shcErzZepEy7HDR1fjAce8humpL7QiH > SELF 0.00000000 Waves
{
"type": 13,
"id": "GfeAUqwD3kaYN6JSaXkf2hniagcVk1xaN8JEyJYtQQeH",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671452024908,
"version": 2,
"chainId": 84,
"sender": "3N49shcErzZepEy7HDR1fjAce8humpL7QiH",
"senderPublicKey": "9frGdXQHcSntKXRWwZ4YJZWnnKREWwYH4cEzMVQwcwYj",
"proofs": [
"475ywLB9QxZR3qdemYQCTEWGBHub7hmnt1gMbaJ1FP7xbyNbSo3eZhWcyKZiChbjb9Nj6WcxGQyWe8JhQ7nbvAjt"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAA2ludAAAAAAAAAAAAQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDADCQAAAAAAAAIJAAQkAAAAAQgFAAAAA2ludgAAAARkQXBwBQAAAAR0aGlzBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5PPmiZg==",
"height": 2367156,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: E5DGbCLSePwP3gBz69ctfApUgPPAjm1vFiJk4iiLVawQ
Next: mZ2cPxx1Hk9jomVDuZSSy2K1ZQXGLoxLgmzzEeYbi2s
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 | + | |
---|