tx · Gk3fzWzBHVsk6p1kVnrURSRGUSCSeZGhuNddvmvjSiZ1

3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo:  -0.01000000 Waves

2022.12.02 13:45 [2342621] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves

{ "type": 13, "id": "Gk3fzWzBHVsk6p1kVnrURSRGUSCSeZGhuNddvmvjSiZ1", "fee": 1000000, "feeAssetId": null, "timestamp": 1669977913711, "version": 2, "chainId": 84, "sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo", "senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V", "proofs": [ "3tvLcyrk1p3Me9a6nSDbzUpC5jhMBj8txMTbpoaKZVXtjv8V8xqE8tJWUbUrobV2mn5kVZsKsVZXHotRE3qhY8hc" ], "script": "base64:BgIICAISBAoCAQEAAQFpAQxzdGFydEF1Y3Rpb24CCGR1cmF0aW9uCnN0YXJ0UHJpY2UECWF1Y3Rpb25JZAkA2AQBCAUBaQ10cmFuc2FjdGlvbklkBANwbXQJAQV2YWx1ZQEJAJEDAggFAWkIcGF5bWVudHMAAAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIFCWF1Y3Rpb25JZAIKX29yZ2FuaXplcgkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgUJYXVjdGlvbklkAgdhc3NldElkCQDYBAEJAQV2YWx1ZQEIBQNwbXQHYXNzZXRJZAkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICBQlhdWN0aW9uSWQCBmFtb3VudAgFA3BtdAZhbW91bnQJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgUJYXVjdGlvbklkAgtfc3RhcnRQcmljZQUKc3RhcnRQcmljZQUDbmlsAESNyio=", "height": 2342621, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GqX7Wqar3CeW3K2XpXcyJNhtHBYqQGhsfKWtZqi63K8b Next: G3G1banHWFwqcEJfppQW9jvyWcRru7TkFi9VcnNTKrco Diff:
OldNewDifferences
66 @Callable(i)
77 func startAuction (duration,startPrice) = {
88 let auctionId = toBase58String(i.transactionId)
9- let endHeight = (lastBlock.height + duration)
109 let pmt = value(i.payments[0])
11-[IntegerEntry(auctionId, endHeight), StringEntry((auctionId + "_organizer"), toBase58String(i.caller.bytes)), StringEntry((auctionId + "assetId"), if (isDefined(pmt.assetId))
12- then toBase58String(value(pmt.assetId))
13- else "WAVES"), IntegerEntry((auctionId + "amount"), pmt.amount), IntegerEntry((auctionId + "_startPrice"), startPrice)]
10+[StringEntry((auctionId + "_organizer"), toBase58String(i.caller.bytes)), StringEntry((auctionId + "assetId"), toBase58String(value(pmt.assetId))), IntegerEntry((auctionId + "amount"), pmt.amount), IntegerEntry((auctionId + "_startPrice"), startPrice)]
1411 }
1512
1613
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func startAuction (duration,startPrice) = {
88 let auctionId = toBase58String(i.transactionId)
9- let endHeight = (lastBlock.height + duration)
109 let pmt = value(i.payments[0])
11-[IntegerEntry(auctionId, endHeight), StringEntry((auctionId + "_organizer"), toBase58String(i.caller.bytes)), StringEntry((auctionId + "assetId"), if (isDefined(pmt.assetId))
12- then toBase58String(value(pmt.assetId))
13- else "WAVES"), IntegerEntry((auctionId + "amount"), pmt.amount), IntegerEntry((auctionId + "_startPrice"), startPrice)]
10+[StringEntry((auctionId + "_organizer"), toBase58String(i.caller.bytes)), StringEntry((auctionId + "assetId"), toBase58String(value(pmt.assetId))), IntegerEntry((auctionId + "amount"), pmt.amount), IntegerEntry((auctionId + "_startPrice"), startPrice)]
1411 }
1512
1613

github/deemru/w8io/169f3d6 
34.35 ms