block-quote On this pagechevron-down
copy Copy chevron-down
Smart Contracts 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.
FeeConfigChanged
Emitted when fee configurations have been changed by the contract owner.
Copy event FeeConfigChanged (
ActionType actionType ,
uint256 lpFee ,
uint256 stakingFee ,
uint256 protocolFee
); Rate of fees given to LPs
Rate of fees given to ibAsset stakers
Rate of fees given to protocol creator
Copy enum ActionType {
BUY_TOKEN ,
SELL_TOKEN ,
ADD_LIQUIDITY ,
REMOVE_LIQUIDITY
} Action is the minting of ibAssets
Action is the burning of ibAssets
Action is the adding of liquidity to the IBC
Action is the removing of liquidity from the IBC
FeeOwnerChanged
Emitted when the protocol creator fee receival address is changed.
New address receiving protocol creator fees
Emitted when the IBC Router contract is changed.
Address of new IBC Router contract
CurveImplementationChanged
Emitted when the IBC contract implementation is changed.
Address of new IBC contract implementation
Read-Only Functions
Gets the fee configurations of inverse bonding curve interactions for the specified action type.
Action is the minting of ibAssets
Action is the burning of ibAssets
Action is the adding of liquidity to the IBC
Action is the removing of liquidity from the IBC
Fee rate given to LPs for user action type
Fee rate given to ibAsset stakers for user action type
Fee rate given to protocol creator for user action type
Gets the contract address of the IBC Factory contract.
Contract address of the IBC Factory contract
Gets the address receiving protocol creator fees.
Address receiving protocol creator fees
Gets the contract address of the WETH token contract.
Contract address of the WETH token contract
Gets the contract address of the IBC Router contract.
Contract address of the IBC Router contract
curveImplementation
Gets the contract address of the IBC implementation contract.
Address of the IBC implementation