VetherPools
Verified contract
Active on
Ethereum with 203 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "VetherPools"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10795230 | 4 years ago | | | 0 | 0.014365836 | |
| 10622677 | 4 years ago | | | 0 | 0.011726325 | |
| 10618689 | 4 years ago | | | 0 | 0.015465582 | |
| 10618307 | 4 years ago | | | 0 | 0.014651604 | |
| 10618158 | 4 years ago | | | 0 | 0.014071590 | |
| 10617688 | 4 years ago | | | 0 | 0.015635100 | |
| 10617639 | 4 years ago | | | 0.1 | 0.0059251500 | |
| 10617212 | 4 years ago | | | 0.8 | 0.0053370000 | |
| 10617206 | 4 years ago | | | 0.2 | 0.016783500 | |
| 10617204 | 4 years ago | | | 1 | 0.0015306000 |
ABI
ABI objects
Getter at block 21292704
DAY() view returns (uint256)
86400
DAYCAP() view returns (uint256)
2592000
ETHCAP() view returns (uint256)
10000000000000000000
VETHER() view returns (address)
0x4ba6ddd7b89ed838fed25d208d4f644106e34279
memberCount() view returns (uint256)
10
one() view returns (uint256)
1000000000000000000
poolCount() view returns (uint256)
1
Read-only
arrayMembers(uint256) view returns (address)
arrayPools(uint256) view returns (address)
calcAssetPPinVether(uint256 amount, address pool) view returns (uint256 _output)
calcAsymmetricShare(uint256 s, uint256 T, uint256 A) pure returns (uint256 share)
calcPart(uint256 bp, uint256 total) pure returns (uint256 part)
calcShare(uint256 part, uint256 total, uint256 amount) pure returns (uint256 share)
calcStakeUnits(uint256 a, uint256 A, uint256 v, uint256 V) pure returns (uint256 units)
calcSwapFee(uint256 x, uint256 X, uint256 Y) pure returns (uint256 output)
calcSwapOutput(uint256 x, uint256 X, uint256 Y) pure returns (uint256 output)
calcValueInAsset(uint256 amount, address pool) view returns (uint256 price)
calcValueInVether(uint256 amount, address pool) view returns (uint256 price)
calcVetherPPinAsset(uint256 amount, address pool) view returns (uint256 _output)
getMemberPool(address member, uint256 index) view returns (address staker)
getMemberPoolCount(address member) view returns (uint256)
getMemberROI(address member, address pool) view returns (uint256 roi)
getMemberStakeData(address member, address pool) view returns (struct VetherPoolsStakeData)
getPoolROI(address pool) view returns (uint256 roi)
getPoolStaker(address pool, uint256 index) view returns (address staker)
getStakerShareAsset(address member, address pool) view returns (uint256 asset)
getStakerShareVether(address member, address pool) view returns (uint256 vether)
getStakerUnits(address member, address pool) view returns (uint256 stakerUnits)
mapPoolStakers(address, uint256) view returns (address)
memberData(address) view returns (uint256 poolCount)
poolData(address) view returns (bool listed, uint256 genesis, uint256 vether, uint256 asset, uint256 vetherStaked, uint256 assetStaked, uint256 stakerCount, uint256 poolUnits, uint256 fees, uint256 volume, uint256 txCount)
State-modifying
Events buyAsset(address pool, uint256 amount) payable returns (uint256 outputAmount)
sellAsset(address pool, uint256 amount) payable returns (uint256 outputAmount)
stake(uint256 inputVether, uint256 inputAsset, address pool) payable returns (uint256 units)
stakeForMember(uint256 inputVether, uint256 inputAsset, address pool, address member) payable returns (uint256 units)
sync(address pool)
unstake(uint256 basisPoints, address pool) returns (bool success)
unstakeAsymmetric(uint256 basisPoints, address pool, bool toVether) returns (uint256 outputAmount)
unstakeExact(uint256 units, address pool) returns (bool success)
unstakeExactAsymmetric(uint256 units, address pool, bool toVether) returns (uint256 outputAmount)
unstakeForMember(address member, address pool) returns (bool success)
upgrade(address newContract)
Staked(address pool, address member, uint256 inputAsset, uint256 inputVether, uint256 unitsIssued)
Swapped(address assetFrom, address assetTo, uint256 inputAmount, uint256 transferAmount, uint256 outPutAmount, uint256 fee, address recipient)
Unstaked(address pool, address member, uint256 outputAsset, uint256 outputVether, uint256 unitsClaimed)
constructor()
receive()
This contract contains no error objects.