tx · 9XmyoZX9kKrufdPmLa62mMkjLb7EHfeTWxP5pdFtAoor

3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw:  -0.01000000 Waves

2023.02.10 09:40 [2443173] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves

{ "type": 13, "id": "9XmyoZX9kKrufdPmLa62mMkjLb7EHfeTWxP5pdFtAoor", "fee": 1000000, "feeAssetId": null, "timestamp": 1676011338483, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "5McCPaLxCGNerhy2tgTkhwEbJYPLNDayBEDEqCvnRMkWGYPpSwAsGybUXsYmdTKDMYtZbbCouQ2RobA14cZasrRL" ], "script": "base64:BgIUCAISBAoCCAgSBQoDCAEIEgMKAQECAAV0ZWFtcwEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4ABVdBVkVTAQADAWkBDUFjY2VwdFJlcXVlc3QCDXJlY2VwaWVudEFkZHIHbWVzc2FnZQQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBAdyZWNpdmVyCQDZBAEFDXJlY2VwaWVudEFkZHIEBmFtb3VudAgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQDCQAAAggJAJEDAggFAWkIcGF5bWVudHMAAAdhc3NldElkBQV0ZWFtcwkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIJX3RyYW5zZmVyBQZhbW91bnQJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIMX3RyYW5zZmVyX3RvBQ1yZWNlcGllbnRBZGRyCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQUHcmVjaXZlcgUGYW1vdW50BQV0ZWFtcwUDbmlsBQNuaWwBaQELc2VuZFJlcXVlc3QDDXJlY2VwaWVudEFkZHIGYW1vdW50B21lc3NhZ2UEBmNhbGxlcggIBQFpBmNhbGxlcgVieXRlcwQHcmVjaXZlcgkA2QQBBQ1yZWNlcGllbnRBZGRyCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIAAAUEdW5pdAUDbmlsAWkBCGdpdmVBd2F5AQNhZ2UJAJQKAgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIFA2FnZQUEdW5pdAkAzAgCCQEMSW50ZWdlckVudHJ5AgkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzBQNhZ2UFA25pbAUEdW5pdABP7WKT", "height": 2443173, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6BpNP9T3XG3ab4H7ass4wNCrjUqoRhiWC5om1i7TXAoh Next: GNWVVbBeb9vLpWmqqbJrDBWVV1htNhJeKUNJZSgMN1y9 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let a = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
5+
6+let b = base58''
7+
8+@Callable(c)
9+func AcceptRequest (d,e) = {
10+ let f = c.caller.bytes
11+ let g = fromBase58String(d)
12+ let h = c.payments[0].amount
13+ if ((c.payments[0].assetId == a))
14+ then [IntegerEntry((toBase58String(f) + "_transfer"), h), StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), h, a)]
15+ else nil
16+ }
417
518
6-@Callable(a)
7-func mintNft (b,c,d) = {
8- let e = a.caller
9- let f = Issue(c, d, 1, 0, false)
10- let g = calculateAssetId(f)
11-[f, StringEntry((toBase58String(g) + "_ipfs"), ((b + d) + c)), ScriptTransfer(e, 1, g)]
19+
20+@Callable(c)
21+func sendRequest (d,h,e) = {
22+ let f = c.caller.bytes
23+ let g = fromBase58String(d)
24+[StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), 0, unit)]
1225 }
26+
27+
28+
29+@Callable(c)
30+func giveAway (i) = $Tuple2([ScriptTransfer(c.caller, i, unit), IntegerEntry(toBase58String(c.caller.bytes), i)], unit)
1331
1432

github/deemru/w8io/169f3d6 
40.30 ms