tx · EXpwAcD8Lpzd36xHAmgjbiYmu7xX8S49WyYcpuwH46YS

3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5:  -0.01000000 Waves

2023.09.15 10:03 [2756189] smart account 3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5 > SELF 0.00000000 Waves

{ "type": 13, "id": "EXpwAcD8Lpzd36xHAmgjbiYmu7xX8S49WyYcpuwH46YS", "fee": 1000000, "feeAssetId": null, "timestamp": 1694761443774, "version": 2, "chainId": 84, "sender": "3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5", "senderPublicKey": "2LmNyaN5YAXdg9C5vsXcTLU66hsW2KUNPsN7KcHBYhUo", "proofs": [ "49vb9h6PkEaRjoBCqUyW3WmvkFwkBfZbf8GcPPb9BKZEGdYrYctqrHJt8SSp6gXGFXBXXHF6tuWuQucNk5ToWa6X" ], "script": "base64:BgIHCAISAwoBCAABAWkBFVJlZ2lzdGVyUGFpckZvclZvdGluZwEHYXNzZXRJZAQNcmVhZGFzc2V0aW5mbwkA7AcBCQDZBAEFB2Fzc2V0SWQEBHBtdDEJAQV2YWx1ZQEJAJEDAggFAWkIcGF5bWVudHMAAAQKY3VycmVudEtleQkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzBAlmZXRjaHBhaXIJAJ0IAgUEdGhpcwkArAICAghQYWlyX1VWXwUHYXNzZXRJZAQNYXNzZXRpbmZvcG10MgkA2QQBBQdhc3NldElkAwkAAAIFCWZldGNocGFpcgUHYXNzZXRJZAkAAgECIlBhaXIgQWxyZWFkeSBFeGlzdCBpbiBWb3RpbmcgTGlzdC4JAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICAghQYWlyX1VWXwUHYXNzZXRJZAUHYXNzZXRJZAUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tlefwb0ew=", "height": 2756189, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HJwDi9yhfHg2doKUu1CTsUWSqg9RPoqAgaHGFVqNxGdK Next: 1QNeTeHCe1pdRCVb56tJpoiDN3MKCAakP3JSWn1zBvU Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func getassetinfo (assetId) = match assetId {
5- case t: String =>
6- assetInfo(fromBase58String(assetId))
7- case _ =>
8- throw("Can't find asset")
9-}
104
115
126 @Callable(i)
137 func RegisterPairForVoting (assetId) = {
14- let readassetinfo = getassetinfo(assetId)
8+ let readassetinfo = assetInfo(fromBase58String(assetId))
159 let pmt1 = value(i.payments[0])
1610 let currentKey = toBase58String(i.caller.bytes)
1711 let fetchpair = getString(this, ("Pair_UV_" + assetId))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func getassetinfo (assetId) = match assetId {
5- case t: String =>
6- assetInfo(fromBase58String(assetId))
7- case _ =>
8- throw("Can't find asset")
9-}
104
115
126 @Callable(i)
137 func RegisterPairForVoting (assetId) = {
14- let readassetinfo = getassetinfo(assetId)
8+ let readassetinfo = assetInfo(fromBase58String(assetId))
159 let pmt1 = value(i.payments[0])
1610 let currentKey = toBase58String(i.caller.bytes)
1711 let fetchpair = getString(this, ("Pair_UV_" + assetId))
1812 let assetinfopmt2 = fromBase58String(assetId)
1913 if ((fetchpair == assetId))
2014 then throw("Pair Already Exist in Voting List.")
2115 else [StringEntry(("Pair_UV_" + assetId), assetId)]
2216 }
2317
2418
2519 @Verifier(tx)
2620 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2721

github/deemru/w8io/169f3d6 
22.12 ms