tx · 5u3grRYJb3vViuzh1L8t4AHsNm8kCggs1TXKJYfUmJGj

3N2Va2D3SCDFkzgpjyLePwHV7cVEnJ4LkLy:  -0.01000000 Waves

2020.08.17 14:39 [1136540] smart account 3N2Va2D3SCDFkzgpjyLePwHV7cVEnJ4LkLy > SELF 0.00000000 Waves

{ "type": 13, "id": "5u3grRYJb3vViuzh1L8t4AHsNm8kCggs1TXKJYfUmJGj", "fee": 1000000, "feeAssetId": null, "timestamp": 1597664279066, "version": 1, "sender": "3N2Va2D3SCDFkzgpjyLePwHV7cVEnJ4LkLy", "senderPublicKey": "5aSAuRhKzTMiFnYaU2wMyqmMTeDS56W9VXM6gRbBp2W9", "proofs": [ "3KYrzmSmWBeUUNLruesmxrRT6zf1vKhWHNQgKYQCspEnXHgoG3mFb6KSjTAhgWSyfvHQPyjhAaLiyb5VCVTfSH6e" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAMAAAAAA3ZlcgIAAAAFNS4wLjIAAAAAC2FkZHJlc3NCb29rCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUVoHUeTQTO77iaMaO0CyN+LlydsBXbwHeAQAAABJnZXRBZGRyZXNzRnJvbUJvb2sAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAthZGRyZXNzQm9vawUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAAFhCQAAAgAAAAECAAAABm5vIGtleQAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAAAR0eElkC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AAAABAAAAAAAAAAAABAAAAAtwS2V5NVNpZ25lZAMJAQAAAAlpc0RlZmluZWQAAAABCQAEGgAAAAIFAAAACXBBZGRyZXNzNQUAAAAEdHhJZAAAAAAAAAAAAQAAAAAAAAAAAAQAAAALcEtleTZTaWduZWQDCQEAAAAJaXNEZWZpbmVkAAAAAQkABBoAAAACBQAAAAlwQWRkcmVzczYFAAAABHR4SWQAAAAAAAAAAAEAAAAAAAAAAAAEAAAAC3BLZXk3U2lnbmVkAwkBAAAACWlzRGVmaW5lZAAAAAEJAAQaAAAAAgUAAAAJcEFkZHJlc3M3BQAAAAR0eElkAAAAAAAAAAABAAAAAAAAAAAABAAAAAtwS2V5OFNpZ25lZAMJAQAAAAlpc0RlZmluZWQAAAABCQAEGgAAAAIFAAAACXBBZGRyZXNzOAUAAAAEdHhJZAAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAAC3BLZXkxU2lnbmVkBQAAAAtwS2V5MlNpZ25lZAUAAAALcEtleTNTaWduZWQFAAAAC3BLZXk0U2lnbmVkBQAAAAtwS2V5NVNpZ25lZAUAAAALcEtleTZTaWduZWQFAAAAC3BLZXk3U2lnbmVkBQAAAAtwS2V5OFNpZ25lZAAAAAAAAAAAAwdIeiOd", "chainId": 84, "height": 1136540, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let ver = "5.0.2"
5+
6+let addressBook = Address(base58'3MwoVRAPfC2NKuuYJKHVAVtUFhq8MyTEfQh')
7+
8+func getAddressFromBook (key) = match getString(addressBook, key) {
9+ case a: String =>
10+ Address(fromBase58String(a))
11+ case _ =>
12+ throw("no key")
13+}
14+
15+
16+
17+@Verifier(tx)
18+func verify () = match tx {
19+ case _: BurnTransaction =>
20+ true
21+ case tx: SetScriptTransaction =>
22+ let txId = toBase58String(tx.id)
23+ let pAddress1 = getAddressFromBook("pAddress1")
24+ let pAddress2 = getAddressFromBook("pAddress2")
25+ let pAddress3 = getAddressFromBook("pAddress3")
26+ let pAddress4 = getAddressFromBook("pAddress4")
27+ let pAddress5 = getAddressFromBook("pAddress5")
28+ let pAddress6 = getAddressFromBook("pAddress6")
29+ let pAddress7 = getAddressFromBook("pAddress7")
30+ let pAddress8 = getAddressFromBook("pAddress8")
31+ let pKey1Signed = if (isDefined(getInteger(pAddress1, txId)))
32+ then 1
33+ else 0
34+ let pKey2Signed = if (isDefined(getInteger(pAddress2, txId)))
35+ then 1
36+ else 0
37+ let pKey3Signed = if (isDefined(getInteger(pAddress3, txId)))
38+ then 1
39+ else 0
40+ let pKey4Signed = if (isDefined(getInteger(pAddress4, txId)))
41+ then 1
42+ else 0
43+ let pKey5Signed = if (isDefined(getInteger(pAddress5, txId)))
44+ then 1
45+ else 0
46+ let pKey6Signed = if (isDefined(getInteger(pAddress6, txId)))
47+ then 1
48+ else 0
49+ let pKey7Signed = if (isDefined(getInteger(pAddress7, txId)))
50+ then 1
51+ else 0
52+ let pKey8Signed = if (isDefined(getInteger(pAddress8, txId)))
53+ then 1
54+ else 0
55+ ((((((((pKey1Signed + pKey2Signed) + pKey3Signed) + pKey4Signed) + pKey5Signed) + pKey6Signed) + pKey7Signed) + pKey8Signed) >= 3)
56+ case _ =>
57+ false
58+}
59+

github/deemru/w8io/026f985 
27.12 ms