IBC Admin
The IBC Admin contract is where protocol configuration changes are made. Fee configuration updates as well as contract upgrades and pauses are managed through this contract.
Events
FeeConfigChanged
FeeConfigChanged
Emitted when fee configurations have been changed by the contract owner.
Parameter | Type | Description |
---|---|---|
actionType | ActionType | Type of user action |
lpFee | uint256 | Rate of fees given to LPs |
stakingFee | uint256 | Rate of fees given to ibAsset stakers |
protocolFee | uint256 | Rate of fees given to protocol creator |
ActionType
Parameter | Description |
---|---|
BUY_TOKEN | Action is the minting of ibAssets |
SELL_TOKEN | Action is the burning of ibAssets |
ADD_LIQUIDITY | Action is the adding of liquidity to the IBC |
REMOVE_LIQUIDITY | Action is the removing of liquidity from the IBC |
FeeOwnerChanged
FeeOwnerChanged
Emitted when the protocol creator fee receival address is changed.
Parameter | Type | Description |
---|---|---|
feeOwner | address | New address receiving protocol creator fees |
RouterChanged
RouterChanged
Emitted when the IBC Router contract is changed.
Parameter | Type | Description |
---|---|---|
router | address | Address of new IBC Router contract |
CurveImplementationChanged
CurveImplementationChanged
Emitted when the IBC contract implementation is changed.
Parameter | Type | Description |
---|---|---|
implementation | address | Address of new IBC contract implementation |
Read-Only Functions
feeConfig
feeConfig
Gets the fee configurations of inverse bonding curve interactions for the specified action type.
factoryAddress
factoryAddress
Gets the contract address of the IBC Factory contract.
Parameter | Type | Description |
---|---|---|
feeOwner
feeOwner
Gets the address receiving protocol creator fees.
Parameter | Type | Description |
---|---|---|
weth
weth
Gets the contract address of the WETH token contract.
Parameter | Type | Description |
---|---|---|
router
router
Gets the contract address of the IBC Router contract.
Parameter | Type | Description |
---|---|---|
curveImplementation
curveImplementation
Gets the contract address of the IBC implementation contract.
Parameter | Type | Description |
---|---|---|
Last updated