tx · 5avNfTaSLz4hoH2b5i5VwUahtswYMPWve5kvtthMeu1a

3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5:  -0.01000000 Waves

2023.09.15 09:57 [2756184] smart account 3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5 > SELF 0.00000000 Waves

{ "type": 13, "id": "5avNfTaSLz4hoH2b5i5VwUahtswYMPWve5kvtthMeu1a", "fee": 1000000, "feeAssetId": null, "timestamp": 1694761123015, "version": 2, "chainId": 84, "sender": "3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5", "senderPublicKey": "2LmNyaN5YAXdg9C5vsXcTLU66hsW2KUNPsN7KcHBYhUo", "proofs": [ "4YH1bwM8uJcAX6spQg8Fh8s6c5hVGoZs9Bu2o46PmK59EQzT3r9gdkCD28zz2LiwZvvQmHJDtgag1EbQkH7f3qBH" ], "script": "base64:BgIICAISBAoCCAgBAQxnZXRhc3NldGluZm8BB2Fzc2V0SWQEByRtYXRjaDAFB2Fzc2V0SWQDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF0BQckbWF0Y2gwCQDsBwEJANkEAQUHYXNzZXRJZAkAAgECEENhbid0IGZpbmQgYXNzZXQBAWkBFVJlZ2lzdGVyUGFpckZvclZvdGluZwIMRW50ZXJBc3NldElEB2Fzc2V0SWQEDXJlYWRhc3NldGluZm8JAQxnZXRhc3NldGluZm8BBQdhc3NldElkBARwbXQxCQEFdmFsdWUBCQCRAwIIBQFpCHBheW1lbnRzAAAECmN1cnJlbnRLZXkJANgEAQgIBQFpBmNhbGxlcgVieXRlcwQJZmV0Y2hwYWlyCQCdCAIFBHRoaXMJAKwCAgIIUGFpcl9VVl8FDEVudGVyQXNzZXRJRAQNYXNzZXRpbmZvcG10MgkA2QQBBQxFbnRlckFzc2V0SUQDCQAAAgUJZmV0Y2hwYWlyBQxFbnRlckFzc2V0SUQJAAIBAiJQYWlyIEFscmVhZHkgRXhpc3QgaW4gVm90aW5nIExpc3QuCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgIIUGFpcl9VVl8FDEVudGVyQXNzZXRJRAUMRW50ZXJBc3NldElEBQNuaWwBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5aFbbcA==", "height": 2756184, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DGwFS22yifjc3wdA3HVJ3Vw8ZgCZRxb7PofGDRc7FBka Next: HJwDi9yhfHg2doKUu1CTsUWSqg9RPoqAgaHGFVqNxGdK Diff:
OldNewDifferences
1616 func RegisterPairForVoting (f,b) = {
1717 let g = a(b)
1818 let h = value(e.payments[0])
19- let i = value(e.payments[1])
20- let j = toBase58String(e.caller.bytes)
21- let k = !(isDefined(i.assetId))
22- let l = getString(this, ("Pair_UV_" + f))
23- let m = fromBase58String(f)
24- if ((l == f))
19+ let i = toBase58String(e.caller.bytes)
20+ let j = getString(this, ("Pair_UV_" + f))
21+ let k = fromBase58String(f)
22+ if ((j == f))
2523 then throw("Pair Already Exist in Voting List.")
26- else if ((size(e.payments) != 2))
27- then throw("Two attached assets expected as payment. Kindly Attach payment1 = CODE Token & payment2 = Token you want to List for Voting.")
28- else if ((i.assetId != m))
29- then throw("Input String & Attached AssetID in payment2 is not matching.")
30- else if ((k == true))
31- then throw("You Attached TN Asset ID for Voting, please attach fsTN instead of TN or Token You want to list in payment[2].")
32- else [StringEntry(("Pair_UV_" + f), f)]
24+ else [StringEntry(("Pair_UV_" + f), f)]
3325 }
3426
3527
36-@Verifier(n)
37-func o () = sigVerify(n.bodyBytes, n.proofs[0], n.senderPublicKey)
28+@Verifier(l)
29+func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey)
3830
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = b
66 if ($isInstanceOf(c, "String"))
77 then {
88 let d = c
99 assetInfo(fromBase58String(b))
1010 }
1111 else throw("Can't find asset")
1212 }
1313
1414
1515 @Callable(e)
1616 func RegisterPairForVoting (f,b) = {
1717 let g = a(b)
1818 let h = value(e.payments[0])
19- let i = value(e.payments[1])
20- let j = toBase58String(e.caller.bytes)
21- let k = !(isDefined(i.assetId))
22- let l = getString(this, ("Pair_UV_" + f))
23- let m = fromBase58String(f)
24- if ((l == f))
19+ let i = toBase58String(e.caller.bytes)
20+ let j = getString(this, ("Pair_UV_" + f))
21+ let k = fromBase58String(f)
22+ if ((j == f))
2523 then throw("Pair Already Exist in Voting List.")
26- else if ((size(e.payments) != 2))
27- then throw("Two attached assets expected as payment. Kindly Attach payment1 = CODE Token & payment2 = Token you want to List for Voting.")
28- else if ((i.assetId != m))
29- then throw("Input String & Attached AssetID in payment2 is not matching.")
30- else if ((k == true))
31- then throw("You Attached TN Asset ID for Voting, please attach fsTN instead of TN or Token You want to list in payment[2].")
32- else [StringEntry(("Pair_UV_" + f), f)]
24+ else [StringEntry(("Pair_UV_" + f), f)]
3325 }
3426
3527
36-@Verifier(n)
37-func o () = sigVerify(n.bodyBytes, n.proofs[0], n.senderPublicKey)
28+@Verifier(l)
29+func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey)
3830

github/deemru/w8io/169f3d6 
45.58 ms