tx · ABN2Vs5cVCzeavqvRpia9pDqEtGm3pwyBbBmmQwVLeki
3MzFYxmuFCZMtDM4xzqBHW6m3ZvNoX4Xe8T: -1.00000000 Waves
2021.06.05 15:59 [1557090] smart account 3MzFYxmuFCZMtDM4xzqBHW6m3ZvNoX4Xe8T > SELF 0.00000000 Waves
{
"type": 13,
"id": "ABN2Vs5cVCzeavqvRpia9pDqEtGm3pwyBbBmmQwVLeki",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1622898041319,
"version": 2,
"chainId": 84,
"sender": "3MzFYxmuFCZMtDM4xzqBHW6m3ZvNoX4Xe8T",
"senderPublicKey": "6BmCmWEkmyL4KtpmLBbW1T5EDSyu6WhDBx9wy8xedgxJ",
"proofs": [
"4XfgF1GUBhyuGd7BTrubywRmbK9d56gXScNZ8ynM9se9pe4i1cR8Uv2ZpryevbDo6VBGog9Xd6Dpkk9LKL9WL78Q"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABWFzc2V0CQAEQwAAAAcCAAAABEdvbGQCAAAAKUFzc2V0IElzc3VlZCBiYXNlZCBvbiBHb2xkIFByaWNlIHBlciBHcmFtAAAAAAAAAAABAAAAAAAAAAAGBgUAAAAEdW5pdAAAAAAAAAAAAAQAAAAHYXNzZXRJZAkABDgAAAABBQAAAAVhc3NldAkABEwAAAACBQAAAAVhc3NldAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5qoV+hw==",
"height": 1557090,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 7Z7NAErQSVdvu54fAtbRy8q9RfFy7XeJWWJmicgnnx2t
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func call () = { |
---|
| 8 | + | let asset = Issue("Gold", "Asset Issued based on Gold Price per Gram", 1, 6, true, unit, 0) |
---|
| 9 | + | let assetId = calculateAssetId(asset) |
---|
| 10 | + | [asset, ScriptTransfer(i.caller, 1, assetId)] |
---|
| 11 | + | } |
---|
| 12 | + | |
---|
| 13 | + | |
---|
| 14 | + | @Verifier(tx) |
---|
| 15 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 16 | + | |
---|