tx · 6T8htSDD36fGNuRc7PYqn1CMaKyrCk26KVYwKKkdHux

3MsbiyFyy8B3aN3kF8ntda474SPn4YMVkiq:  -0.01000000 Waves

2021.07.09 10:59 [1605810] smart account 3MsbiyFyy8B3aN3kF8ntda474SPn4YMVkiq > SELF 0.00000000 Waves

{ "type": 13, "id": "6T8htSDD36fGNuRc7PYqn1CMaKyrCk26KVYwKKkdHux", "fee": 1000000, "feeAssetId": null, "timestamp": 1625817596765, "version": 2, "chainId": 84, "sender": "3MsbiyFyy8B3aN3kF8ntda474SPn4YMVkiq", "senderPublicKey": "B3KGf6Zy7izEe4GDmoDQssZ7VjRCTWjUiHq6gwwWSqPZ", "proofs": [ "4KdUKPvNU69F9LnNgNwSHYgcc13p5koUsF4irHbpDkAoLTqvRqxztxmSG6qbLTHv6Th26AiWMMqX7sNT44WYQdVr" ], "script": "base64:AAIFAAAAAAAAAKMIAhIECgIICBokCgJhMRIeZ2V0RXh0VmFsdWVJdGVtV2hpdGVMaXN0U3RhdHVzGgoKAmEyEgRpdGVtGg4KAmEzEgh2ZXJpZmllchoOCgJhNBIIVkVSSUZJRUQaEQoCYTUSC0JMQUNLTElTVEVEGgcKAmE2EgFpGg4KAmE3EghzdXBwbGllchoMCgJhOBIGc3RhdHVzGg0KAmE5EgdhY2NvdW50AAAABAEAAAACYTEAAAABAAAAAmEyCQABLAAAAAIFAAAAAmEyAgAAABBfdmVyaWZpZXJfc3RhdHVzAAAAAAJhMwIAAABhd2FybSBvY2VhbiBiZWdpbiB0b2dldGhlciB0aGVyZSBzd2lmdCBmZW5jZSBhcHBsZSBsaWdodCBzd2FybSByZW5ldyBkaXNtaXNzIHN0cm9uZyBzdWNjZXNzIHdvbmRlcgAAAAACYTQCAAAACHZlcmlmaWVkAAAAAAJhNQIAAAAJYmxhY2tsaXN0AAAAAQAAAAJhNgEAAAAJc2V0c3RhdHVzAAAAAgAAAAJhNwAAAAJhOAQAAAACYTkJAAJYAAAAAQgIBQAAAAJhNgAAAAZjYWxsZXIAAAAFYnl0ZXMDCQEAAAACIT0AAAACBQAAAAJhOQUAAAACYTMJAAACAAAAAQIAAAAxT25seSBvcmFjbGUgdmVyeWZpZXIgYXJlIGFibGUgdG8gbWFuYWdlIHdoaXRlbGlzdAMDCQEAAAACIT0AAAACBQAAAAJhOAUAAAACYTQJAQAAAAIhPQAAAAIFAAAAAmE4BQAAAAJhNQcJAAACAAAAAQIAAAAMd3Jvbmcgc3RhdHVzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAJhMQAAAAEFAAAAAmE3BQAAAAJhOAUAAAADbmlsAAAAAPf6c28=", "height": 1605810, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: jx7gTE5AF1FrydKLZzbvf1C2LJ8fAZhRDp6FrwA4FYd Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status")
5+
6+
7+let verifier = "warm ocean begin together there swift fence apple light swarm renew dismiss strong success wonder"
8+
9+let VERIFIED = "verified"
10+
11+let BLACKLISTED = "blacklist"
12+
13+@Callable(i)
14+func setstatus (supplier,status) = {
15+ let account = toBase58String(i.caller.bytes)
16+ if ((account != verifier))
17+ then throw("Only oracle veryfier are able to manage whitelist")
18+ else if (if ((status != VERIFIED))
19+ then (status != BLACKLISTED)
20+ else false)
21+ then throw("wrong status")
22+ else [StringEntry(getExtValueItemWhiteListStatus(supplier), status)]
23+ }
24+
25+

github/deemru/w8io/026f985 
17.99 ms