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:
Old | New | | Differences |
---|
11 | 11 | | let i = value(c.payments[0].amount) |
---|
12 | 12 | | if ((c.payments[0].assetId != unit)) |
---|
13 | 13 | | 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)] |
---|
15 | 15 | | } |
---|
| 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)] |
---|
16 | 31 | | |
---|
17 | 32 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = "bid" |
---|
5 | 5 | | |
---|
6 | 6 | | let b = "/" |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(c) |
---|
9 | 9 | | func placeBid (d,e,f,g) = { |
---|
10 | 10 | | let h = fromBase58String(d) |
---|
11 | 11 | | let i = value(c.payments[0].amount) |
---|
12 | 12 | | if ((c.payments[0].assetId != unit)) |
---|
13 | 13 | | 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)] |
---|
15 | 15 | | } |
---|
| 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)] |
---|
16 | 31 | | |
---|
17 | 32 | | |
---|