IBC Factory
Last updated
Last updated
The IBC Factory contract acts as the deployer for new Inverse Bonding Curve contracts. Users can make a request to this contract to make new deployments of IBCs.
The IBC Factory maintains the full list of all deployed IBCs (curves
), made queryable by users.
CurveCreated
Emitted at IBC contract creation for the specified reserve asset.
Parameter | Type | Description |
---|---|---|
CreateCurve
Deploys a new IBC implementation, its proxy contract, and the relevant ibAsset token contract for the specified reserve asset.
getCurve
Gets the contract address of the specified reserve asset's IBC implementation.
allCurvesLength
Gets the total number of IBC curves created through the IBC factory so far.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Type | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Type | Description |
---|---|
curveContract
address
Contract address of IBC implementation
tokenContract
address
Contract address of ibAsset token contract
proxyContract
address
Contract address of IBC proxy contract
initialReserve
uint256
Initial reserve amount of curve
initialReserves
uint256
Amount of initial reserves to supply to curve
reserveTokenAddress
address
Contract address of the reserve asset token contract
recipient
address
Address to receive initial LP position
reserveToken
address
Contract address of reserve asset
address
Contract address of the specified reserve asset's IBC implemenation
uint256
Total number of IBC curves created by Factory