tokenlon-contracts icon indicating copy to clipboard operation
tokenlon-contracts copied to clipboard

Tokenlon is a decentralized exchange and payment settlement protocol based on blockchain technology. Visit https://tokenlon.im/

Results 29 tokenlon-contracts issues
Sort by recently updated
recently updated
newest added

- fix typo in RFQ contract - change handling logic for makerToken as ETH in RFQ contract - add two parameter to Swap event in GS contract This PR primarily...

Based on branch `v5.3.3-Decurity-audit` (e1e6da301a4e6d52087967d0d19a88fe20f604e0) Run ``` DEPLOYED=true forge test --fork-url '' --fork-block-number 18010197 --match-path 'test/forkMainnet/RFQv2UpgradeTest.t.sol' ```

- Modified from LimitOrder contracts - It checks takerToken/makerToken ratio and make sure the ratio provided by taker is better than or equal to order's specified ratio - Since maker...

- Implement a conditional swap for supporting BestBuy, Repayment and DCA strategies - Add some test function for `fillConOrder` function

Implement permit feature on spender and replace original func calls in RFQ.

Add `setMaxLockDuration` function to `add-veLON-impplementation` branch. Given the correctness and fairness, the code guarantees that if `old_power_A > old_power_B`, then after updating the `maxLockDuration` we have `new_power_A >= new_power_B`. Code...

1. Forked from [veMULTI](https://github.com/anyswap/veMULTI/blob/main/contracts/ve.sol) 2. Supported early withdrawal penalty 3. Add some foundry test cases: 1. initializing the project 2. testing staking 3. testing early withdrawal 4. Improve the coding...