AssetProxy
Verified contract
Proxy
Active on
Ethereum with 72 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xb305…3112
Balances ($0.00)
No balances found for "AssetProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17017221 | 2 years ago | | | 0 | 0.014722701 | |
| 16941163 | 2 years ago | | | 0 | 0.10317452 | |
| 16941036 | 2 years ago | | | 0 | 0.0017336900 | |
| 16941033 | 2 years ago | | | 0 | 0.0017336900 | |
| 16940964 | 2 years ago | | | 0 | 0.0034933200 | |
| 16940910 | 2 years ago | | | 0 | 0.0044765350 | |
| 16939650 | 2 years ago | | | 0 | 0.0040060160 | |
| 16939610 | 2 years ago | | | 0 | 0.019082817 | |
| 16836782 | 2 years ago | | | 0 | 0.072457173 | |
| 16836283 | 2 years ago | | | 0 | 0.0012383500 |
ABI
ABI objects
Getter at block 21210142
asyncSwapper() view returns (address)
0xb305372b12fd5d736ecb6bf903eaa844f2a23112
nexus() view returns (address)
0xafce80b19a8ce13dec0739a1aab7a028d6845eb3
syncSwapper() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
pendingRewards(address rewardToken, address assetToken) view returns (uint256 batch, uint256 rewards)
pendingVaultRewards(address rewardToken, address assetToken, address vault) view returns (uint256 batch, uint256 rewards)
purchasedAssets(uint256 batch, address rewardToken, address assetToken, address vault) view returns (uint256 assets)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
approveAsyncSwapper(address token)
claimAssets(uint256 batch, address rewardToken, address assetToken) returns (uint256 assets)
collectRewards(address[] vaults) returns (address[][] rewardTokens, uint256[][] rewards, address[][] purchaseTokens)
donateTokens(address[] rewardTokens, address[] purchaseTokens, address[] vaults) returns (uint256[] assets)
initialize(address _syncSwapper, address _asyncSwapper)
initiateSwap(address rewardToken, address assetToken, bytes data) returns (uint256 batch, uint256 rewards)
initiateSwaps(address[] rewardTokens, address[] assetTokens, bytes[] datas) returns (uint256[] batchs, uint256[] rewards)
rescueToken(address token, uint256 amount)
revokeAsyncSwapper(address token)
setAsyncSwapper(address _asyncSwapper)
setSyncSwapper(address _syncSwapper)
settleSwap(address rewardToken, address assetToken, uint256 assets, bytes data) returns (uint256 batch, uint256 rewards)
settleSwaps(address[] rewardTokens, address[] assetTokens, uint256[] assets, bytes[] datas) returns (uint256[] batchs, uint256[] rewards)
swap(address rewardToken, address assetToken, uint256 minAssets, bytes data) returns (uint256 batch, uint256 rewards, uint256 assets)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
ClaimedAssets(uint256 arg0)
CollectedRewards(address[][] rewardTokens, uint256[][] rewards, address[][] purchaseTokens)
DonatedAssets(uint256[] assets)
Initialized(uint8 version)
SwapInitiated(uint256 batch, uint256 rewards, uint256 assets)
SwapSettled(uint256 batch, uint256 rewards, uint256 assets)
Swapped(uint256 batch, uint256 rewards, uint256 assets)
SwapperUpdated(address indexed oldSwapper, address indexed newSwapper)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.