tx · FmEwQj6dNnG2yfb2vpd4e1M1rFXpMvDBY6eh3eFYCCzC

3N2D6tJAXzcTDgUiTWmcdCHd6ctYwNENuBn:  -0.01000000 Waves

2022.11.03 07:52 [2300473] smart account 3N2D6tJAXzcTDgUiTWmcdCHd6ctYwNENuBn > SELF 0.00000000 Waves

{ "type": 13, "id": "FmEwQj6dNnG2yfb2vpd4e1M1rFXpMvDBY6eh3eFYCCzC", "fee": 1000000, "feeAssetId": null, "timestamp": 1667451170606, "version": 2, "chainId": 84, "sender": "3N2D6tJAXzcTDgUiTWmcdCHd6ctYwNENuBn", "senderPublicKey": "Cq4RbcVcQJpCWyHiACDqUf2PbU8PaX949Dun9wRSeDzE", "proofs": [ "2jwT6QNEAuEX5GJ788n2g5mxdYQmB9Ko3fxG7m8UohAB3hytp1DHEzzELSQkczrJr1crfa1vhE9t3aMA9V9cyTXi" ], "script": "base64:AAIDAAAAAAAAAAsIARIHCgUIAQEIAQAAAAAAAAABAAAAAWkBAAAAB3NlbGxhcnQAAAAFAAAABWFydElkAAAABVByaWNlAAAAB21heE1pbnQAAAAHYXNzZXRJZAAAAAhCbG9ja0VuZAQAAAAFbmZ0SWQJAAJYAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAVuZnRJZAIAAAAKX29yZ2FuaXplcgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABW5mdElkAgAAAAtfc3RhcnRQcmljZQUAAAAFUHJpY2UJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFbmZ0SWQCAAAADV9wcmljZUFzc2V0SWQFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAFbmZ0SWQCAAAAC19tYXhNaW50bmZ0BQAAAAdtYXhNaW50CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABW5mdElkAgAAAAlfQmxvY2tFbmQFAAAACEJsb2NrRW5kBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tledojnw0=", "height": 2300473, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AzEbkEDDMyfEfLKVm91orCiyRpREUKzJiyfiVy9cScg7 Next: HkU65mVHYVXDUzG4tVmaLNMSj2ixE6UNbf5JPUKTgxRx Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func startAuction (duration,startPrice,priceAssetId) = {
8- let auctionId = toBase58String(i.transactionId)
9- let endHeight = (lastBlock.height + duration)
10- let pmt = extract(i.payment)
11- WriteSet([DataEntry(auctionId, endHeight), DataEntry((auctionId + "_organizer"), toBase58String(i.caller.bytes)), DataEntry((auctionId + "_lot_assetId"), if (isDefined(pmt.assetId))
12- then toBase58String(value(pmt.assetId))
13- else "WAVES"), DataEntry((auctionId + "_lot_amount"), pmt.amount), DataEntry((auctionId + "_startPrice"), startPrice), DataEntry((auctionId + "_priceAssetId"), priceAssetId)])
7+func sellart (artId,Price,maxMint,assetId,BlockEnd) = {
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)])
1410 }
1511
12+
13+@Verifier(tx)
14+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1615
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func startAuction (duration,startPrice,priceAssetId) = {
8- let auctionId = toBase58String(i.transactionId)
9- let endHeight = (lastBlock.height + duration)
10- let pmt = extract(i.payment)
11- WriteSet([DataEntry(auctionId, endHeight), DataEntry((auctionId + "_organizer"), toBase58String(i.caller.bytes)), DataEntry((auctionId + "_lot_assetId"), if (isDefined(pmt.assetId))
12- then toBase58String(value(pmt.assetId))
13- else "WAVES"), DataEntry((auctionId + "_lot_amount"), pmt.amount), DataEntry((auctionId + "_startPrice"), startPrice), DataEntry((auctionId + "_priceAssetId"), priceAssetId)])
7+func sellart (artId,Price,maxMint,assetId,BlockEnd) = {
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)])
1410 }
1511
12+
13+@Verifier(tx)
14+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1615

github/deemru/w8io/026f985 
58.53 ms