SwapSmartLock
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "SwapSmartLock"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SwapSmartLock"
ABI
ABI objects
Getter at block 21002593
getDevWallet() view returns (address)
0x0000000000000000000000000000000000000000
getFeesWallet() view returns (address)
0x0000000000000000000000000000000000000000
getPriceEstimator() view returns (address)
0x0000000000000000000000000000000000000000
getSwapToken() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
Read-only
getBeneficiaryPaymentIds(address user) view returns (uint256[] ids)
getFeeInEthForERC20(uint256 amount, address token) view returns (uint256)
getFeeInEthForERC20UsingTotalSupply(uint256 amount, address token) view returns (uint256)
getFeeInEthForEth(uint256 amount) view returns (uint256)
getFeeInSwapForERC20(uint256 amount, address token, bool calcFeeUsingTotalSupply) view returns (uint256)
getFeeInSwapForETH(uint256 amount) view returns (uint256)
getPaymentDetails(uint256 id) view returns (address token, uint256 amount, uint256 releaseTime, address sender, address beneficiary, uint256 createdAt, uint8 status)
getSenderPaymentIds(address user) view returns (uint256[] ids)
isFreeToken(address token) view returns (bool)
releasable(uint256 id) view returns (bool)
State-modifying
Events addTokenToFreeList(address token)
initialize(address swapTokenAddress, address feesWallet, address devWallet, address priceEstimator)
pause()
release(uint256 id)
removeTokenFromFreeList(address token)
renounceOwnership()
scheduleBulkPayment(address tokenAddress, uint256[] amounts, uint256[] releaseTimes, address[] beneficiaries, uint256[] fees, bool isFeeInSwap, bool calcFeeUsingTotalSupply) payable
schedulePayment(address tokenAddress, uint256 amount, uint256 releaseTime, address beneficiary, uint256 fee, bool isFeeInSwap, bool calcFeeUsingTotalSupply) payable
setAllowedFeeSlippagePercentage(uint8 allowedFeeSlippagePercentage)
setDevWallet(address wallet)
setEthFeePercentage(uint8 ethFeePercentage)
setFeeWallet(address wallet)
setMaxFeeInEth(uint256 ethAmountInWei)
setPriceEstimator(address priceEstimator)
setSwapToken(address swapTokenAddress)
setUniswapFeePercentage(uint8 uniswapFeePercentage)
transferOwnership(address newOwner)
unpause()
DevWalletChanged(address indexed wallet)
FeeWalletChanged(address indexed wallet)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
PaymentReleased(uint256 indexed id, address indexed beneficiary, address indexed token)
PaymentScheduled(address indexed token, address indexed sender, address indexed beneficiary, uint256 id, uint256 amount, uint256 releaseTime, uint256 fee, bool isFeeInSwap, bool calcFeeUsingTotalSupply)
SwapTokenUpdated(address indexed swapTokenAddress)
Unpaused(address account)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.