tx · A4fk2dJdU4AkEp7eFUNcteuBJrvLd668bPRM5v73cpsk

3NDCcfUw3NdSjTPHukj85CQZrt1WmB9aWA9:  -0.01400000 Waves

2021.10.26 23:07 [1763723] smart account 3NDCcfUw3NdSjTPHukj85CQZrt1WmB9aWA9 > SELF 0.00000000 Waves

{ "type": 13, "id": "A4fk2dJdU4AkEp7eFUNcteuBJrvLd668bPRM5v73cpsk", "fee": 1400000, "feeAssetId": null, "timestamp": 1635278884861, "version": 1, "sender": "3NDCcfUw3NdSjTPHukj85CQZrt1WmB9aWA9", "senderPublicKey": "Ft1jz1c1eR7JbyAxdiSRJ1d4qkBH7DSdv89PspmNK5dq", "proofs": [ "3mFSs9QjtW8kYKj9nSSGUuHTBnhLpjytNzV56xKtYLjcmzwcFSATkGycigLS7Jm5tmny53YxE73GQJXtR4B92ETa" ], "script": "base64:AAIFAAAAAAAAACQIAhIGCgQICAgBEgQKAggEEgMKAQESBAoCCAQSABIDCgEBEgAAAAALAAAAAA5TV09QZ292ZXJuYW5jZQkABCYAAAABCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMCAAAAD1NXT1BfZ292ZXJuYW5jZQIAAAAhRW1wdHkga2V5IFNXT1BfZ292ZXJuYW5jZV9hZGRyZXNzAAAAAA1XYXZlc1VzZG5Qb29sCQEAAAAFdmFsdWUAAAABCQAEJgAAAAEJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAPV0FWRVNfVVNETl9Qb29sAgAAACFFbXB0eSBrZXkgU1dPUF9nb3Zlcm5hbmNlX2FkZHJlc3MAAAAAF2RlZmloZWxwZXJNYW5hZ2VyUHViS2V5CQACWQAAAAEJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAZZGVmaWhlbHBlcl9tYW5hZ2VyX1B1YktleQIAAAAjRW1wdHkga2V5IGRlZmloZWxwZXJfbWFuYWdlcl9Qd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sYW5jZQAAAAEFAAAACWNhbGxlclN0cgMJAABmAAAAAgUAAAALd2l0aGRyYXdBbXQFAAAADWNhbGxlckJhbGFuY2UJAAACAAAAAQIAAAAbd2l0aGRyYXdBbXQgPiBjYWxsZXJCYWxhbmNlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIFAAAACWNhbGxlclN0cgUAAAAKa2V5QmFsYW5jZQkAAGUAAAACBQAAAA1jYWxsZXJCYWxhbmNlBQAAAAt3aXRoZHJhd0FtdAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAAC3dpdGhkcmF3QW10BQAAAAR1bml0BQAAAANuaWwAAAABaQEAAAAIc2h1dGRvd24AAAAAAwkBAAAAASEAAAABBQAAABBpc1Byb3RvY29sQWN0aXZlCQAAAgAAAAECAAAAF1Byb3RvbCBzdG9wcGVkIGJ5IGFkbWluAwkBAAAAASEAAAABCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAxhZG1pblB1YktleTEJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkyCQAETAAAAAIFAAAADGFkbWluUHViS2V5MwkABEwAAAACBQAAABdkZWZpaGVscGVyTWFuYWdlclB1YktleQUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAABBpc1Byb3RvY29sQWN0aXZlBwUAAAADbmlsAAAAAHD6CW4=", "chainId": 84, "height": 1763723, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EzZTHNEoHpEMXLweurdkiaRzE3UaXmwmtujmaB5S4Aqq Next: 64QrNPvzCC2d6qBMo4UWPBMNKosw3hkmo1e2JxVqauRQ Diff:
OldNewDifferences
8282 let automateBalance = valueOrErrorMessage(getInteger(this, (user + keyBalance)), (("Empty key user + keyBalance: " + user) + keyBalance))
8383 let newBalance = (automateBalance - protocolFee)
8484 if ((0 > newBalance))
85- then throw(("Insufficient balance:" + toString(newBalance)))
85+ then throw(((("Insufficient new balance:" + toString(newBalance)) + " for user ") + user))
8686 else [IntegerEntry((user + keyBalance), newBalance)]
8787 }
8888 }
9393 func replanishBalance () = if (!(isProtocolActive))
9494 then throw("Protol stopped by admin")
9595 else {
96- let $t037243799 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
97- let pmtAmount = $t037243799._1
98- let pmtAssetId = $t037243799._2
96+ let $t037503825 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
97+ let pmtAmount = $t037503825._1
98+ let pmtAssetId = $t037503825._2
9999 if ((pmtAssetId != unit))
100100 then throw("Only WAVES available for replanishment")
101101 else {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SWOPgovernance = addressFromString(valueOrElse(getString(this, "SWOP_governance"), "Empty key SWOP_governance_address"))
55
66 let WavesUsdnPool = value(addressFromString(valueOrElse(getString(this, "WAVES_USDN_Pool"), "Empty key SWOP_governance_address")))
77
88 let defihelperManagerPubKey = fromBase58String(valueOrElse(getString(this, "defihelper_manager_PubKey"), "Empty key defihelper_manager_PubKey"))
99
1010 let adminPubKey1 = base58'Aqj7onZFvn779uRCiW2zCmXG1RKsGeA6k3SWXmH7s5Lv'
1111
1212 let adminPubKey2 = base58'Aqj7onZFvn779uRCiW2zCmXG1RKsGeA6k3SWXmH7s5Lv'
1313
1414 let adminPubKey3 = base58'Aqj7onZFvn779uRCiW2zCmXG1RKsGeA6k3SWXmH7s5Lv'
1515
1616 let keyBalance = "_balance"
1717
1818 let keyFeeInUSDN = "fee_in_usdn"
1919
2020 let isProtocolActive = valueOrErrorMessage(getBoolean(this, "isProtocolActive"), "Empty key isProtocolActive")
2121
2222 func getCallerBalance (callerStr) = {
2323 let callerBalance = match getInteger(this, (callerStr + keyBalance)) {
2424 case cb: Int =>
2525 cb
2626 case empty: Unit =>
2727 0
2828 case _ =>
2929 throw("Match error")
3030 }
3131 callerBalance
3232 }
3333
3434
3535 func calcWavesProtocolFee () = {
3636 let balanceUSDN = valueOrErrorMessage(getInteger(WavesUsdnPool, "B_asset_balance"), "Empty B_asset_balance")
3737 let balanceWAVES = valueOrErrorMessage(getInteger(WavesUsdnPool, "A_asset_balance"), "Empty A_asset_balance")
3838 let feeInUSDN = valueOrErrorMessage(getInteger(this, "protocol_fee_in_usdn"), "Empty protocol_fee_in_usdn")
3939 let priceWAVES = fraction(feeInUSDN, balanceWAVES, balanceUSDN)
4040 priceWAVES
4141 }
4242
4343
4444 @Callable(i)
4545 func init (defihelperManagerPubKey,WavesUsdnPool,SWOPgovernanceAdr,feeInUSDN) = if (if (isDefined(getString(this, "WAVES_USDN_Pool")))
4646 then true
4747 else isDefined(getString(this, "defihelper_manager_PubKey")))
4848 then throw("Already initialized")
4949 else [StringEntry("defihelper_manager_PubKey", defihelperManagerPubKey), StringEntry("WAVES_USDN_Pool", WavesUsdnPool), StringEntry("SWOP_governance", SWOPgovernanceAdr), IntegerEntry("protocol_fee_in_usdn", feeInUSDN), BooleanEntry("isProtocolActive", true)]
5050
5151
5252
5353 @Callable(i)
5454 func updateAutomateStatus (automate,status) = if (!(isProtocolActive))
5555 then throw("Protol stopped by admin")
5656 else if (!(containsElement([defihelperManagerPubKey], i.callerPublicKey)))
5757 then throw("Only admin can call this function")
5858 else [BooleanEntry(automate, status)]
5959
6060
6161
6262 @Callable(i)
6363 func updateProtocolFee (newFeeInUSDN) = if (!(isProtocolActive))
6464 then throw("Protol stopped by admin")
6565 else if (!(containsElement([defihelperManagerPubKey], i.callerPublicKey)))
6666 then throw("Only admin can call this function")
6767 else [IntegerEntry("protocol_fee_in_usdn", newFeeInUSDN)]
6868
6969
7070
7171 @Callable(i)
7272 func extractFee (user,isFeeExtract) = if (!(isProtocolActive))
7373 then throw("Protol stopped by admin")
7474 else {
7575 let isAutomateActive = valueOrErrorMessage(getBoolean(this, toString(i.caller)), ("Empty key i.caller: " + toString(i.caller)))
7676 if (!(isAutomateActive))
7777 then throw("This automate is inactive")
7878 else {
7979 let protocolFee = if (isFeeExtract)
8080 then calcWavesProtocolFee()
8181 else 0
8282 let automateBalance = valueOrErrorMessage(getInteger(this, (user + keyBalance)), (("Empty key user + keyBalance: " + user) + keyBalance))
8383 let newBalance = (automateBalance - protocolFee)
8484 if ((0 > newBalance))
85- then throw(("Insufficient balance:" + toString(newBalance)))
85+ then throw(((("Insufficient new balance:" + toString(newBalance)) + " for user ") + user))
8686 else [IntegerEntry((user + keyBalance), newBalance)]
8787 }
8888 }
8989
9090
9191
9292 @Callable(i)
9393 func replanishBalance () = if (!(isProtocolActive))
9494 then throw("Protol stopped by admin")
9595 else {
96- let $t037243799 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
97- let pmtAmount = $t037243799._1
98- let pmtAssetId = $t037243799._2
96+ let $t037503825 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
97+ let pmtAmount = $t037503825._1
98+ let pmtAssetId = $t037503825._2
9999 if ((pmtAssetId != unit))
100100 then throw("Only WAVES available for replanishment")
101101 else {
102102 let callerStr = toString(i.caller)
103103 let callerBalance = getCallerBalance(callerStr)
104104 [IntegerEntry((callerStr + keyBalance), (callerBalance + pmtAmount))]
105105 }
106106 }
107107
108108
109109
110110 @Callable(i)
111111 func withdraw (withdrawAmt) = if (!(isProtocolActive))
112112 then throw("Protol stopped by admin")
113113 else {
114114 let callerStr = toString(i.caller)
115115 let callerBalance = getCallerBalance(callerStr)
116116 if ((withdrawAmt > callerBalance))
117117 then throw("withdrawAmt > callerBalance")
118118 else [IntegerEntry((callerStr + keyBalance), (callerBalance - withdrawAmt)), ScriptTransfer(i.caller, withdrawAmt, unit)]
119119 }
120120
121121
122122
123123 @Callable(i)
124124 func shutdown () = if (!(isProtocolActive))
125125 then throw("Protol stopped by admin")
126126 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, defihelperManagerPubKey], i.callerPublicKey)))
127127 then throw("Only admin can call this function")
128128 else [BooleanEntry("isProtocolActive", false)]
129129
130130

github/deemru/w8io/026f985 
37.31 ms