modifier onlyOwner()
internal
modifier onlyRelayerOrOwner()
internal
event Swap(contract IERC20 swappedToken, bytes path, uint256 amountIn, uint256 amountOut)
Name | Type | Description |
---|---|---|
constructor(address _ALGB, address _stakingAddress, contract ISwapRouter _AlgebraRouter) public
public
function swapToALGB(contract IERC20 tokenToSwap, bytes path, uint256 amountOutMin, uint256 withFee) external
external
function transferALGB(uint256 percentToTransfer) external
external
function setRelayer(address _relayer) external
external
function setStakingAddress(address _staking) external
external
function sweepTokens(contract IERC20 token, uint256 amount, address _to) external
external
function transferALGBToStaking() external
external
function collectAccumulatedALGB() external
external
function setStartTime(uint256 _startTime) external
external
Developer note: Sets start time of backend transfers campaign
function setAmountByBack(uint256 _amount) external
external
function setMaxCount(uint256 _maxCount) external
external
function setRate(uint256 _rate) external
external
function transferOwner(address _newOwner) external
external
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|