tx · 57bkVKYQgxc6KcccwU4GDNMB8DsUh2ysuu5P9tyWRmmr

3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81:  -0.01400000 Waves

2020.08.11 08:33 [1127429] smart account 3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81 > SELF 0.00000000 Waves

{ "type": 13, "id": "57bkVKYQgxc6KcccwU4GDNMB8DsUh2ysuu5P9tyWRmmr", "fee": 1400000, "feeAssetId": null, "timestamp": 1597124099025, "version": 1, "sender": "3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81", "senderPublicKey": "7F9WJ2MEaCQTxjwqCQmL9jHicqJVc3uCmntzCMAK8yq6", "proofs": [ "AEN3hhe6MAkDDdwmfLTb2SJrqhdqSp5maJT8F2UXJ2UuSpRBuJQjBspdAvbgFSmHXtsqxEnGh8ApsibdpD5s9CM" ], "script": "base64:AwQAAAAETk9ORQIAAAAEbm9uZQQAAAALdXNlcnNQdWJLZXkBAAAAIKeP6tgl4CP2PWCZbTcLVLGPExrT9u/W4PAFsxrOIcYHBAAAAAl1c2Vyc0FkZHIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAC3VzZXJzUHViS2V5BAAAAARidG5zAQAAACDFLOWBobFDqtyu6bkFDRsq16C369fJHs5Bnyp0LEWdcwQAAAAEYnRuZgEAAAAgAcfavlePt+AR+muoBefYqFrjn0Oc5fUH1esIaonljXkKAQAAAAh2ZXJpZmllcgAAAAEAAAAHYWNjb3VudAMJAAAAAAAAAgUAAAAHYWNjb3VudAUAAAAEdGhpcwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAA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AAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQEAAAAIdmVyaWZpZXIAAAABBQAAAAl1c2Vyc0FkZHIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwCQEAAAAIdmVyaWZpZXIAAAABBQAAAAl1c2Vyc0FkZHIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAEExlYXNlVHJhbnNhY3Rpb24EAAAAAWwFAAAAByRtYXRjaDAJAQAAABdhbGxvd2VkQWRkclNwb25zb3JlZEZlZQAAAAEJAAQkAAAAAQgFAAAAAWwAAAAJcmVjaXBpZW50AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABZMZWFzZUNhbmNlbFRyYW5zYWN0aW9uBAAAAAFjBQAAAAckbWF0Y2gwCQEAAAAIdmVyaWZpZXIAAAABBQAAAAR0aGlzBz+C1oo=", "chainId": 84, "height": 1127429, "spentComplexity": 0 } View: original | compacted Prev: GZTjYRea7NaHTzRsBmrA8VT98Fes96EK8drqQBwKC7fS Next: GoCvFPTQytEgpYAoE3Jcv7konR3j3SMbvg9ACQcZmbke Diff:
OldNewDifferences
4141 func allowedTransferTokens (assetId) = {
4242 let tokensIdList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedTransfers"), ",")
4343 let contain = {
44- let $list14651536 = tokensIdList
45- let $size14651536 = size($list14651536)
46- let $acc014651536 = toBase58String(extract(assetId))
47- if (($size14651536 == 0))
48- then $acc014651536
44+ let $list14641535 = tokensIdList
45+ let $size14641535 = size($list14641535)
46+ let $acc014641535 = toBase58String(extract(assetId))
47+ if (($size14641535 == 0))
48+ then $acc014641535
4949 else {
50- let $acc114651536 = containTokenId($acc014651536, $list14651536[0])
51- if (($size14651536 == 1))
52- then $acc114651536
50+ let $acc114641535 = containTokenId($acc014641535, $list14641535[0])
51+ if (($size14641535 == 1))
52+ then $acc114641535
5353 else {
54- let $acc214651536 = containTokenId($acc114651536, $list14651536[1])
55- if (($size14651536 == 2))
56- then $acc214651536
54+ let $acc214641535 = containTokenId($acc114641535, $list14641535[1])
55+ if (($size14641535 == 2))
56+ then $acc214641535
5757 else {
58- let $acc314651536 = containTokenId($acc214651536, $list14651536[2])
59- if (($size14651536 == 3))
60- then $acc314651536
58+ let $acc314641535 = containTokenId($acc214641535, $list14641535[2])
59+ if (($size14641535 == 3))
60+ then $acc314641535
6161 else {
62- let $acc414651536 = containTokenId($acc314651536, $list14651536[3])
63- if (($size14651536 == 4))
64- then $acc414651536
62+ let $acc414641535 = containTokenId($acc314641535, $list14641535[3])
63+ if (($size14641535 == 4))
64+ then $acc414641535
6565 else {
66- let $acc514651536 = containTokenId($acc414651536, $list14651536[4])
67- if (($size14651536 == 5))
68- then $acc514651536
66+ let $acc514641535 = containTokenId($acc414641535, $list14641535[4])
67+ if (($size14641535 == 5))
68+ then $acc514641535
6969 else {
70- let $acc614651536 = containTokenId($acc514651536, $list14651536[5])
70+ let $acc614641535 = containTokenId($acc514641535, $list14641535[5])
7171 throw("List size exceed 5")
7272 }
7373 }
9292 func allowedAddrSponsoredFee (addr) = {
9393 let addrsList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedSponsorFee"), ",")
9494 let contain = {
95- let $list19712018 = addrsList
96- let $size19712018 = size($list19712018)
97- let $acc019712018 = toString(addr)
98- if (($size19712018 == 0))
99- then $acc019712018
95+ let $list19702017 = addrsList
96+ let $size19702017 = size($list19702017)
97+ let $acc019702017 = toString(addr)
98+ if (($size19702017 == 0))
99+ then $acc019702017
100100 else {
101- let $acc119712018 = containAddr($acc019712018, $list19712018[0])
102- if (($size19712018 == 1))
103- then $acc119712018
101+ let $acc119702017 = containAddr($acc019702017, $list19702017[0])
102+ if (($size19702017 == 1))
103+ then $acc119702017
104104 else {
105- let $acc219712018 = containAddr($acc119712018, $list19712018[1])
106- if (($size19712018 == 2))
107- then $acc219712018
105+ let $acc219702017 = containAddr($acc119702017, $list19702017[1])
106+ if (($size19702017 == 2))
107+ then $acc219702017
108108 else {
109- let $acc319712018 = containAddr($acc219712018, $list19712018[2])
110- if (($size19712018 == 3))
111- then $acc319712018
109+ let $acc319702017 = containAddr($acc219702017, $list19702017[2])
110+ if (($size19702017 == 3))
111+ then $acc319702017
112112 else {
113- let $acc419712018 = containAddr($acc319712018, $list19712018[3])
114- if (($size19712018 == 4))
115- then $acc419712018
113+ let $acc419702017 = containAddr($acc319702017, $list19702017[3])
114+ if (($size19702017 == 4))
115+ then $acc419702017
116116 else {
117- let $acc519712018 = containAddr($acc419712018, $list19712018[4])
118- if (($size19712018 == 5))
119- then $acc519712018
117+ let $acc519702017 = containAddr($acc419702017, $list19702017[4])
118+ if (($size19702017 == 5))
119+ then $acc519702017
120120 else {
121- let $acc619712018 = containAddr($acc519712018, $list19712018[5])
121+ let $acc619702017 = containAddr($acc519702017, $list19702017[5])
122122 throw("List size exceed 5")
123123 }
124124 }
144144 then allowedAddrSponsoredFee(addressFromRecipient(t.recipient))
145145 else throw("Operação não autorizada para contas centralizadas na Plataforma BitNodes")
146146 case o: Order =>
147- let myamount = toBase58String(extract(o.assetPair.amountAsset))
148- let amount = allowedTransferTokens(fromBase58String(myamount))
149- throw(toString(amount))
147+ false
150148 case e: ExchangeTransaction =>
151- true
149+ false
152150 case burn: BurnTransaction =>
153151 verifier(usersAddr)
154152 case d: DataTransaction =>
155- true
153+ verifier(usersAddr)
156154 case s: SetScriptTransaction =>
157- true
155+ verifier(usersAddr)
158156 case l: LeaseTransaction =>
159157 allowedAddrSponsoredFee(addressFromRecipient(l.recipient))
160158 case c: LeaseCancelTransaction =>
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 = {
44- let $list14651536 = tokensIdList
45- let $size14651536 = size($list14651536)
46- let $acc014651536 = toBase58String(extract(assetId))
47- if (($size14651536 == 0))
48- then $acc014651536
44+ let $list14641535 = tokensIdList
45+ let $size14641535 = size($list14641535)
46+ let $acc014641535 = toBase58String(extract(assetId))
47+ if (($size14641535 == 0))
48+ then $acc014641535
4949 else {
50- let $acc114651536 = containTokenId($acc014651536, $list14651536[0])
51- if (($size14651536 == 1))
52- then $acc114651536
50+ let $acc114641535 = containTokenId($acc014641535, $list14641535[0])
51+ if (($size14641535 == 1))
52+ then $acc114641535
5353 else {
54- let $acc214651536 = containTokenId($acc114651536, $list14651536[1])
55- if (($size14651536 == 2))
56- then $acc214651536
54+ let $acc214641535 = containTokenId($acc114641535, $list14641535[1])
55+ if (($size14641535 == 2))
56+ then $acc214641535
5757 else {
58- let $acc314651536 = containTokenId($acc214651536, $list14651536[2])
59- if (($size14651536 == 3))
60- then $acc314651536
58+ let $acc314641535 = containTokenId($acc214641535, $list14641535[2])
59+ if (($size14641535 == 3))
60+ then $acc314641535
6161 else {
62- let $acc414651536 = containTokenId($acc314651536, $list14651536[3])
63- if (($size14651536 == 4))
64- then $acc414651536
62+ let $acc414641535 = containTokenId($acc314641535, $list14641535[3])
63+ if (($size14641535 == 4))
64+ then $acc414641535
6565 else {
66- let $acc514651536 = containTokenId($acc414651536, $list14651536[4])
67- if (($size14651536 == 5))
68- then $acc514651536
66+ let $acc514641535 = containTokenId($acc414641535, $list14641535[4])
67+ if (($size14641535 == 5))
68+ then $acc514641535
6969 else {
70- let $acc614651536 = containTokenId($acc514651536, $list14651536[5])
70+ let $acc614641535 = containTokenId($acc514641535, $list14641535[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
8585 else if (if (isDefined(assetId))
8686 then (contain != true)
8787 else false)
8888 then throw((("This token ID " + getStrVar(contain)) + " is not allowed to operate in this account"))
8989 else verifier(usersAddr)
9090 }
9191
9292 func allowedAddrSponsoredFee (addr) = {
9393 let addrsList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedSponsorFee"), ",")
9494 let contain = {
95- let $list19712018 = addrsList
96- let $size19712018 = size($list19712018)
97- let $acc019712018 = toString(addr)
98- if (($size19712018 == 0))
99- then $acc019712018
95+ let $list19702017 = addrsList
96+ let $size19702017 = size($list19702017)
97+ let $acc019702017 = toString(addr)
98+ if (($size19702017 == 0))
99+ then $acc019702017
100100 else {
101- let $acc119712018 = containAddr($acc019712018, $list19712018[0])
102- if (($size19712018 == 1))
103- then $acc119712018
101+ let $acc119702017 = containAddr($acc019702017, $list19702017[0])
102+ if (($size19702017 == 1))
103+ then $acc119702017
104104 else {
105- let $acc219712018 = containAddr($acc119712018, $list19712018[1])
106- if (($size19712018 == 2))
107- then $acc219712018
105+ let $acc219702017 = containAddr($acc119702017, $list19702017[1])
106+ if (($size19702017 == 2))
107+ then $acc219702017
108108 else {
109- let $acc319712018 = containAddr($acc219712018, $list19712018[2])
110- if (($size19712018 == 3))
111- then $acc319712018
109+ let $acc319702017 = containAddr($acc219702017, $list19702017[2])
110+ if (($size19702017 == 3))
111+ then $acc319702017
112112 else {
113- let $acc419712018 = containAddr($acc319712018, $list19712018[3])
114- if (($size19712018 == 4))
115- then $acc419712018
113+ let $acc419702017 = containAddr($acc319702017, $list19702017[3])
114+ if (($size19702017 == 4))
115+ then $acc419702017
116116 else {
117- let $acc519712018 = containAddr($acc419712018, $list19712018[4])
118- if (($size19712018 == 5))
119- then $acc519712018
117+ let $acc519702017 = containAddr($acc419702017, $list19702017[4])
118+ if (($size19702017 == 5))
119+ then $acc519702017
120120 else {
121- let $acc619712018 = containAddr($acc519712018, $list19712018[5])
121+ let $acc619702017 = containAddr($acc519702017, $list19702017[5])
122122 throw("List size exceed 5")
123123 }
124124 }
125125 }
126126 }
127127 }
128128 }
129129 }
130130 if ((contain != true))
131131 then throw((("This address " + getStrVar(contain)) + " is not allowed to operate with the BitNodes sponsored token"))
132132 else verifier(this)
133133 }
134134
135135 match tx {
136136 case t: TransferTransaction =>
137137 if (if ((t.assetId != btnf))
138138 then (t.feeAssetId != btnf)
139139 else false)
140140 then allowedTransferTokens(t.assetId)
141141 else if (if ((t.assetId == btnf))
142142 then true
143143 else (t.feeAssetId == btnf))
144144 then allowedAddrSponsoredFee(addressFromRecipient(t.recipient))
145145 else throw("Operação não autorizada para contas centralizadas na Plataforma BitNodes")
146146 case o: Order =>
147- let myamount = toBase58String(extract(o.assetPair.amountAsset))
148- let amount = allowedTransferTokens(fromBase58String(myamount))
149- throw(toString(amount))
147+ false
150148 case e: ExchangeTransaction =>
151- true
149+ false
152150 case burn: BurnTransaction =>
153151 verifier(usersAddr)
154152 case d: DataTransaction =>
155- true
153+ verifier(usersAddr)
156154 case s: SetScriptTransaction =>
157- true
155+ verifier(usersAddr)
158156 case l: LeaseTransaction =>
159157 allowedAddrSponsoredFee(addressFromRecipient(l.recipient))
160158 case c: LeaseCancelTransaction =>
161159 verifier(this)
162160 case _ =>
163161 false
164162 }

github/deemru/w8io/169f3d6 
55.16 ms