BondFactory
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
13
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
0x0000…0000
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "BondFactory"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BondFactory"
ABI
ABI objects
Getter at block 22771343
BOND_UPDATER_ROLE() view returns (bytes32)
0x1f852c94531ace3a68a927c7b7fdec74069fd501009b8e7e08947147a2ea4a10
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEPLOYER_ROLE() view returns (bytes32)
0xfc425f2263d0df187444b70e47283d622c70181c5baebb1306a01edba1ce184c
REWARDS_ROLE() view returns (bytes32)
0x5407862f04286ebe607684514c14b7fffc750b6bf52ba44ea49569174845a5bd
_VERSION() view returns (uint256)
2
_bondBeacon() view returns (address)
0x0000000000000000000000000000000000000000
_bondCreationFee() view returns (uint256)
0
_feePerMember() view returns (uint256)
0
_feePerPool() view returns (uint256)
0
_freeMembersNumber() view returns (uint256)
0
_lastCycleId() view returns (uint256)
0
_maxPools() view returns (uint256)
0
_merkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
_previousMerkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
_restrictBondCreation() view returns (bool)
false
_rewardFeePercent() view returns (uint256)
0
_token() view returns (address)
0xfa980ced6895ac314e7de34ef1bfae90a5add21b
getAllBonds() view returns (address[])
[]
getBondsNumber() view returns (uint256)
0
getFee() view returns (uint256 rewardFeePercent)
0
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
_bondMembers(address) view returns (address)
getBonds(uint256 from, uint256 to) view returns (address[])
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addRewards(address[] bonds, uint256[] amounts, uint256 startTime, uint256 endTime)
checkAndAddMember(address member) returns (bool success)
claimFee(address receiver)
deployAndUpgradeBondImpl(bytes bytecode) returns (address)
deployBond(address admin, bytes32 name, uint256 rakePercent)
grantRole(bytes32 role, address account)
initialize(address owner, bool restrictBondCreation, uint256 rewardFeePercent, uint256 bondCreationFee, uint256 feePerMember, uint256 freeMembersNumber, uint256 feePerPool, uint256 maxPools, bytes bytecode)
payMemberFee(uint256 membersNumber, address admin) returns (uint256 feeFromRake)
payPoolFee(uint256 poolsAdded, uint256 poolsPaid, address admin) returns (uint256 feeFromRake)
removeMembers(address[] members) returns (bool success)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBondCreationFee(uint256 fee)
setFeePerMember(uint256 fee)
setFeePerPool(uint256 fee)
setFreeMembersNumber(uint256 membersNumber)
setMaxPools(uint256 maxPools)
setRestrictBondCreation(bool mode)
setRewardFeePercent(uint256 feePercent)
storeMerkleRoot(bytes32 merkleRoot, uint256 cycleId)
upgradeBondImpl(address implementation) returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
BondCreationFeeSet(uint256 fee)
BondDeployed(address bond, bytes32 name, address admin, uint256 rakePecent, uint256 membersLimit)
FeeClaimed(address receiver, uint256 amount)
FeePerMemberSet(uint256 fee)
FeePerPoolSet(uint256 fee)
FreeMembersNumberSet(uint256 membersNumber)
Initialized(uint8 version)
MaxPoolsSet(uint256 maxPools)
MerkleRootUpdated(bytes32 merkleRoot)
RestrictBondCreationSet(bool mode)
RewardFeePercentSet(uint256 feePercent)
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)
Upgraded(address indexed implementation)
constructor(address token)
This contract contains no fallback and receive objects.
AlreadySet()
ArrayLengthsDiffer()
BondInvalid(address bond)
CycleIdInvalid()
FeePercentInvalid()
MemberInAnotherBond()
MemberListInvalid()
NotEnoughBalance()
PoolLimitReached()
Unauthorized()
ZeroAddress()
ZeroAmountNotAllowed()