BribeVault
Verified contract
Active on
Ethereum with 70 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($171,250.89)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 129.34954K | $1.00 |
$129,349.54 | |
AURA | ERC-20 | 66.161852K | $0.367507 |
$24,314.94 | |
RPL | ERC-20 | 914 | $11.44 |
$10,456.16 | |
WETH | ERC-20 | 1.8 | $2,635.85 |
$4,744.53 | |
DFX | ERC-20 | 75K | $0.030532 |
$2,289.92 | |
FXS | ERC-20 | 42.575359 | $2.25 |
$95.79 | |
0xc241…9dcc | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20803259 | 8 days ago | | | 0 | 0.00033723401 | |
| 19956054 | 4 months ago | | | 0 | 0.00038687245 | |
| 19799136 | 5 months ago | | | 0 | 0.00027178257 | |
| 19703275 | 5 months ago | | | 0 | 0.00031887746 | |
| 19634172 | 6 months ago | | | 0 | 0.00079680641 | |
| 19599033 | 6 months ago | | | 0 | 0.00062927827 | |
| 19310781 | 7 months ago | | | 0 | 0.0013188926 | |
| 19310777 | 7 months ago | | | 0 | 0.0014392841 | |
| 19310612 | 7 months ago | | | 0 | 0.0013784847 | |
| 19138995 | 8 months ago | | | 0 | 0.00048912663 |
ABI
ABI objects
Getter at block 20862309
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEPOSITOR_ROLE() view returns (bytes32)
0x8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a9
FEE_DIVISOR() view returns (uint256)
1000000
FEE_MAX() view returns (uint256)
100000
PERMIT2() view returns (address)
0x000000000022d473030f116ddee9f6b43ac78ba3
distributor() view returns (address)
0xa9b08b4ceec1ef29edec7f9c94583270337d6416
fee() view returns (uint256)
40000
feeRecipient() view returns (address)
0xa52fd396891e7a74b641a2cb1a6999fcf56b077e
Read-only
bribes(bytes32) view returns (address token, uint256 amount)
generateBribeVaultIdentifier(address _market, bytes32 _proposal, uint256 _proposalDeadline, address _token) pure returns (bytes32 id)
generateRewardIdentifier(address _market, address _token, uint256 _proposalDeadline) pure returns (bytes32 id)
getBribe(bytes32 bribeIdentifier) view returns (address token, uint256 amount)
getBribeIdentifiersByRewardIdentifier(bytes32 rewardIdentifier) view returns (bytes32[])
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
rewardForwarding(address) view returns (address)
rewardToBribes(bytes32, uint256) view returns (bytes32)
rewardTransfers(bytes32) view returns (uint256 feeAmount, uint256 distributorAmountTransferred, uint256 distributorAmountReceived)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events depositBribe(struct CommonDepositBribeParams _dp)
emergencyWithdraw(address token, uint256 amount)
grantDepositorRole(address depositor)
grantRole(bytes32 role, address account)
renounceRole(bytes32 role, address account)
revokeDepositorRole(address depositor)
revokeRole(bytes32 role, address account)
setDistributor(address _distributor)
setFee(uint256 _fee)
setFeeRecipient(address _feeRecipient)
setRewardForwarding(address to)
transferBribes(bytes32[] rewardIdentifiers)
DepositBribe(address indexed market, bytes32 indexed proposal, uint256 indexed deadline, address token, address briber, uint256 amount, uint256 totalAmount, uint256 maxTokensPerVote, uint256 periodIndex)
EmergencyWithdrawal(address indexed token, uint256 amount, address admin)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetDistributor(address _distributor)
SetFee(uint256 _fee)
SetFeeRecipient(address _feeRecipient)
SetRewardForwarding(address from, address to)
TransferBribe(bytes32 indexed rewardIdentifier, address indexed token, uint256 feeAmount, uint256 distributorAmount)
constructor(uint256 _fee, uint256 _feeMax, address _feeRecipient, address _distributor)
This contract contains no fallback and receive objects.
BribeAlreadyTransferred()
InvalidAddress()
InvalidAmount()
InvalidArray()
InvalidBriber()
InvalidDistributor()
InvalidFee()
InvalidFeeRecipient()
InvalidMaxFee()
InvalidRewardIdentifier()
InvalidToken()
NotDepositor()