BondFactory

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x3be41e04 at 20932432
Slot
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
-
variable spans 1 additional slot

No balances found for "BondFactory"

No transactions found for "BondFactory"


Functions
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(addressview returns (address)
getBonds(uint256 fromuint256 toview returns (address[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addRewards(address[] bondsuint256[] amountsuint256 startTimeuint256 endTime
checkAndAddMember(address memberreturns (bool success)
claimFee(address receiver
deployAndUpgradeBondImpl(bytes bytecodereturns (address)
deployBond(address adminbytes32 nameuint256 rakePercent
grantRole(bytes32 roleaddress account
initialize(address ownerbool restrictBondCreationuint256 rewardFeePercentuint256 bondCreationFeeuint256 feePerMemberuint256 freeMembersNumberuint256 feePerPooluint256 maxPoolsbytes bytecode
payMemberFee(uint256 membersNumberaddress adminreturns (uint256 feeFromRake)
payPoolFee(uint256 poolsAddeduint256 poolsPaidaddress adminreturns (uint256 feeFromRake)
removeMembers(address[] membersreturns (bool success)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBondCreationFee(uint256 fee
setFeePerMember(uint256 fee
setFeePerPool(uint256 fee
setFreeMembersNumber(uint256 membersNumber
setMaxPools(uint256 maxPools
setRestrictBondCreation(bool mode
setRewardFeePercent(uint256 feePercent
storeMerkleRoot(bytes32 merkleRootuint256 cycleId
upgradeBondImpl(address implementationreturns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
BondCreationFeeSet(uint256 fee
BondDeployed(address bondbytes32 nameaddress adminuint256 rakePecentuint256 membersLimit
FeeClaimed(address receiveruint256 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 rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Upgraded(address indexed implementation
Constructor
constructor(address token
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadySet(
ArrayLengthsDiffer(
BondInvalid(address bond
CycleIdInvalid(
FeePercentInvalid(
MemberInAnotherBond(
MemberListInvalid(
NotEnoughBalance(
PoolLimitReached(
Unauthorized(
ZeroAddress(
ZeroAmountNotAllowed(