tx · DqhZmRWZsrVAedmARY43oMuNQtGLZkLcXPQZF73Vb3sh

3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37:  -0.01000000 Waves

2023.03.01 15:39 [2471018] smart account 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37 > SELF 0.00000000 Waves

{ "type": 13, "id": "DqhZmRWZsrVAedmARY43oMuNQtGLZkLcXPQZF73Vb3sh", "fee": 1000000, "feeAssetId": null, "timestamp": 1677674420851, "version": 2, "chainId": 84, "sender": "3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37", "senderPublicKey": "J6bcbr8r9usSLYw72NzzrKVCvKDDLe1uDx8bnWp3uFAV", "proofs": [ "5NLNdo9mGNDCAX6rxEwY3C9Ws3DkeWJNm5yJUTA3rhHmZ7YvPtgThSADPtS8pXsim15e1iLsKBUVbdrcCQk6MEAK" ], "script": "base64:BgIECAISAAMAEG5ldXRyaW5vQ29udHJhY3QJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNOOWJlMm13ckE1MldKaG82RGllc1prazQzNTFHdnBuV3VqAA5zZWNvbmRDb250cmFjdAkBEUBleHRyTmF0aXZlKDEwNjIpAQIjM042b1FtVWFucDRUV3VIbnY1cm1hNFd2ZVZ1YjYzSlJGQjIAC3VzZG5Bc3NldElkASD3dur394PKZdtuE+4CO89YKZWpwdGN8kvabNgdYoDI3gEBaQESZG91YmxlSW5kaXJlY3RTd2FwAAQFc3dhcDAJAPwHBAUQbmV1dHJpbm9Db250cmFjdAITc3dhcFRva2VuVG9OZXV0cmlubwUDbmlsCQDMCAIJAQ9BdHRhY2hlZFBheW1lbnQCBQt1c2RuQXNzZXRJZACA4esXBQNuaWwDCQAAAgUFc3dhcDAFBXN3YXAwBAVzd2FwMQkA/AcEBQ5zZWNvbmRDb250cmFjdAIMaW5kaXJlY3RTd2FwBQNuaWwFA25pbAMJAAACBQVzd2FwMQUFc3dhcDEEBXN3YXAyCQD8BwQFEG5ldXRyaW5vQ29udHJhY3QCE3N3YXBUb2tlblRvTmV1dHJpbm8FA25pbAkAzAgCCQEPQXR0YWNoZWRQYXltZW50AgULdXNkbkFzc2V0SWQAgOHrFwUDbmlsAwkAAAIFBXN3YXAyBQVzd2FwMgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAKJjpns=", "height": 2471018, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HqMnXKWKf5Wqn9d3AKNzH9hBbqT3WqRSc83ijnkiAQ2b Next: 2UNV9kPVMQTkRHAnvZnRG5soWB6ZRSVggYumDbEd2wR3 Diff:
OldNewDifferences
55
66 let secondContract = addressFromStringValue("3N6oQmUanp4TWuHnv5rma4WveVub63JRFB2")
77
8+let usdnAssetId = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
9+
810 @Callable(i)
911 func doubleIndirectSwap () = {
10- let swap0 = invoke(neutrinoContract, "swapTokenToNeutrino", nil, [AttachedPayment(unit, 100000000)])
12+ let swap0 = invoke(neutrinoContract, "swapTokenToNeutrino", nil, [AttachedPayment(usdnAssetId, 50000000)])
1113 if ((swap0 == swap0))
1214 then {
1315 let swap1 = invoke(secondContract, "indirectSwap", nil, nil)
1416 if ((swap1 == swap1))
15- then nil
17+ then {
18+ let swap2 = invoke(neutrinoContract, "swapTokenToNeutrino", nil, [AttachedPayment(usdnAssetId, 50000000)])
19+ if ((swap2 == swap2))
20+ then nil
21+ else throw("Strict value is not equal to itself.")
22+ }
1623 else throw("Strict value is not equal to itself.")
1724 }
1825 else throw("Strict value is not equal to itself.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let neutrinoContract = addressFromStringValue("3N9be2mwrA52WJho6DiesZkk4351GvpnWuj")
55
66 let secondContract = addressFromStringValue("3N6oQmUanp4TWuHnv5rma4WveVub63JRFB2")
77
8+let usdnAssetId = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
9+
810 @Callable(i)
911 func doubleIndirectSwap () = {
10- let swap0 = invoke(neutrinoContract, "swapTokenToNeutrino", nil, [AttachedPayment(unit, 100000000)])
12+ let swap0 = invoke(neutrinoContract, "swapTokenToNeutrino", nil, [AttachedPayment(usdnAssetId, 50000000)])
1113 if ((swap0 == swap0))
1214 then {
1315 let swap1 = invoke(secondContract, "indirectSwap", nil, nil)
1416 if ((swap1 == swap1))
15- then nil
17+ then {
18+ let swap2 = invoke(neutrinoContract, "swapTokenToNeutrino", nil, [AttachedPayment(usdnAssetId, 50000000)])
19+ if ((swap2 == swap2))
20+ then nil
21+ else throw("Strict value is not equal to itself.")
22+ }
1623 else throw("Strict value is not equal to itself.")
1724 }
1825 else throw("Strict value is not equal to itself.")
1926 }
2027
2128

github/deemru/w8io/026f985 
39.85 ms