tx · FowC1vi6xDdgqTRsCEJjbf5PjmtDSr17sYFenzUcigwW

3My7JvybytBTv6LBND2MeZCbkeUS7jR3PiK:  -0.10000000 Waves

2022.11.30 15:39 [2339850] smart account 3My7JvybytBTv6LBND2MeZCbkeUS7jR3PiK > SELF 0.00000000 Waves

{ "type": 13, "id": "FowC1vi6xDdgqTRsCEJjbf5PjmtDSr17sYFenzUcigwW", "fee": 10000000, "feeAssetId": null, "timestamp": 1669811987662, "version": 2, "chainId": 84, "sender": "3My7JvybytBTv6LBND2MeZCbkeUS7jR3PiK", "senderPublicKey": "FVTpXbDNs3kNEiYy4vjvjfzxbQim8PuN6fNLFntwM31j", "proofs": [ "8iWZi9e5HgUybrTUUkVr6aiTGZ7Bn9BnY5a1pg9g9oo1jyvj8Q6yWKzNDf5Sj5qzf3ZN7v4ncvkPKJ4JbB3bNuM" ], "script": "base64:BgISCAISBgoECAgBARIAEgQKAggIAgAEa0JpZAIDYmlkAAlzZXBhcmF0b3ICAS8DAWkBCHBsYWNlQmlkBAVuZnRJZAluZnRfb3duZXIJbWluX3ByaWNlCWJpZF9wcmljZQQHYXNzZXRJZAkA2QQBBQVuZnRJZAQGYW1vdW50CQEFdmFsdWUBCAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAMJAQIhPQIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUEdW5pdAkAAgECDFBheSBpbiB3YXZlcwkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIFBmFtb3VudAUEdW5pdAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJAKwCAgkApQgBCAUBaQZjYWxsZXIFCXNlcGFyYXRvcgUEa0JpZAkArAICCQCsAgIFBW5mdElkBQlzZXBhcmF0b3IJAKQDAQUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkArAICCQClCAEIBQFpBmNhbGxlcgUJc2VwYXJhdG9yAgluZnRfb3duZXIFCW5mdF9vd25lcgkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQCsAgIJAKUIAQgFAWkGY2FsbGVyBQlzZXBhcmF0b3ICCW1pbl9wcmljZQUJbWluX3ByaWNlCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJAKwCAgkApQgBCAUBaQZjYWxsZXIFCXNlcGFyYXRvcgIJYmlkX3ByaWNlBQliaWRfcHJpY2UJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgIJAKUIAQgFAWkGY2FsbGVyBQlzZXBhcmF0b3ICBW5mdElkBQVuZnRJZAUDbmlsAWkBA3BheQAEBmFtb3VudAkBBXZhbHVlAQgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQDCQECIT0CCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQFBHVuaXQJAAIBAgxQYXkgaW4gd2F2ZXMFA25pbAFpAQpjb25maXJtQmlkAgVuZnRJZAt1c2VyQWRkcmVzcwkAzAgCCQELU3RyaW5nRW50cnkCAgpiaWRfd2lubmVyBQt1c2VyQWRkcmVzcwUDbmlsALgTTu8=", "height": 2339850, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7imPz5K5MS8Mh7T5EP925thbF7qcvxfJQQ7heyZfaFfR Next: none Diff:
OldNewDifferences
1111 let i = value(c.payments[0].amount)
1212 if ((c.payments[0].assetId != unit))
1313 then throw("Pay in waves")
14- else [StringEntry(((toString(c.caller) + b) + a), ((d + b) + toString(i))), StringEntry(((toString(c.caller) + b) + "nft_owner"), e), IntegerEntry(((toString(c.caller) + b) + "min_price"), f), IntegerEntry(((toString(c.caller) + b) + "bid_price"), g), StringEntry(((toString(c.caller) + b) + "nftId"), d)]
14+ else [ScriptTransfer(c.caller, i, unit), StringEntry(((toString(c.caller) + b) + a), ((d + b) + toString(i))), StringEntry(((toString(c.caller) + b) + "nft_owner"), e), IntegerEntry(((toString(c.caller) + b) + "min_price"), f), IntegerEntry(((toString(c.caller) + b) + "bid_price"), g), StringEntry(((toString(c.caller) + b) + "nftId"), d)]
1515 }
16+
17+
18+
19+@Callable(c)
20+func pay () = {
21+ let i = value(c.payments[0].amount)
22+ if ((c.payments[0].assetId != unit))
23+ then throw("Pay in waves")
24+ else nil
25+ }
26+
27+
28+
29+@Callable(c)
30+func confirmBid (d,j) = [StringEntry("bid_winner", j)]
1631
1732
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "bid"
55
66 let b = "/"
77
88 @Callable(c)
99 func placeBid (d,e,f,g) = {
1010 let h = fromBase58String(d)
1111 let i = value(c.payments[0].amount)
1212 if ((c.payments[0].assetId != unit))
1313 then throw("Pay in waves")
14- else [StringEntry(((toString(c.caller) + b) + a), ((d + b) + toString(i))), StringEntry(((toString(c.caller) + b) + "nft_owner"), e), IntegerEntry(((toString(c.caller) + b) + "min_price"), f), IntegerEntry(((toString(c.caller) + b) + "bid_price"), g), StringEntry(((toString(c.caller) + b) + "nftId"), d)]
14+ else [ScriptTransfer(c.caller, i, unit), StringEntry(((toString(c.caller) + b) + a), ((d + b) + toString(i))), StringEntry(((toString(c.caller) + b) + "nft_owner"), e), IntegerEntry(((toString(c.caller) + b) + "min_price"), f), IntegerEntry(((toString(c.caller) + b) + "bid_price"), g), StringEntry(((toString(c.caller) + b) + "nftId"), d)]
1515 }
16+
17+
18+
19+@Callable(c)
20+func pay () = {
21+ let i = value(c.payments[0].amount)
22+ if ((c.payments[0].assetId != unit))
23+ then throw("Pay in waves")
24+ else nil
25+ }
26+
27+
28+
29+@Callable(c)
30+func confirmBid (d,j) = [StringEntry("bid_winner", j)]
1631
1732

github/deemru/w8io/026f985 
25.97 ms