Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
Velodrome Pair Fees
copy icon
velodrome
• version 1.0.0
AMM
Pair
Finance

Velodrome Pair Fees

Pair Fees contract is used as a 1:1 pair relationship to split out fees, this ensures that the curve does not need to be modified for LP shares

*Visit desktop site to download or deploy

Version

1.0.0

Creator

velodrome

Last Publish

1/20/2023
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
_safeTransfer(address) :
This function is an internal function that is used to transfer tokens from one address to another. It requires that the token address has a code length greater than 0, and then calls the IERC20 transfer selector with the address of the recipient and the value of the tokens to be transferred. It then requires that the call was successful and that the data returned is either empty or a boolean value. (autogenerated documentation)
claimFeesFor(address) :
This function allows the msg.sender (the pair) to transfer a specified amount of tokens from token0 and token1 to a specified recipient address. It requires that the msg.sender is the pair, and then it uses the _safeTransfer function to transfer the tokens from token0 and token1 to the recipient address. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i velodrome-pair-fees
copy icon

Last Publish

1/20/2023

Version

1.0.0

Creator

velodrome

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.