tx · FyTvFmZr1aM5ZdZBBg7D6QJkM4mNFymNp2DVkc6TJjFr
3Mtce1SEyJ7zoXnotc93vB8umXWyh93rGk2: -0.01000000 Waves
2022.11.04 08:49 [2301968] smart account 3Mtce1SEyJ7zoXnotc93vB8umXWyh93rGk2 > SELF 0.00000000 Waves
{
"type": 13,
"id": "FyTvFmZr1aM5ZdZBBg7D6QJkM4mNFymNp2DVkc6TJjFr",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1667541026657,
"version": 2,
"chainId": 84,
"sender": "3Mtce1SEyJ7zoXnotc93vB8umXWyh93rGk2",
"senderPublicKey": "8GSjmFKc62zwvadNLp1t2Bbir7zA9dniu4eYeyMZvowX",
"proofs": [
"4YwiHt92enxJw38Dv11vwiF3dGvznL41mrYFDyL4PWhkeb76ayjy9tXcrgMSZoVENH8HKTsYtGmu1f2FMxZnzGTG"
],
"script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAAAAAABAAAAAWkBAAAABmJ1eWFydAAAAAIAAAAFYXJ0SWQAAAAGaXNzdWVyBAAAAAVuZnRJZAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABW5mdElkAgAAAApfb3JnYW5pemVyCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFbmZ0SWQCAAAABl9hcnRJZAUAAAAFYXJ0SWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFbmZ0SWQCAAAAB19pc3N1ZXIFAAAABmlzc3VlcgUAAAADbmlsAAAAAD/d/Ns=",
"height": 2301968,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 537HxwX9Ko3nLFkaJ34RiznoimVPaSeQ7T8egtHTcRk4
Next: HptDksRE4LNXN24P5zWHRJ6dFuf1a1LmneUAmNSh7PsE
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func sellart (artId,Price,maxMint,assetId,BlockEnd) = { |
---|
| 7 | + | func buyart (artId,issuer) = { |
---|
8 | 8 | | let nftId = toBase58String(i.transactionId) |
---|
9 | | - | WriteSet([DataEntry((nftId + "_organizer"), toBase58String(i.caller.bytes)), DataEntry((nftId + "_startPrice"), Price), DataEntry((nftId + "_priceAssetId"), assetId), DataEntry((nftId + "_maxMintnft"), maxMint), DataEntry((nftId + "_BlockEnd"), BlockEnd)]) |
---|
| 9 | + | WriteSet([DataEntry((nftId + "_organizer"), toBase58String(i.caller.bytes)), DataEntry((nftId + "_artId"), artId), DataEntry((nftId + "_issuer"), issuer)]) |
---|
10 | 10 | | } |
---|
11 | 11 | | |
---|
12 | 12 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func sellart (artId,Price,maxMint,assetId,BlockEnd) = { |
---|
| 7 | + | func buyart (artId,issuer) = { |
---|
8 | 8 | | let nftId = toBase58String(i.transactionId) |
---|
9 | | - | WriteSet([DataEntry((nftId + "_organizer"), toBase58String(i.caller.bytes)), DataEntry((nftId + "_startPrice"), Price), DataEntry((nftId + "_priceAssetId"), assetId), DataEntry((nftId + "_maxMintnft"), maxMint), DataEntry((nftId + "_BlockEnd"), BlockEnd)]) |
---|
| 9 | + | WriteSet([DataEntry((nftId + "_organizer"), toBase58String(i.caller.bytes)), DataEntry((nftId + "_artId"), artId), DataEntry((nftId + "_issuer"), issuer)]) |
---|
10 | 10 | | } |
---|
11 | 11 | | |
---|
12 | 12 | | |
---|