tx · 7cdgFciD2MhVizEKd26VxFzU3BLGsFKn1d8htXVVAjuJ

3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm:  -0.01400000 Waves

2023.05.15 19:18 [2579314] smart account 3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm > SELF 0.00000000 Waves

{ "type": 13, "id": "7cdgFciD2MhVizEKd26VxFzU3BLGsFKn1d8htXVVAjuJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1684167567514, "version": 2, "chainId": 84, "sender": "3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm", "senderPublicKey": "EKmhAeU9yA52DSvBnr1WtWQWyyiCrauDYkmgnTns7ZkA", "proofs": [ "4k8oNLiTfAHkybmvY1CCtKDNgu4ZAJu5kshpKJo95ZAUKAfqDzWeXyJapijPtEQoaqwwBDWNGH9c9fs7vGZEmgYW" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAABAAAAAATd2hpdGVsaXN0ZWRfYWRkcmVzcwkABEwAAAACAgAAACMzTjJadENFR25jSFFqUUY0ZzRvUUJEZVJSWm9VUTNrSjdObQkABEwAAAACAgAAACMzTjZvV0x5UVkyZ003UVVrVXZCbWUxUkVuQTZkMVY3eTNBVAkABEwAAAACAgAAACMzTjhkWUs4QlFoWTd6MXlLRlJGaGR3NG05YjRKanNOUUpWZAUAAAADbmlsAAAAAAR3bF8wCQABkQAAAAIFAAAAE3doaXRlbGlzdGVkX2FkZHJlc3MAAAAAAAAAAAAAAAAABHdsXzEJAAGRAAAAAgUAAAATd2hpdGVsaXN0ZWRfYWRkcmVzcwAAAAAAAAAAAQAAAAAEd2xfMgkAAZEAAAACBQAAABN3aGl0ZWxpc3RlZF9hZGRyZXNzAAAAAAAAAAACAAAAAQAAAAFpAQAAABNTZXRWb3RpbmdUaW1lU3RhbXBzAAAAAAQAAAAGcHVia2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMDAwMJAQAAAAIhPQAAAAIJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABnB1YmtleQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAEd2xfMAYJAQAAAAIhPQAAAAIJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABnB1YmtleQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAEd2xfMQYJAQAAAAIhPQAAAAIJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABnB1YmtleQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAEd2xfMgkAAAIAAAABAgAAAF1UaGlzIEFkZHJlc3MgaXMgbm90IEF1dGhvcml6ZWQuIE9ubHkgV2hpdGVsaXN0ZWQgQWRkcmVzc2VzIGFyZSBBdXRob3JpemVkIEFkZHJlc3MgdG8gU2lnbiBpdC4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHQWRkcmVzcwUAAAAGcHVia2V5BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecrVNhE=", "height": 2579314, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F3esxtKq9FqpyaKZkbsZL35skWb81mp5SC48WAkPS5Dy Next: 5THmZRPPPk9E2yyfWQt7yAMnnHchrdSSwD4BARMYsAcM Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let whitelisted_address = ["3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm", "3JsKiEJcwGYYZzjHhjwLJfwtg8KTFvYzyrj", "3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd"]
4+let whitelisted_address = ["3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm", "3N6oWLyQY2gM7QUkUvBme1REnA6d1V7y3AT", "3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd"]
55
66 let wl_0 = whitelisted_address[0]
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let whitelisted_address = ["3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm", "3JsKiEJcwGYYZzjHhjwLJfwtg8KTFvYzyrj", "3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd"]
4+let whitelisted_address = ["3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm", "3N6oWLyQY2gM7QUkUvBme1REnA6d1V7y3AT", "3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd"]
55
66 let wl_0 = whitelisted_address[0]
77
88 let wl_1 = whitelisted_address[1]
99
1010 let wl_2 = whitelisted_address[2]
1111
1212 @Callable(i)
1313 func SetVotingTimeStamps () = {
1414 let pubkey = toBase58String(i.caller.bytes)
1515 if (if (if ((addressFromStringValue(pubkey) != addressFromStringValue(wl_0)))
1616 then true
1717 else (addressFromStringValue(pubkey) != addressFromStringValue(wl_1)))
1818 then true
1919 else (addressFromStringValue(pubkey) != addressFromStringValue(wl_2)))
2020 then throw("This Address is not Authorized. Only Whitelisted Addresses are Authorized Address to Sign it.")
2121 else [StringEntry("Address", pubkey)]
2222 }
2323
2424
2525 @Verifier(tx)
2626 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2727

github/deemru/w8io/026f985 
35.08 ms