tx · 3TbY3KHJS3QwCCKPhUUgYJpH8UiTAYTh5UqCRmC9RttE

3MqqcLhm76wiWz5KLfLDST8MXPufuunLUMN:  -0.01000000 Waves

2024.09.17 12:18 [3287478] smart account 3MqqcLhm76wiWz5KLfLDST8MXPufuunLUMN > SELF 0.00000000 Waves

{ "type": 13, "id": "3TbY3KHJS3QwCCKPhUUgYJpH8UiTAYTh5UqCRmC9RttE", "fee": 1000000, "feeAssetId": null, "timestamp": 1726564684683, "version": 2, "chainId": 84, "sender": "3MqqcLhm76wiWz5KLfLDST8MXPufuunLUMN", "senderPublicKey": "7Ho7tSsDi1wFzsLjrEXbGRtsfps2kpEqLkQiDtJ1KbUf", "proofs": [ "4TvvATcMU71uf2KYp29Q22vs4yp6UVSfZVR7xXswCEFzQ5zzKkRgdxEryakvEv3XbK9XngiuYM5TnfFY6BezEsbS" ], "script": "base64:AAIFAAAAAAAAAB8IAhIECgIICBIECgIECBIECgIICBIECgIICBIDCgEIAAAAEAEAAAAJZ2V0U3RyQnlLAAAAAQAAAANrZXkJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAAAlnZXRJbnRCeUsAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAAAAAAAC2JhaV9hc3NldGlkAQAAACCT4XI4cQSbauiaYx8EJLdkU5csPrxmC4N0r2i7JI3iQgAAAAAKYWRtaW5fYWRkcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVEy373tRI63Ek2W52q6vq4R6tVb84sksQAAAAAAPbm9uX2NpcmN1bGF0aW5nCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU7Gow2os90gzFw/36Afe5D1SnqZMCg0e7AAAAAA5kYXBwUnVubmluZ0tleQIAAAAUY29uZl9kYXBwX2lzX3J1bm5pbmcAAAAAEW1haW50ZW5hbmNlTVNHS2V5AgAAABRjb25mX21haW50ZW5hbmNlX21zZwAAAAALZ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GlkBQAAAANuaWwJAAACAAAAAQIAAAAiWW91IGFyZSBub3QgYWxsb3dlZCB0byBjaGFuZ2UgdGhpcwAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAAFZW50cnkEAAAACyR0MDQxOTU0MjM0CQEAAAAMaWRDYWxsZXJEYXRlAAAAAQUAAAABaQQAAAACaWQIBQAAAAskdDA0MTk1NDIzNAAAAAJfMQQAAAAGY2FsbGVyCAUAAAALJHQwNDE5NTQyMzQAAAACXzIEAAAABGRhdGUIBQAAAAskdDA0MTk1NDIzNAAAAAJfMwMJAAAAAAAAAgUAAAAGY2FsbGVyCQAEJQAAAAEFAAAACmFkbWluX2FkZHIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAFZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5kicJ7w==", "height": 3287478, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FffYnfVTWAzb8gZHbnixPeFTe2q1F6uWQd1occkg2xww Next: ApkU333Sit3uVQ3uEDwu6FGNsfvu6fPCnWidcuodc7TC Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func getStrByK (key) = valueOrElse(getString(this, key), "")
4+func getStrByK (key) = getString(this, key)
55
66
77 func getIntByK (key) = valueOrElse(getInteger(this, key), 0)
5858
5959 @Callable(i)
6060 func appRunning (isLive,message) = {
61- let $t021512190 = idCallerDate(i)
62- let id = $t021512190._1
63- let caller = $t021512190._2
64- let date = $t021512190._3
61+ let $t021342173 = idCallerDate(i)
62+ let id = $t021342173._1
63+ let caller = $t021342173._2
64+ let date = $t021342173._3
6565 if (containsElement([toString(admin_addr), toString(this)], caller))
6666 then [BooleanEntry(dappRunningKey, isLive), StringEntry(maintenanceMSGKey, message)]
6767 else throw("You are not allowed to change this")
7171
7272 @Callable(i)
7373 func deposit (recipient_address,recipient_network) = {
74- let $t025192558 = getPaymentData(i)
75- let amount = $t025192558._1
76- let asset = $t025192558._2
74+ let $t025022541 = getPaymentData(i)
75+ let amount = $t025022541._1
76+ let asset = $t025022541._2
7777 if (true)
7878 then throw(supported_recipients_network[0])
7979 else if ((asset != bai_assetid))
8080 then throw("Only BAI token accepted")
8181 else {
82- let $t027002739 = idCallerDate(i)
83- let id = $t027002739._1
84- let caller = $t027002739._2
85- let date = $t027002739._3
82+ let $t026832722 = idCallerDate(i)
83+ let id = $t026832722._1
84+ let caller = $t026832722._2
85+ let date = $t026832722._3
8686 if ((0 >= (amount - service_fee)))
8787 then throw("Cannot bridge non positive amount!")
8888 else if (!(containsElement(supported_recipients_network, recipient_network)))
9595
9696 @Callable(i)
9797 func finalize (data_key_without_status,recipient_tx_txhash) = {
98- let $t032623301 = idCallerDate(i)
99- let id = $t032623301._1
100- let caller = $t032623301._2
101- let date = $t032623301._3
98+ let $t032453284 = idCallerDate(i)
99+ let id = $t032453284._1
100+ let caller = $t032453284._2
101+ let date = $t032453284._3
102102 if (containsElement([toString(admin_addr), toString(this)], caller))
103103 then {
104- let data = getStrByK(((data_key_without_status + "_") + STATUS_PENDING))
104+ let data = valueOrElse(getStrByK(((data_key_without_status + "_") + STATUS_PENDING)), "")
105105 if ((data == ""))
106106 then throw("Request not found")
107107 else {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func getStrByK (key) = valueOrElse(getString(this, key), "")
4+func getStrByK (key) = getString(this, key)
55
66
77 func getIntByK (key) = valueOrElse(getInteger(this, key), 0)
88
99
1010 let bai_assetid = base58'AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1'
1111
1212 let admin_addr = Address(base58'3MvujUZTtoANRzrKYKzx99Vtb9TUh6VPCDm')
1313
1414 let non_circulating = Address(base58'3NBU8TThHH5YUSk26iGEGU1jHM7vSR3ZTPx')
1515
1616 let dappRunningKey = "conf_dapp_is_running"
1717
1818 let maintenanceMSGKey = "conf_maintenance_msg"
1919
2020 let dappRunning = valueOrElse(getBoolean(this, dappRunningKey), true)
2121
2222 let maintenanceMSG = valueOrElse(getString(this, maintenanceMSGKey), "")
2323
2424 let STATUS_PENDING = "PENDING"
2525
2626 let STATUS_PROCESSED = "PROCESSED"
2727
2828 let supported_recipients_network = split(valueOrElse(getStrByK("supported_recipients_network"), "bnb_base"), "_")
2929
3030 let confirmations_required = valueOrElse(getIntByK("confirmations_required"), 5)
3131
3232 let service_fee = valueOrElse(getIntByK("service_fee"), 25000000)
3333
3434 func getPaymentData (i) = if ((size(i.payments) == 0))
3535 then throw("No payment attached")
3636 else {
3737 let payment = value(i.payments[0])
3838 let amount = value(payment.amount)
3939 let asset = value(payment.assetId)
4040 $Tuple2(amount, asset)
4141 }
4242
4343
4444 func idCallerDate (i) = if (!(dappRunning))
4545 then throw(maintenanceMSG)
4646 else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp)
4747
4848
4949 @Callable(invoke)
5050 func setConf (key,val) = {
5151 let caller = toString(invoke.caller)
5252 if (containsElement([toString(admin_addr), toString(this)], caller))
5353 then [StringEntry(key, val)]
5454 else throw("You are not allowed to change this")
5555 }
5656
5757
5858
5959 @Callable(i)
6060 func appRunning (isLive,message) = {
61- let $t021512190 = idCallerDate(i)
62- let id = $t021512190._1
63- let caller = $t021512190._2
64- let date = $t021512190._3
61+ let $t021342173 = idCallerDate(i)
62+ let id = $t021342173._1
63+ let caller = $t021342173._2
64+ let date = $t021342173._3
6565 if (containsElement([toString(admin_addr), toString(this)], caller))
6666 then [BooleanEntry(dappRunningKey, isLive), StringEntry(maintenanceMSGKey, message)]
6767 else throw("You are not allowed to change this")
6868 }
6969
7070
7171
7272 @Callable(i)
7373 func deposit (recipient_address,recipient_network) = {
74- let $t025192558 = getPaymentData(i)
75- let amount = $t025192558._1
76- let asset = $t025192558._2
74+ let $t025022541 = getPaymentData(i)
75+ let amount = $t025022541._1
76+ let asset = $t025022541._2
7777 if (true)
7878 then throw(supported_recipients_network[0])
7979 else if ((asset != bai_assetid))
8080 then throw("Only BAI token accepted")
8181 else {
82- let $t027002739 = idCallerDate(i)
83- let id = $t027002739._1
84- let caller = $t027002739._2
85- let date = $t027002739._3
82+ let $t026832722 = idCallerDate(i)
83+ let id = $t026832722._1
84+ let caller = $t026832722._2
85+ let date = $t026832722._3
8686 if ((0 >= (amount - service_fee)))
8787 then throw("Cannot bridge non positive amount!")
8888 else if (!(containsElement(supported_recipients_network, recipient_network)))
8989 then throw("Recipient network not supported")
9090 else [StringEntry(((((((((id + "_") + caller) + "_") + recipient_address) + "_") + recipient_network) + "_") + STATUS_PENDING), ((((((((caller + "_") + toString((amount - service_fee))) + "_") + recipient_address) + "_") + recipient_network) + "_") + toString(height)))]
9191 }
9292 }
9393
9494
9595
9696 @Callable(i)
9797 func finalize (data_key_without_status,recipient_tx_txhash) = {
98- let $t032623301 = idCallerDate(i)
99- let id = $t032623301._1
100- let caller = $t032623301._2
101- let date = $t032623301._3
98+ let $t032453284 = idCallerDate(i)
99+ let id = $t032453284._1
100+ let caller = $t032453284._2
101+ let date = $t032453284._3
102102 if (containsElement([toString(admin_addr), toString(this)], caller))
103103 then {
104- let data = getStrByK(((data_key_without_status + "_") + STATUS_PENDING))
104+ let data = valueOrElse(getStrByK(((data_key_without_status + "_") + STATUS_PENDING)), "")
105105 if ((data == ""))
106106 then throw("Request not found")
107107 else {
108108 let amount = valueOrElse(parseInt(split(data, "_")[1]), 0)
109109 if ((0 > amount))
110110 then throw("Cannot transfer non positive amount")
111111 else {
112112 let deposit_height = valueOrElse(parseInt(split(data, "_")[4]), 0)
113113 if ((confirmations_required > (height - deposit_height)))
114114 then throw("Required confirmation not reached.")
115115 else [DeleteEntry(((data_key_without_status + "_") + STATUS_PENDING)), StringEntry(((data_key_without_status + "_") + STATUS_PROCESSED), ((data + "_") + recipient_tx_txhash)), ScriptTransfer(non_circulating, amount, bai_assetid)]
116116 }
117117 }
118118 }
119119 else throw("You are not allowed to change this")
120120 }
121121
122122
123123
124124 @Callable(i)
125125 func deleteEntry (entry) = {
126126 let $t041954234 = idCallerDate(i)
127127 let id = $t041954234._1
128128 let caller = $t041954234._2
129129 let date = $t041954234._3
130130 if ((caller == toString(admin_addr)))
131131 then [DeleteEntry(entry)]
132132 else throw("no")
133133 }
134134
135135
136136 @Verifier(tx)
137137 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
138138

github/deemru/w8io/026f985 
32.80 ms