tx · GZTjYRea7NaHTzRsBmrA8VT98Fes96EK8drqQBwKC7fS

3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81:  -0.01400000 Waves

2020.08.11 08:27 [1127423] smart account 3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81 > SELF 0.00000000 Waves

{ "type": 13, "id": "GZTjYRea7NaHTzRsBmrA8VT98Fes96EK8drqQBwKC7fS", "fee": 1400000, "feeAssetId": null, "timestamp": 1597123701740, "version": 1, "sender": "3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81", "senderPublicKey": "7F9WJ2MEaCQTxjwqCQmL9jHicqJVc3uCmntzCMAK8yq6", "proofs": [ "27gWa77VJJCNRxUCeSQpzSemeSSsV599toa2P9sdfxwxcfHWVntoGpRrmaYjn27iGK72vPma3YPVr37enqsciXVS" ], "script": "base64:AwQAAAAETk9ORQIAAAAEbm9uZQQAAAALdXNlcnNQdWJLZXkBAAAAIKeP6tgl4CP2PWCZbTcLVLGPExrT9u/W4PAFsxrOIcYHBAAAAAl1c2Vyc0FkZHIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAC3VzZXJzUHViS2V5BAAAAARidG5zAQAAACDFLOWBobFDqtyu6bkFDRsq16C369fJHs5Bnyp0LEWdcwQAAAAEYnRuZgEAAAAgAcfavlePt+AR+muoBefYqFrjn0Oc5fUH1esIaonljXkKAQAAAAh2ZXJpZmllcgAAAAEAAAAHYWNjb3VudAMJAAAAAAAAAgUAAAAHYWNjb3VudAUAAAAEdGhpcwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAt1c2Vyc1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wAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAARidXJuBQAAAAckbWF0Y2gwCQEAAAAIdmVyaWZpZXIAAAABBQAAAAl1c2Vyc0FkZHIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAABbAUAAAAHJG1hdGNoMAkBAAAAF2FsbG93ZWRBZGRyU3BvbnNvcmVkRmVlAAAAAQkABCQAAAABCAUAAAABbAAAAAlyZWNpcGllbnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFkxlYXNlQ2FuY2VsVHJhbnNhY3Rpb24EAAAAAWMFAAAAByRtYXRjaDAJAQAAAAh2ZXJpZmllcgAAAAEFAAAABHRoaXMHpqTFtA==", "chainId": 84, "height": 1127423, "spentComplexity": 0 } View: original | compacted Prev: 4SWwXtmY3A31DFUFDLUrv9TD5fnd4zfDqqM9V4qUAqzz Next: 57bkVKYQgxc6KcccwU4GDNMB8DsUh2ysuu5P9tyWRmmr Diff:
OldNewDifferences
8282 then (contain == true)
8383 else false)
8484 then true
85- else true
85+ else if (if (isDefined(assetId))
86+ then (contain != true)
87+ else false)
88+ then throw((("This token ID " + getStrVar(contain)) + " is not allowed to operate in this account"))
89+ else verifier(usersAddr)
8690 }
8791
8892 func allowedAddrSponsoredFee (addr) = {
8993 let addrsList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedSponsorFee"), ",")
9094 let contain = {
91- let $list19572004 = addrsList
92- let $size19572004 = size($list19572004)
93- let $acc019572004 = toString(addr)
94- if (($size19572004 == 0))
95- then $acc019572004
95+ let $list19712018 = addrsList
96+ let $size19712018 = size($list19712018)
97+ let $acc019712018 = toString(addr)
98+ if (($size19712018 == 0))
99+ then $acc019712018
96100 else {
97- let $acc119572004 = containAddr($acc019572004, $list19572004[0])
98- if (($size19572004 == 1))
99- then $acc119572004
101+ let $acc119712018 = containAddr($acc019712018, $list19712018[0])
102+ if (($size19712018 == 1))
103+ then $acc119712018
100104 else {
101- let $acc219572004 = containAddr($acc119572004, $list19572004[1])
102- if (($size19572004 == 2))
103- then $acc219572004
105+ let $acc219712018 = containAddr($acc119712018, $list19712018[1])
106+ if (($size19712018 == 2))
107+ then $acc219712018
104108 else {
105- let $acc319572004 = containAddr($acc219572004, $list19572004[2])
106- if (($size19572004 == 3))
107- then $acc319572004
109+ let $acc319712018 = containAddr($acc219712018, $list19712018[2])
110+ if (($size19712018 == 3))
111+ then $acc319712018
108112 else {
109- let $acc419572004 = containAddr($acc319572004, $list19572004[3])
110- if (($size19572004 == 4))
111- then $acc419572004
113+ let $acc419712018 = containAddr($acc319712018, $list19712018[3])
114+ if (($size19712018 == 4))
115+ then $acc419712018
112116 else {
113- let $acc519572004 = containAddr($acc419572004, $list19572004[4])
114- if (($size19572004 == 5))
115- then $acc519572004
117+ let $acc519712018 = containAddr($acc419712018, $list19712018[4])
118+ if (($size19712018 == 5))
119+ then $acc519712018
116120 else {
117- let $acc619572004 = containAddr($acc519572004, $list19572004[5])
121+ let $acc619712018 = containAddr($acc519712018, $list19712018[5])
118122 throw("List size exceed 5")
119123 }
120124 }
148152 case burn: BurnTransaction =>
149153 verifier(usersAddr)
150154 case d: DataTransaction =>
151- verifier(usersAddr)
155+ true
152156 case s: SetScriptTransaction =>
153157 true
154158 case l: LeaseTransaction =>
156160 case c: LeaseCancelTransaction =>
157161 verifier(this)
158162 case _ =>
159- true
163+ false
160164 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let NONE = "none"
44 let usersPubKey = base58'CH6NGp8BFPQ8gm6cPeVG9S3ZWp7m39eQnZU3eTdZgayU'
55 let usersAddr = addressFromPublicKey(usersPubKey)
66 let btns = base58'EGh2LufqeTEdihgaDz6iZosJtsyY98sqkHX2WP8Csnw4'
77 let btnf = base58'7xAHFCPLRSa7XfNNbnd9DMPd9SkgpNfrptFvE4pJE7J'
88 func verifier (account) = if ((account == this))
99 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1010 else sigVerify(tx.bodyBytes, tx.proofs[0], usersPubKey)
1111
1212 func getStrVar (key) = {
1313 let str = match key {
1414 case s: String =>
1515 s
1616 case _ =>
1717 NONE
1818 }
1919 str
2020 }
2121
2222 func containAddr (a,b) = {
2323 let addr = toString(addressFromPublicKey(fromBase58String(b)))
2424 if ((addr == a))
2525 then true
2626 else if (if ((a == true))
2727 then (addr != a)
2828 else false)
2929 then true
3030 else a
3131 }
3232
3333 func containTokenId (a,b) = if ((b == a))
3434 then true
3535 else if (if ((a == true))
3636 then (b != a)
3737 else false)
3838 then true
3939 else a
4040
4141 func allowedTransferTokens (assetId) = {
4242 let tokensIdList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedTransfers"), ",")
4343 let contain = {
4444 let $list14651536 = tokensIdList
4545 let $size14651536 = size($list14651536)
4646 let $acc014651536 = toBase58String(extract(assetId))
4747 if (($size14651536 == 0))
4848 then $acc014651536
4949 else {
5050 let $acc114651536 = containTokenId($acc014651536, $list14651536[0])
5151 if (($size14651536 == 1))
5252 then $acc114651536
5353 else {
5454 let $acc214651536 = containTokenId($acc114651536, $list14651536[1])
5555 if (($size14651536 == 2))
5656 then $acc214651536
5757 else {
5858 let $acc314651536 = containTokenId($acc214651536, $list14651536[2])
5959 if (($size14651536 == 3))
6060 then $acc314651536
6161 else {
6262 let $acc414651536 = containTokenId($acc314651536, $list14651536[3])
6363 if (($size14651536 == 4))
6464 then $acc414651536
6565 else {
6666 let $acc514651536 = containTokenId($acc414651536, $list14651536[4])
6767 if (($size14651536 == 5))
6868 then $acc514651536
6969 else {
7070 let $acc614651536 = containTokenId($acc514651536, $list14651536[5])
7171 throw("List size exceed 5")
7272 }
7373 }
7474 }
7575 }
7676 }
7777 }
7878 }
7979 if (!(isDefined(assetId)))
8080 then true
8181 else if (if (isDefined(assetId))
8282 then (contain == true)
8383 else false)
8484 then true
85- else true
85+ else if (if (isDefined(assetId))
86+ then (contain != true)
87+ else false)
88+ then throw((("This token ID " + getStrVar(contain)) + " is not allowed to operate in this account"))
89+ else verifier(usersAddr)
8690 }
8791
8892 func allowedAddrSponsoredFee (addr) = {
8993 let addrsList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedSponsorFee"), ",")
9094 let contain = {
91- let $list19572004 = addrsList
92- let $size19572004 = size($list19572004)
93- let $acc019572004 = toString(addr)
94- if (($size19572004 == 0))
95- then $acc019572004
95+ let $list19712018 = addrsList
96+ let $size19712018 = size($list19712018)
97+ let $acc019712018 = toString(addr)
98+ if (($size19712018 == 0))
99+ then $acc019712018
96100 else {
97- let $acc119572004 = containAddr($acc019572004, $list19572004[0])
98- if (($size19572004 == 1))
99- then $acc119572004
101+ let $acc119712018 = containAddr($acc019712018, $list19712018[0])
102+ if (($size19712018 == 1))
103+ then $acc119712018
100104 else {
101- let $acc219572004 = containAddr($acc119572004, $list19572004[1])
102- if (($size19572004 == 2))
103- then $acc219572004
105+ let $acc219712018 = containAddr($acc119712018, $list19712018[1])
106+ if (($size19712018 == 2))
107+ then $acc219712018
104108 else {
105- let $acc319572004 = containAddr($acc219572004, $list19572004[2])
106- if (($size19572004 == 3))
107- then $acc319572004
109+ let $acc319712018 = containAddr($acc219712018, $list19712018[2])
110+ if (($size19712018 == 3))
111+ then $acc319712018
108112 else {
109- let $acc419572004 = containAddr($acc319572004, $list19572004[3])
110- if (($size19572004 == 4))
111- then $acc419572004
113+ let $acc419712018 = containAddr($acc319712018, $list19712018[3])
114+ if (($size19712018 == 4))
115+ then $acc419712018
112116 else {
113- let $acc519572004 = containAddr($acc419572004, $list19572004[4])
114- if (($size19572004 == 5))
115- then $acc519572004
117+ let $acc519712018 = containAddr($acc419712018, $list19712018[4])
118+ if (($size19712018 == 5))
119+ then $acc519712018
116120 else {
117- let $acc619572004 = containAddr($acc519572004, $list19572004[5])
121+ let $acc619712018 = containAddr($acc519712018, $list19712018[5])
118122 throw("List size exceed 5")
119123 }
120124 }
121125 }
122126 }
123127 }
124128 }
125129 }
126130 if ((contain != true))
127131 then throw((("This address " + getStrVar(contain)) + " is not allowed to operate with the BitNodes sponsored token"))
128132 else verifier(this)
129133 }
130134
131135 match tx {
132136 case t: TransferTransaction =>
133137 if (if ((t.assetId != btnf))
134138 then (t.feeAssetId != btnf)
135139 else false)
136140 then allowedTransferTokens(t.assetId)
137141 else if (if ((t.assetId == btnf))
138142 then true
139143 else (t.feeAssetId == btnf))
140144 then allowedAddrSponsoredFee(addressFromRecipient(t.recipient))
141145 else throw("Operação não autorizada para contas centralizadas na Plataforma BitNodes")
142146 case o: Order =>
143147 let myamount = toBase58String(extract(o.assetPair.amountAsset))
144148 let amount = allowedTransferTokens(fromBase58String(myamount))
145149 throw(toString(amount))
146150 case e: ExchangeTransaction =>
147151 true
148152 case burn: BurnTransaction =>
149153 verifier(usersAddr)
150154 case d: DataTransaction =>
151- verifier(usersAddr)
155+ true
152156 case s: SetScriptTransaction =>
153157 true
154158 case l: LeaseTransaction =>
155159 allowedAddrSponsoredFee(addressFromRecipient(l.recipient))
156160 case c: LeaseCancelTransaction =>
157161 verifier(this)
158162 case _ =>
159- true
163+ false
160164 }

github/deemru/w8io/169f3d6 
42.11 ms