tx · DXzoptuEYy9ztdi1JdQdUswNYLumRT4jJcL8tUmz8n7d

3N61RYWc9QuqKUwLvowpZZLpgUnqpQSFwLq:  -0.01000000 Waves

2023.10.02 15:54 [2781052] smart account 3N61RYWc9QuqKUwLvowpZZLpgUnqpQSFwLq > SELF 0.00000000 Waves

{ "type": 13, "id": "DXzoptuEYy9ztdi1JdQdUswNYLumRT4jJcL8tUmz8n7d", "fee": 1000000, "feeAssetId": null, "timestamp": 1696251345059, "version": 2, "chainId": 84, "sender": "3N61RYWc9QuqKUwLvowpZZLpgUnqpQSFwLq", "senderPublicKey": "HdwFH8HPYu3HG27yK6bszu1CdR4uik4HgzyTimeSfcYf", "proofs": [ "3EVS2e6T4aaNK5d3LBTZokWJSh7kLd8ymvi6GWDSugotqvFkeWSYTYkBgPpFTDHb2NpXyoM9M5DJrqLow4xvMQdU" ], "script": "base64:BgIKCAISBgoECAEIAQIAA1NFUAICX18BCmtleUJhbGFuY2UBB2Fzc2V0SWQJALkJAgkAzAgCAgQlcyVzCQDMCAICA2JhbAkAzAgCBQdhc3NldElkBQNuaWwFA1NFUAEBaQEDcHV0BA1hbW91bnRBc3NldElkEWFtb3VudEFzc2V0QW1vdW50DHByaWNlQXNzZXRJZBBwcmljZUFzc2V0QW1vdW50BAtwb29sQWRkcmVzcwgFAWkGY2FsbGVyBAZyZXN1bHQJAMwIAgkA/AcEBQtwb29sQWRkcmVzcwIMaW50ZWdlckVudHJ5CQDMCAIJAQprZXlCYWxhbmNlAQUNYW1vdW50QXNzZXRJZAkAzAgCBRFhbW91bnRBc3NldEFtb3VudAUDbmlsBQNuaWwJAMwIAgkA/AcEBQtwb29sQWRkcmVzcwIMaW50ZWdlckVudHJ5CQDMCAIJAQprZXlCYWxhbmNlAQUMcHJpY2VBc3NldElkCQDMCAIFEHByaWNlQXNzZXRBbW91bnQFA25pbAUDbmlsBQNuaWwDCQAAAgUGcmVzdWx0BQZyZXN1bHQJAJQKAgUDbmlsBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AGXWr9w==", "height": 2781052, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H881PQQk4eccU7b7L2E2paS1W8jTwScQD5TcEjeBPjwz Next: BXjnq6WGEmsAtWV4ZdkCro6t1a2SdQxpkenhiycYo5yw Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
6-func keyBalance (assetId) = makeString(["%s%", "bal", assetId], SEP)
6+func keyBalance (assetId) = makeString(["%s%s", "bal", assetId], SEP)
77
88
99 @Callable(i)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
6-func keyBalance (assetId) = makeString(["%s%", "bal", assetId], SEP)
6+func keyBalance (assetId) = makeString(["%s%s", "bal", assetId], SEP)
77
88
99 @Callable(i)
1010 func put (amountAssetId,amountAssetAmount,priceAssetId,priceAssetAmount) = {
1111 let poolAddress = i.caller
1212 let result = [invoke(poolAddress, "integerEntry", [keyBalance(amountAssetId), amountAssetAmount], nil), invoke(poolAddress, "integerEntry", [keyBalance(priceAssetId), priceAssetAmount], nil)]
1313 if ((result == result))
1414 then $Tuple2(nil, nil)
1515 else throw("Strict value is not equal to itself.")
1616 }
1717
1818

github/deemru/w8io/169f3d6 
32.18 ms