tx · 7XQcBRfqRptVuYBFgYeiJZBEhweSebRsd78wkHcymQoA
3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP: -0.05000000 Waves
2021.07.23 16:29 [1626329] smart account 3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP > SELF 0.00000000 Waves
{
"type": 13,
"id": "7XQcBRfqRptVuYBFgYeiJZBEhweSebRsd78wkHcymQoA",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1627046966884,
"version": 2,
"chainId": 84,
"sender": "3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP",
"senderPublicKey": "2uZLPvTfcSdSqd6m8q85ZpiWEmxSkGWzb5ocbziqSzCj",
"proofs": [
"imyHiGbTw8E1FC55mnfepKntjALGuUaxf2UA4AuEyANra8Mrs5U9TiEe2hcPZy2uw3HQRZE1C6MZDZAbd4ixnEu"
],
"script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAARjYWxsAAAAAAQAAAADaW52CQAD/AAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNNc05idXBLUTFaZjV5Vm85NTJBa0ZpS3Uycmg0b2V2V2VDAgAAAAxsb2NrTmV1dHJpbm8FAAAAA25pbAkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgkAAlkAAAABAgAAACwyNUZFcUVqUmtxSzZ5Q2tpVDdMejZTQVl6N2dVRkN0eGZDQ2huclZGRDVBVAAAAAAAAAGGoAUAAAADbmlsAwkAAAAAAAACBQAAAANpbnYFAAAAA2ludgkABEwAAAACCQEAAAALQmluYXJ5RW50cnkAAAACAgAAAANiaW4BAAAAAAkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgIAAAAEYm9vbAYJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAA2ludAAAAAAAAAAAAQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAANzdHICAAAAAAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAFpAQAAAApjYWxsVW5sb2NrAAAAAAQAAAADaW52CQAD/AAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNNc05idXBLUTFaZjV5Vm85NTJBa0ZpS3Uycmg0b2V2V2VDAgAAAA51bmxvY2tOZXV0cmlubwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAMdW5sb2NrQW1vdW50AAAAAAAAAYagCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAADWFzc2V0SWRTdHJpbmcCAAAALDI1RkVxRWpSa3FLNnlDa2lUN0x6NlNBWXo3Z1VGQ3R4ZkNDaG5yVkZENUFUBQAAAANuaWwFAAAAA25pbAMJAAAAAAAAAgUAAAADaW52BQAAAANpbnYJAARMAAAAAgkBAAAAC0JpbmFyeUVudHJ5AAAAAgIAAAADYmluAQAAAAAJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAICAAAABGJvb2wGCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAANpbnQAAAAAAAAAAAEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADc3RyAgAAAAAFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleUjw80I=",
"height": 1626329,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BY19Q8qaHzj2FnrRXuJmVhqvGneaTtLD3eot7sTVPgmN
Next: 3j1xV4kAEYEhE2paoNNNrEqPvquchpuZGiUxhsSfjLEo
Diff:
Old | New | | Differences |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
| 15 | + | |
---|
| 16 | + | @Callable(i) |
---|
| 17 | + | func callUnlock () = { |
---|
| 18 | + | let inv = invoke(addressFromStringValue("3MsNbupKQ1Zf5yVo952AkFiKu2rh4oevWeC"), "unlockNeutrino", [IntegerEntry("unlockAmount", 100000), StringEntry("assetIdString", "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT")], nil) |
---|
| 19 | + | if ((inv == inv)) |
---|
| 20 | + | then [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", "")] |
---|
| 21 | + | else throw("Strict value is not equal to itself.") |
---|
| 22 | + | } |
---|
| 23 | + | |
---|
| 24 | + | |
---|
15 | 25 | | @Verifier(tx) |
---|
16 | 26 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
17 | 27 | | |
---|
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 () = { |
---|
8 | 8 | | let inv = invoke(addressFromStringValue("3MsNbupKQ1Zf5yVo952AkFiKu2rh4oevWeC"), "lockNeutrino", nil, [AttachedPayment(fromBase58String("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), 100000)]) |
---|
9 | 9 | | if ((inv == inv)) |
---|
10 | 10 | | then [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", "")] |
---|
11 | 11 | | else throw("Strict value is not equal to itself.") |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
| 15 | + | |
---|
| 16 | + | @Callable(i) |
---|
| 17 | + | func callUnlock () = { |
---|
| 18 | + | let inv = invoke(addressFromStringValue("3MsNbupKQ1Zf5yVo952AkFiKu2rh4oevWeC"), "unlockNeutrino", [IntegerEntry("unlockAmount", 100000), StringEntry("assetIdString", "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT")], nil) |
---|
| 19 | + | if ((inv == inv)) |
---|
| 20 | + | then [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", "")] |
---|
| 21 | + | else throw("Strict value is not equal to itself.") |
---|
| 22 | + | } |
---|
| 23 | + | |
---|
| 24 | + | |
---|
15 | 25 | | @Verifier(tx) |
---|
16 | 26 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
17 | 27 | | |
---|