tx · jx7gTE5AF1FrydKLZzbvf1C2LJ8fAZhRDp6FrwA4FYd

3MsbiyFyy8B3aN3kF8ntda474SPn4YMVkiq:  -0.01000000 Waves

2021.07.09 11:01 [1605812] smart account 3MsbiyFyy8B3aN3kF8ntda474SPn4YMVkiq > SELF 0.00000000 Waves

{ "type": 13, "id": "jx7gTE5AF1FrydKLZzbvf1C2LJ8fAZhRDp6FrwA4FYd", "fee": 1000000, "feeAssetId": null, "timestamp": 1625817718428, "version": 2, "chainId": 84, "sender": "3MsbiyFyy8B3aN3kF8ntda474SPn4YMVkiq", "senderPublicKey": "B3KGf6Zy7izEe4GDmoDQssZ7VjRCTWjUiHq6gwwWSqPZ", "proofs": [ "4xJUhDe9yoyz74yKH1b7f5rZmxbRrw5YgvFMWJZaEshs4CCZPaz9BHxG2rFXLpUvxsL6WkaNuucegG2VcCGyHj9q" ], "script": "base64:AAIFAAAAAAAAAKMIAhIECgIICBokCgJhMRIeZ2V0RXh0VmFsdWVJdGVtV2hpdGVMaXN0U3RhdHVzGgoKAmEyEgRpdGVtGg4KAmEzEgh2ZXJpZmllchoOCgJhNBIIVkVSSUZJRUQaEQoCYTUSC0JMQUNLTElTVEVEGgcKAmE2EgFpGg4KAmE3EghzdXBwbGllchoMCgJhOBIGc3RhdHVzGg0KAmE5EgdhY2NvdW50AAAABAEAAAACYTEAAAABAAAAAmEyCQABLAAAAAIFAAAAAmEyAgAAABBfdmVyaWZpZXJfc3RhdHVzAAAAAAJhMwIAAAAjM014YmZvcHhXbnBxcHZBR3FUMkEyRmtuNWFCeHpmSFIzd1EAAAAAAmE0AgAAAAh2ZXJpZmllZAAAAAACYTUCAAAACWJsYWNrbGlzdAAAAAEAAAACYTYBAAAACXNldHN0YXR1cwAAAAIAAAACYTcAAAACYTgEAAAAAmE5CQACWAAAAAEICAUAAAACYTYAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAAiE9AAAAAgUAAAACYTkFAAAAAmEzCQAAAgAAAAECAAAAMU9ubHkgb3JhY2xlIHZlcnlmaWVyIGFyZSBhYmxlIHRvIG1hbmFnZSB3aGl0ZWxpc3QDAwkBAAAAAiE9AAAAAgUAAAACYTgFAAAAAmE0CQEAAAACIT0AAAACBQAAAAJhOAUAAAACYTUHCQAAAgAAAAECAAAADHdyb25nIHN0YXR1cwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAACYTEAAAABBQAAAAJhNwUAAAACYTgFAAAAA25pbAAAAAAAyC2D", "height": 1605812, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6T8htSDD36fGNuRc7PYqn1CMaKyrCk26KVYwKKkdHux Next: A7R35EW9rYw7Qnw15psafZjvS7YJzsB2VeH4FKuyzEzR Diff:
OldNewDifferences
44 func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status")
55
66
7-let verifier = "warm ocean begin together there swift fence apple light swarm renew dismiss strong success wonder"
7+let verifier = "3MxbfopxWnpqpvAGqT2A2Fkn5aBxzfHR3wQ"
88
99 let VERIFIED = "verified"
1010
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status")
55
66
7-let verifier = "warm ocean begin together there swift fence apple light swarm renew dismiss strong success wonder"
7+let verifier = "3MxbfopxWnpqpvAGqT2A2Fkn5aBxzfHR3wQ"
88
99 let VERIFIED = "verified"
1010
1111 let BLACKLISTED = "blacklist"
1212
1313 @Callable(i)
1414 func setstatus (supplier,status) = {
1515 let account = toBase58String(i.caller.bytes)
1616 if ((account != verifier))
1717 then throw("Only oracle veryfier are able to manage whitelist")
1818 else if (if ((status != VERIFIED))
1919 then (status != BLACKLISTED)
2020 else false)
2121 then throw("wrong status")
2222 else [StringEntry(getExtValueItemWhiteListStatus(supplier), status)]
2323 }
2424
2525

github/deemru/w8io/026f985 
19.49 ms