BalancerLBPSwapper
Verified contract
Active on
Ethereum with 1 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xd7b8…4732
0x0000…0000
0xc35b…1710
0xba12…f2c8
Balances ($0.00)
No balances found for "BalancerLBPSwapper"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13842785 | 3 years ago | | | 0 | 0.027263795 |
ABI
ABI objects
Getter at block 21221721 readOracle() view returns (struct DecimalD256)
CONTRACT_ADMIN_ROLE() view returns (bytes32)
0x471cfe1a44bf1b786db7d7104d51e6728ed7b90a35394ad7cc424adf8ed16816
backupOracle() view returns (address)
0x0000000000000000000000000000000000000000
core() view returns (address)
0x8d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9
decimalsNormalizer() view returns (int256)
0
doInvert() view returns (bool)
true
duration() view returns (uint256)
604800
fei() view returns (address)
0x956f47f50a910163d8bf957cf5846d573e7f87ca
feiBalance() view returns (uint256)
0
isTimeEnded() view returns (bool)
true
isTimeStarted() view returns (bool)
true
minTokenSpentBalance() view returns (uint256)
100000000000000000000000
oracle() view returns (address)
0xd7b8207f8644ee5cc60095023a8fcb8bdcf54732
paused() view returns (bool)
false
pid() view returns (bytes32)
0xc35bdda2e93c401c6645e0d8a0b2c86906c51710000200000000000000000111
pool() view returns (address)
0xc35bdda2e93c401c6645e0d8a0b2c86906c51710
remainingTime() view returns (uint256)
0
startTime() view returns (uint256)
1643536752
swapEndTime() view returns (uint256 endTime)
1644141552
timeSinceStart() view returns (uint256)
604800
tokenReceived() view returns (address)
0xc7283b66eb1eb5fb86327f08e1b5816b0720212b
tokenReceivingAddress() view returns (address)
0x8d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9
tokenSpent() view returns (address)
0x956f47f50a910163d8bf957cf5846d573e7f87ca
tribe() view returns (address)
0xc7283b66eb1eb5fb86327f08e1b5816b0720212b
tribeBalance() view returns (uint256)
0
vault() view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
Read-only
getTokensIn(uint256 spentTokenBalance) view returns (address[] tokens, uint256[] amountsIn)
invert(struct DecimalD256 price) pure returns (struct DecimalD256)
isContractAdmin(address _admin) view returns (bool)
State-modifying
Events exitPool(address to)
forceSwap()
init(address _pool)
pause()
setAssetManagerPoolConfig(address pool, address token, struct IAssetManagerPoolConfig poolConfig)
setBackupOracle(address newBackupOracle)
setContractAdminRole(bytes32 newContractAdminRole)
setCore(address newCore)
setDecimalsNormalizer(int256 newDecimalsNormalizer)
setDoInvert(bool newDoInvert)
setMinTokenSpent(uint256 newMinTokenSpentBalance)
setOracle(address newOracle)
setPaused(address pool, bool paused)
setReceivingAddress(address newTokenReceivingAddress)
setSwapEnabled(address pool, bool swapEnabled)
setSwapFee(address pool, uint256 swapFee)
setSwapFrequency(uint256 _frequency)
swap()
unpause()
updateOracle()
updateWeightsGradually(address pool, uint256 startTime, uint256 endTime, uint256[] endWeights)
withdrawCollectedManagementFees(address pool, address recipient)
withdrawERC20(address token, address to, uint256 amount)
BackupOracleUpdate(address indexed oldBackupOracle, address indexed newBackupOracle)
ContractAdminRoleUpdate(bytes32 indexed oldContractAdminRole, bytes32 indexed newContractAdminRole)
CoreUpdate(address indexed oldCore, address indexed newCore)
DecimalsNormalizerUpdate(int256 oldDecimalsNormalizer, int256 newDecimalsNormalizer)
DurationUpdate(uint256 oldDuration, uint256 newDuration)
ExitPool()
InvertUpdate(bool oldDoInvert, bool newDoInvert)
MinTokenSpentUpdate(uint256 oldMinTokenSpentBalance, uint256 newMinTokenSpentBalance)
OracleUpdate(address indexed oldOracle, address indexed newOracle)
Paused(address account)
Swap(address indexed _caller, address indexed _tokenSpent, address indexed _tokenReceived, uint256 _amountSpent, uint256 _amountReceived)
TimerReset(uint256 startTime)
Unpaused(address account)
UpdateReceivingAddress(address oldTokenReceivingAddress, address newTokenReceivingAddress)
WithdrawERC20(address indexed _caller, address indexed _token, address indexed _to, uint256 _amount)
constructor(address _core, struct BalancerLBPSwapperOracleData oracleData, uint256 _frequency, address _tokenSpent, address _tokenReceived, address _tokenReceivingAddress, uint256 _minTokenSpentBalance)
This contract contains no fallback and receive objects.
This contract contains no error objects.