tx · BPMAHCtJmzGugUet8TBAkBszFC1RCXruumc3qy9zkRih
3N86zk6P6pyxFnu5o1U62pZeiRQ6Q1b3Lgb: -0.01000010 Waves
2021.07.09 12:08 [1605876] smart account 3N86zk6P6pyxFnu5o1U62pZeiRQ6Q1b3Lgb > SELF 0.00000000 Waves
{
"type": 13,
"id": "BPMAHCtJmzGugUet8TBAkBszFC1RCXruumc3qy9zkRih",
"fee": 1000010,
"feeAssetId": null,
"timestamp": 1625821694938,
"version": 2,
"chainId": 84,
"sender": "3N86zk6P6pyxFnu5o1U62pZeiRQ6Q1b3Lgb",
"senderPublicKey": "J5UWSH8o2ZgSCRmahKoyq3Zzf9CSXEJtFQjoxuiqw8jN",
"proofs": [
"3JWSHss8R6LoQxLS4iwKbCuJsS5e44WxEaktP44mDMRcHpmFUXy5ZNu7ba6gU87WvBwBbZHNBZbxsJ1Pdf9DuGoV"
],
"script": "base64:AAIFAAAAAAAAAKMIAhIECgIICBokCgJhMRIeZ2V0RXh0VmFsdWVJdGVtV2hpdGVMaXN0U3RhdHVzGgoKAmEyEgRpdGVtGg4KAmEzEgh2ZXJpZmllchoOCgJhNBIIVkVSSUZJRUQaEQoCYTUSC0JMQUNLTElTVEVEGgcKAmE2EgFpGg4KAmE3EghzdXBwbGllchoMCgJhOBIGc3RhdHVzGg0KAmE5EgdhY2NvdW50AAAABAEAAAACYTEAAAABAAAAAmEyCQABLAAAAAIFAAAAAmEyAgAAABBfdmVyaWZpZXJfc3RhdHVzAAAAAAJhMwIAAAAjM044NnprNlA2cHl4Rm51NW8xVTYycFplaVJRNlExYjNMZ2IAAAAAAmE0AgAAAAh2ZXJpZmllZAAAAAACYTUCAAAACWJsYWNrbGlzdAAAAAEAAAACYTYBAAAACXNldHN0YXR1cwAAAAIAAAACYTcAAAACYTgEAAAAAmE5CQACWAAAAAEICAUAAAACYTYAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAAiE9AAAAAgUAAAACYTkFAAAAAmEzCQAAAgAAAAECAAAAMW9ubHkgb3JhY2xlIHZlcnlmaWVyIGFyZSBhYmxlIHRvIG1hbmFnZSB3aGlsZWxpc3QDAwkBAAAAAiE9AAAAAgUAAAACYTgFAAAAAmE0CQEAAAACIT0AAAACBQAAAAJhOAUAAAACYTUHCQAAAgAAAAECAAAADndhaXRpbmcgc3RhdHVzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAJhMQAAAAEFAAAAAmE3BQAAAAJhOAUAAAADbmlsAAAAAOEZE0s=",
"height": 1605876,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: FUwfKfUzg6LtLoMBzzbqGQMAopotSCw73TKoNdSvGnpq
Next: 6ynNC7JB7PKWXPkj63SNYSsY7yfnb2B4jvuhC4qsp5fJ
Diff:
Old | New | | Differences |
---|
4 | 4 | | func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status") |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | | - | let verifier = "3Mt79pNGr17L6ZkPgX2gKZ1cPqFSZrgvTJE" |
---|
| 7 | + | let verifier = "3N86zk6P6pyxFnu5o1U62pZeiRQ6Q1b3Lgb" |
---|
8 | 8 | | |
---|
9 | 9 | | let VERIFIED = "verified" |
---|
10 | 10 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func getExtValueItemWhiteListStatus (item) = (item + "_verifier_status") |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | | - | let verifier = "3Mt79pNGr17L6ZkPgX2gKZ1cPqFSZrgvTJE" |
---|
| 7 | + | let verifier = "3N86zk6P6pyxFnu5o1U62pZeiRQ6Q1b3Lgb" |
---|
8 | 8 | | |
---|
9 | 9 | | let VERIFIED = "verified" |
---|
10 | 10 | | |
---|
11 | 11 | | let BLACKLISTED = "blacklist" |
---|
12 | 12 | | |
---|
13 | 13 | | @Callable(i) |
---|
14 | 14 | | func setstatus (supplier,status) = { |
---|
15 | 15 | | let account = toBase58String(i.caller.bytes) |
---|
16 | 16 | | if ((account != verifier)) |
---|
17 | 17 | | then throw("only oracle veryfier are able to manage whilelist") |
---|
18 | 18 | | else if (if ((status != VERIFIED)) |
---|
19 | 19 | | then (status != BLACKLISTED) |
---|
20 | 20 | | else false) |
---|
21 | 21 | | then throw("waiting status") |
---|
22 | 22 | | else [StringEntry(getExtValueItemWhiteListStatus(supplier), status)] |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|