tx · 9G9jZCEBNMmFbLbTNbXjjn2jyM9DzKDfTKjQiN1MoLS1

3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81:  -0.01400000 Waves

2020.08.11 06:42 [1127321] smart account 3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81 > SELF 0.00000000 Waves

{ "type": 13, "id": "9G9jZCEBNMmFbLbTNbXjjn2jyM9DzKDfTKjQiN1MoLS1", "fee": 1400000, "feeAssetId": null, "timestamp": 1597117346790, "version": 1, "sender": "3Mx66EFd8iB1tZ6vu7Xx5GMkzbKQc3Nrw81", "senderPublicKey": "7F9WJ2MEaCQTxjwqCQmL9jHicqJVc3uCmntzCMAK8yq6", "proofs": [ "32XiTtUmiaBAjb6hdkL8nuQWFKKK6DAdF31GgERDvSY17HDjP66fdXPJ8h6ChGrhUrtTNCNon8ieYKnGZngEudwf" ], "script": "base64:AwQAAAAETk9ORQIAAAAEbm9uZQQAAAALdXNlcnNQdWJLZXkBAAAAIKeP6tgl4CP2PWCZbTcLVLGPExrT9u/W4PAFsxrOIcYHBAAAAAl1c2Vyc0FkZHIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAC3VzZXJzUHViS2V5BAAAAARidG5zAQAAACDFLOWBobFDqtyu6bkFDRsq16C369fJHs5Bnyp0LEWdcwQAAAAEYnRuZgEAAAAgAcfavlePt+AR+muoBefYqFrjn0Oc5fUH1esIaonljXkKAQAAAAh2ZXJpZmllcgAAAAEAAAAHYWNjb3VudAMJAAAAAAAAAgUAAAAHYWNjb3VudAUAAAAEdGhpcwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAA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WNlCQAAAgAAAAECAAAAGnByaWNlIG7Do28gZm9pIHJlY29uaGVjaWRvCQAAAgAAAAECAAAAFXByaWNlIGZvaSByZWNvbmhlY2lkbwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAAEYnVybgUAAAAHJG1hdGNoMAkBAAAACHZlcmlmaWVyAAAAAQUAAAAJdXNlcnNBZGRyAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAQAAAAh2ZXJpZmllcgAAAAEFAAAACXVzZXJzQWRkcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXMFAAAAByRtYXRjaDAJAQAAAAh2ZXJpZmllcgAAAAEFAAAACXVzZXJzQWRkcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQTGVhc2VUcmFuc2FjdGlvbgQAAAABbAUAAAAHJG1hdGNoMAkBAAAAF2FsbG93ZWRBZGRyU3BvbnNvcmVkRmVlAAAAAQkABCQAAAABCAUAAAABbAAAAAlyZWNpcGllbnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFkxlYXNlQ2FuY2VsVHJhbnNhY3Rpb24EAAAAAWMFAAAAByRtYXRjaDAJAQAAAAh2ZXJpZmllcgAAAAEFAAAABHRoaXMGbittIQ==", "chainId": 84, "height": 1127321, "spentComplexity": 0 } View: original | compacted Prev: 7v2UqivMRJuMs6x5zxaoeN6rjCCTwtipR7z78EoMHf7D Next: 2DszxAnNMGntai8KPnSby2EkjcnBCukBL66FVYt3u1c7 Diff:
OldNewDifferences
1313 let str = match key {
1414 case s: String =>
1515 s
16- case b: Boolean =>
17- toString(b)
18- case i: Int =>
19- toString(i)
20- case bv: ByteVector =>
21- toBase58String(bv)
22- case ap: AssetPair =>
23- ((toBase58String(extract(ap.amountAsset)) + ",") + toBase58String(extract(ap.priceAsset)))
24- case u: Unit =>
25- "empty"
2616 case _ =>
2717 NONE
2818 }
5141 func allowedTransferTokens (assetId) = {
5242 let tokensIdList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedTransfers"), ",")
5343 let contain = {
54- let $list14601531 = tokensIdList
55- let $size14601531 = size($list14601531)
56- let $acc014601531 = toBase58String(extract(assetId))
57- if (($size14601531 == 0))
58- then $acc014601531
44+ let $list14651536 = tokensIdList
45+ let $size14651536 = size($list14651536)
46+ let $acc014651536 = toBase58String(extract(assetId))
47+ if (($size14651536 == 0))
48+ then $acc014651536
5949 else {
60- let $acc114601531 = containTokenId($acc014601531, $list14601531[0])
61- if (($size14601531 == 1))
62- then $acc114601531
50+ let $acc114651536 = containTokenId($acc014651536, $list14651536[0])
51+ if (($size14651536 == 1))
52+ then $acc114651536
6353 else {
64- let $acc214601531 = containTokenId($acc114601531, $list14601531[1])
65- if (($size14601531 == 2))
66- then $acc214601531
54+ let $acc214651536 = containTokenId($acc114651536, $list14651536[1])
55+ if (($size14651536 == 2))
56+ then $acc214651536
6757 else {
68- let $acc314601531 = containTokenId($acc214601531, $list14601531[2])
69- if (($size14601531 == 3))
70- then $acc314601531
58+ let $acc314651536 = containTokenId($acc214651536, $list14651536[2])
59+ if (($size14651536 == 3))
60+ then $acc314651536
7161 else {
72- let $acc414601531 = containTokenId($acc314601531, $list14601531[3])
73- if (($size14601531 == 4))
74- then $acc414601531
62+ let $acc414651536 = containTokenId($acc314651536, $list14651536[3])
63+ if (($size14651536 == 4))
64+ then $acc414651536
7565 else {
76- let $acc514601531 = containTokenId($acc414601531, $list14601531[4])
77- if (($size14601531 == 5))
78- then $acc514601531
66+ let $acc514651536 = containTokenId($acc414651536, $list14651536[4])
67+ if (($size14651536 == 5))
68+ then $acc514651536
7969 else {
80- let $acc614601531 = containTokenId($acc514601531, $list14601531[5])
70+ let $acc614651536 = containTokenId($acc514651536, $list14651536[5])
8171 throw("List size exceed 5")
8272 }
8373 }
10292 func allowedAddrSponsoredFee (addr) = {
10393 let addrsList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedSponsorFee"), ",")
10494 let contain = {
105- let $list19662013 = addrsList
106- let $size19662013 = size($list19662013)
107- let $acc019662013 = toString(addr)
108- if (($size19662013 == 0))
109- then $acc019662013
95+ let $list19712018 = addrsList
96+ let $size19712018 = size($list19712018)
97+ let $acc019712018 = toString(addr)
98+ if (($size19712018 == 0))
99+ then $acc019712018
110100 else {
111- let $acc119662013 = containAddr($acc019662013, $list19662013[0])
112- if (($size19662013 == 1))
113- then $acc119662013
101+ let $acc119712018 = containAddr($acc019712018, $list19712018[0])
102+ if (($size19712018 == 1))
103+ then $acc119712018
114104 else {
115- let $acc219662013 = containAddr($acc119662013, $list19662013[1])
116- if (($size19662013 == 2))
117- then $acc219662013
105+ let $acc219712018 = containAddr($acc119712018, $list19712018[1])
106+ if (($size19712018 == 2))
107+ then $acc219712018
118108 else {
119- let $acc319662013 = containAddr($acc219662013, $list19662013[2])
120- if (($size19662013 == 3))
121- then $acc319662013
109+ let $acc319712018 = containAddr($acc219712018, $list19712018[2])
110+ if (($size19712018 == 3))
111+ then $acc319712018
122112 else {
123- let $acc419662013 = containAddr($acc319662013, $list19662013[3])
124- if (($size19662013 == 4))
125- then $acc419662013
113+ let $acc419712018 = containAddr($acc319712018, $list19712018[3])
114+ if (($size19712018 == 4))
115+ then $acc419712018
126116 else {
127- let $acc519662013 = containAddr($acc419662013, $list19662013[4])
128- if (($size19662013 == 5))
129- then $acc519662013
117+ let $acc519712018 = containAddr($acc419712018, $list19712018[4])
118+ if (($size19712018 == 5))
119+ then $acc519712018
130120 else {
131- let $acc619662013 = containAddr($acc519662013, $list19662013[5])
121+ let $acc619712018 = containAddr($acc519712018, $list19712018[5])
132122 throw("List size exceed 5")
133123 }
134124 }
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
16- case b: Boolean =>
17- toString(b)
18- case i: Int =>
19- toString(i)
20- case bv: ByteVector =>
21- toBase58String(bv)
22- case ap: AssetPair =>
23- ((toBase58String(extract(ap.amountAsset)) + ",") + toBase58String(extract(ap.priceAsset)))
24- case u: Unit =>
25- "empty"
2616 case _ =>
2717 NONE
2818 }
2919 str
3020 }
3121
3222 func containAddr (a,b) = {
3323 let addr = toString(addressFromPublicKey(fromBase58String(b)))
3424 if ((addr == a))
3525 then true
3626 else if (if ((a == true))
3727 then (addr != a)
3828 else false)
3929 then true
4030 else a
4131 }
4232
4333 func containTokenId (a,b) = if ((b == a))
4434 then true
4535 else if (if ((a == true))
4636 then (b != a)
4737 else false)
4838 then true
4939 else a
5040
5141 func allowedTransferTokens (assetId) = {
5242 let tokensIdList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedTransfers"), ",")
5343 let contain = {
54- let $list14601531 = tokensIdList
55- let $size14601531 = size($list14601531)
56- let $acc014601531 = toBase58String(extract(assetId))
57- if (($size14601531 == 0))
58- then $acc014601531
44+ let $list14651536 = tokensIdList
45+ let $size14651536 = size($list14651536)
46+ let $acc014651536 = toBase58String(extract(assetId))
47+ if (($size14651536 == 0))
48+ then $acc014651536
5949 else {
60- let $acc114601531 = containTokenId($acc014601531, $list14601531[0])
61- if (($size14601531 == 1))
62- then $acc114601531
50+ let $acc114651536 = containTokenId($acc014651536, $list14651536[0])
51+ if (($size14651536 == 1))
52+ then $acc114651536
6353 else {
64- let $acc214601531 = containTokenId($acc114601531, $list14601531[1])
65- if (($size14601531 == 2))
66- then $acc214601531
54+ let $acc214651536 = containTokenId($acc114651536, $list14651536[1])
55+ if (($size14651536 == 2))
56+ then $acc214651536
6757 else {
68- let $acc314601531 = containTokenId($acc214601531, $list14601531[2])
69- if (($size14601531 == 3))
70- then $acc314601531
58+ let $acc314651536 = containTokenId($acc214651536, $list14651536[2])
59+ if (($size14651536 == 3))
60+ then $acc314651536
7161 else {
72- let $acc414601531 = containTokenId($acc314601531, $list14601531[3])
73- if (($size14601531 == 4))
74- then $acc414601531
62+ let $acc414651536 = containTokenId($acc314651536, $list14651536[3])
63+ if (($size14651536 == 4))
64+ then $acc414651536
7565 else {
76- let $acc514601531 = containTokenId($acc414601531, $list14601531[4])
77- if (($size14601531 == 5))
78- then $acc514601531
66+ let $acc514651536 = containTokenId($acc414651536, $list14651536[4])
67+ if (($size14651536 == 5))
68+ then $acc514651536
7969 else {
80- let $acc614601531 = containTokenId($acc514601531, $list14601531[5])
70+ let $acc614651536 = containTokenId($acc514651536, $list14651536[5])
8171 throw("List size exceed 5")
8272 }
8373 }
8474 }
8575 }
8676 }
8777 }
8878 }
8979 if (!(isDefined(assetId)))
9080 then true
9181 else if (if (isDefined(assetId))
9282 then (contain == true)
9383 else false)
9484 then true
9585 else if (if (isDefined(assetId))
9686 then (contain != true)
9787 else false)
9888 then throw((("This token ID " + getStrVar(contain)) + " is not allowed to operate in this account"))
9989 else verifier(usersAddr)
10090 }
10191
10292 func allowedAddrSponsoredFee (addr) = {
10393 let addrsList = split(getStringValue(addressFromPublicKey(usersPubKey), "allowedSponsorFee"), ",")
10494 let contain = {
105- let $list19662013 = addrsList
106- let $size19662013 = size($list19662013)
107- let $acc019662013 = toString(addr)
108- if (($size19662013 == 0))
109- then $acc019662013
95+ let $list19712018 = addrsList
96+ let $size19712018 = size($list19712018)
97+ let $acc019712018 = toString(addr)
98+ if (($size19712018 == 0))
99+ then $acc019712018
110100 else {
111- let $acc119662013 = containAddr($acc019662013, $list19662013[0])
112- if (($size19662013 == 1))
113- then $acc119662013
101+ let $acc119712018 = containAddr($acc019712018, $list19712018[0])
102+ if (($size19712018 == 1))
103+ then $acc119712018
114104 else {
115- let $acc219662013 = containAddr($acc119662013, $list19662013[1])
116- if (($size19662013 == 2))
117- then $acc219662013
105+ let $acc219712018 = containAddr($acc119712018, $list19712018[1])
106+ if (($size19712018 == 2))
107+ then $acc219712018
118108 else {
119- let $acc319662013 = containAddr($acc219662013, $list19662013[2])
120- if (($size19662013 == 3))
121- then $acc319662013
109+ let $acc319712018 = containAddr($acc219712018, $list19712018[2])
110+ if (($size19712018 == 3))
111+ then $acc319712018
122112 else {
123- let $acc419662013 = containAddr($acc319662013, $list19662013[3])
124- if (($size19662013 == 4))
125- then $acc419662013
113+ let $acc419712018 = containAddr($acc319712018, $list19712018[3])
114+ if (($size19712018 == 4))
115+ then $acc419712018
126116 else {
127- let $acc519662013 = containAddr($acc419662013, $list19662013[4])
128- if (($size19662013 == 5))
129- then $acc519662013
117+ let $acc519712018 = containAddr($acc419712018, $list19712018[4])
118+ if (($size19712018 == 5))
119+ then $acc519712018
130120 else {
131- let $acc619662013 = containAddr($acc519662013, $list19662013[5])
121+ let $acc619712018 = containAddr($acc519712018, $list19712018[5])
132122 throw("List size exceed 5")
133123 }
134124 }
135125 }
136126 }
137127 }
138128 }
139129 }
140130 if ((contain != true))
141131 then throw((("This address " + getStrVar(contain)) + " is not allowed to operate with the BitNodes sponsored token"))
142132 else verifier(this)
143133 }
144134
145135 match tx {
146136 case t: TransferTransaction =>
147137 if (if ((t.assetId != btnf))
148138 then (t.feeAssetId != btnf)
149139 else false)
150140 then allowedTransferTokens(t.assetId)
151141 else if (if ((t.assetId == btnf))
152142 then true
153143 else (t.feeAssetId == btnf))
154144 then allowedAddrSponsoredFee(addressFromRecipient(t.recipient))
155145 else throw("Operação não autorizada para contas centralizadas na Plataforma BitNodes")
156146 case o: Order =>
157147 let amount = allowedTransferTokens(o.assetPair.amountAsset)
158148 let price = allowedTransferTokens(o.assetPair.priceAsset)
159149 if (!(price))
160150 then throw("price não foi reconhecido")
161151 else throw("price foi reconhecido")
162152 case e: ExchangeTransaction =>
163153 true
164154 case burn: BurnTransaction =>
165155 verifier(usersAddr)
166156 case d: DataTransaction =>
167157 verifier(usersAddr)
168158 case s: SetScriptTransaction =>
169159 verifier(usersAddr)
170160 case l: LeaseTransaction =>
171161 allowedAddrSponsoredFee(addressFromRecipient(l.recipient))
172162 case c: LeaseCancelTransaction =>
173163 verifier(this)
174164 case _ =>
175165 true
176166 }

github/deemru/w8io/026f985 
63.74 ms