tx · FJm2mXh7QqjoWrWwb63FbPXYWxTdpkX2uUyt4ug4WnMn

3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt:  -0.01000000 Waves

2023.05.22 10:48 [2588895] smart account 3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt > SELF 0.00000000 Waves

{ "type": 13, "id": "FJm2mXh7QqjoWrWwb63FbPXYWxTdpkX2uUyt4ug4WnMn", "fee": 1000000, "feeAssetId": null, "timestamp": 1684741756363, "version": 2, "chainId": 84, "sender": "3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt", "senderPublicKey": "6VehQ4nhpSn9EW76xuyThbHcUFYhjEbb4sJDrys5ZEx5", "proofs": [ "4j6wAjeGkxMnEaaZze5yUmjG5vEw28zcAUjKD3wzYUuh67PoYec98S2QsYxJw3ufXSJ6iuqgow9FBWz8mXWhv7fm" ], "script": "base64:BgIOCAISABIDCgEBEgMKAQEAAwFpAQZnZXROdW0ACQCUCgIFA25pbAABAWkBEmNoYW5nZVJhdGVJTlRFUk5BTAEBbgQFY2hlY2sDCQAAAggFAWkGY2FsbGVyBQR0aGlzBgkAAgECB0VSUk9SIDEDCQAAAgUFY2hlY2sFBWNoZWNrBAZ0aW1lc3QEByRtYXRjaDAJAO0HAQUGaGVpZ2h0AwkAAQIFByRtYXRjaDACCUJsb2NrSW5mbwQCYmkFByRtYXRjaDAIBQJiaQl0aW1lc3RhbXAJAAIBAgdFUlJPUiAyCQDMCAIJAQxJbnRlZ2VyRW50cnkCAghudW1WYWx1ZQUBbgkAzAgCCQEMSW50ZWdlckVudHJ5AgIBaAUGaGVpZ2h0CQDMCAIJAQxJbnRlZ2VyRW50cnkCAgF0BQZ0aW1lc3QFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpAQpjaGFuZ2VSYXRlAQFuBA1vdGhlckNvbnRyYWN0CQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTXBNdUdOOHJXOUVwUHd6RVRBUXo4OFBlOVRRaFN3aXJpcQQCdGMJAPwHBAUEdGhpcwISY2hhbmdlUmF0ZUlOVEVSTkFMCQDMCAIFAW4FA25pbAUDbmlsAwkAAAIFAnRjBQJ0YwQCb2MJAP0HBAUNb3RoZXJDb250cmFjdAIGdXBkYXRlBQNuaWwFA25pbAkAlAoCBQNuaWwFAm9jCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAFfrDQ4=", "height": 2588895, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8cTTKCu9mNNEmPMnZGfWW83a2WK5TKZ8N7RrBh3rjAcS Next: none Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func getNum () = $Tuple2(nil, 7)
7+func getNum () = $Tuple2(nil, 1)
88
99
1010
1111 @Callable(i)
12-func setterINTERNAL (n) = {
12+func changeRateINTERNAL (n) = {
1313 let check = if ((i.caller == this))
1414 then true
1515 else throw("ERROR 1")
2929
3030
3131 @Callable(i)
32-func setter (n) = {
32+func changeRate (n) = {
3333 let otherContract = addressFromStringValue("3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq")
34- let tc = invoke(this, "setterINTERNAL", [n], nil)
34+ let tc = invoke(this, "changeRateINTERNAL", [n], nil)
3535 if ((tc == tc))
3636 then {
3737 let oc = reentrantInvoke(otherContract, "update", nil, nil)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func getNum () = $Tuple2(nil, 7)
7+func getNum () = $Tuple2(nil, 1)
88
99
1010
1111 @Callable(i)
12-func setterINTERNAL (n) = {
12+func changeRateINTERNAL (n) = {
1313 let check = if ((i.caller == this))
1414 then true
1515 else throw("ERROR 1")
1616 if ((check == check))
1717 then {
1818 let timest = match blockInfoByHeight(height) {
1919 case bi: BlockInfo =>
2020 bi.timestamp
2121 case _ =>
2222 throw("ERROR 2")
2323 }
2424 [IntegerEntry("numValue", n), IntegerEntry("h", height), IntegerEntry("t", timest)]
2525 }
2626 else throw("Strict value is not equal to itself.")
2727 }
2828
2929
3030
3131 @Callable(i)
32-func setter (n) = {
32+func changeRate (n) = {
3333 let otherContract = addressFromStringValue("3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq")
34- let tc = invoke(this, "setterINTERNAL", [n], nil)
34+ let tc = invoke(this, "changeRateINTERNAL", [n], nil)
3535 if ((tc == tc))
3636 then {
3737 let oc = reentrantInvoke(otherContract, "update", nil, nil)
3838 $Tuple2(nil, oc)
3939 }
4040 else throw("Strict value is not equal to itself.")
4141 }
4242
4343

github/deemru/w8io/169f3d6 
26.96 ms