tx · 3n1vxLuqcksFLo2Gyvm74rPdbxnTc5pDmxXc4hVSqfDr 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves 2022.12.05 17:23 [2347164] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{ "type": 13, "id": "3n1vxLuqcksFLo2Gyvm74rPdbxnTc5pDmxXc4hVSqfDr", "fee": 1000000, "feeAssetId": null, "timestamp": 1670250150066, "version": 2, "chainId": 84, "sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo", "senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V", "proofs": [ "28T3finxGzb2H2YSPQgkkaUYzbPDDWtYEGDB9MM9SJi49K4Y1VesHYNGYhnsFotBBC7r3zHmdmdu7y89V8Pg3jBb" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQ5hY2NlcHRCaWRPZmZlcgIJYXVjdGlvbklkBW5mdElkBAR0eElkCQDYBAEIBQFpDXRyYW5zYWN0aW9uSWQEBmNhbGxlcggIBQFpBmNhbGxlcgVieXRlcwQHYXNzZXRJZAkA2QQBBQVuZnRJZAQSZ2V0TmZ0V2lubmluZ1ByaWNlCQERQGV4dHJOYXRpdmUoMTA1MykCBQR0aGlzCQCsAgIFCWF1Y3Rpb25JZAIMX2hpZ2hlc3RfYmlkBBBnZXRBdWN0aW9uV2lubmVyCQERQGV4dHJOYXRpdmUoMTA1MykCBQR0aGlzCQCsAgIFCWF1Y3Rpb25JZAIOX3dpbm5lcl9vZl9uZnQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQZjYWxsZXIJAQ1wYXJzZUludFZhbHVlAQUSZ2V0TmZ0V2lubmluZ1ByaWNlBQR1bml0CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQkA2QQBBRBnZXRBdWN0aW9uV2lubmVyAAEFB2Fzc2V0SWQJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICBQR0eElkAhVfYW1vdW50X3BhaWRfdG9fb3duZXIFEmdldE5mdFdpbm5pbmdQcmljZQkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIFBHR4SWQCEF9uZnRfdHJhbnNmZXJfdG8FEGdldEF1Y3Rpb25XaW5uZXIJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICBQR0eElkAgtfbmZ0X3N0YXR1cwIIUkVXQVJERUQJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICBQlhdWN0aW9uSWQCFV9hbW91bnRfcGFpZF90b19vd25lcgUSZ2V0TmZ0V2lubmluZ1ByaWNlCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgUJYXVjdGlvbklkAhBfbmZ0X3RyYW5zZmVyX3RvBRBnZXRBdWN0aW9uV2lubmVyCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgUJYXVjdGlvbklkAgtfbmZ0X3N0YXR1cwIIUkVXQVJERUQFA25pbAB6OzIw", "height": 2347164, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2nkzLJDqh3ymhpCfHhJ9iP9GFCa9oVPuAyPgjNiUqRqd Next: EpDurhTsq5z7xxNAFaMvyeQwVHsyrb3poeH1VFkza68x Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func acceptBidOffer (b,c | |
8 | - | let | |
9 | - | let | |
10 | - | let | |
11 | - | let | |
12 | - | let | |
13 | - | [ScriptTransfer(Address( | |
7 | + | func acceptBidOffer (b,c) = { | |
8 | + | let d = toBase58String(a.transactionId) | |
9 | + | let e = a.caller.bytes | |
10 | + | let f = fromBase58String(c) | |
11 | + | let g = getStringValue(this, (b + "_highest_bid")) | |
12 | + | let h = getStringValue(this, (b + "_winner_of_nft")) | |
13 | + | [ScriptTransfer(Address(e), parseIntValue(g), unit), ScriptTransfer(Address(fromBase58String(h)), 1, f), StringEntry((d + "_amount_paid_to_owner"), g), StringEntry((d + "_nft_transfer_to"), h), StringEntry((d + "_nft_status"), "REWARDED"), StringEntry((b + "_amount_paid_to_owner"), g), StringEntry((b + "_nft_transfer_to"), h), StringEntry((b + "_nft_status"), "REWARDED")] | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func acceptBidOffer (b,c | |
8 | - | let | |
9 | - | let | |
10 | - | let | |
11 | - | let | |
12 | - | let | |
13 | - | [ScriptTransfer(Address( | |
7 | + | func acceptBidOffer (b,c) = { | |
8 | + | let d = toBase58String(a.transactionId) | |
9 | + | let e = a.caller.bytes | |
10 | + | let f = fromBase58String(c) | |
11 | + | let g = getStringValue(this, (b + "_highest_bid")) | |
12 | + | let h = getStringValue(this, (b + "_winner_of_nft")) | |
13 | + | [ScriptTransfer(Address(e), parseIntValue(g), unit), ScriptTransfer(Address(fromBase58String(h)), 1, f), StringEntry((d + "_amount_paid_to_owner"), g), StringEntry((d + "_nft_transfer_to"), h), StringEntry((d + "_nft_status"), "REWARDED"), StringEntry((b + "_amount_paid_to_owner"), g), StringEntry((b + "_nft_transfer_to"), h), StringEntry((b + "_nft_status"), "REWARDED")] | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 |
github/deemru/w8io/026f985 34.15 ms ◑