Last updated
Last updated
Buy tokens on behalf of a specified receiver address.
Redirects to the internal function _buyOrder
by passing the receiver address and deposit amount.
Parameters
Buy tokens for the sender's address.
Redirects to the internal function _buyOrder
by passing the sender's address and deposit amount.
Parameters
Opens the buying functionality for the token.
Only callable by the {Orchestrator_v1} admin. Reverts if buying is already open.
Closes the buying functionality for the token.
Only callable by the {Orchestrator_v1} admin. Reverts if buying is already closed.
Sets the fee percentage for buying tokens, payed in collateral.
Only callable by the {Orchestrator_v1} admin. The fee cannot exceed 10000 basis points. Reverts if an invalid fee is provided.
Parameters
Calculates and returns the static price for buying the issuance token.
Returns
Calculates the amount of tokens to be minted based on a given deposit amount.
This function takes into account any applicable buy fees before computing the token amount to be minted. Revert when _depositAmount
is zero.
Parameters
Returns
Withdraw project collateral fee to the receiver address.
Parameters
Returns the amount of fee in collateral token collected by the project.
Returns the address of the issuance token.
Event emitted when buying is opened.
Event emitted when buying is closed.
Event emitted when buy fee is updated.
Event emitted when the issuance token is updated.
Event emitted when project collateral fee is withdrawn.
Event emitted when project collateral fee is added.
Event emitted when tokens have been succesfully issued.
Parameters
Event emitted when the decimals of the issuance token are updated.
Parameters
Event emitted when protocol fee has been minted to the treasury.
Parameters
Percentage amount is bigger than 100%, i.e. 10_000.
Deposit amount has to be larger than zero.
Buying functionalities are set to closed.
Receiver address can not be zero address or. Bonding Curve Funding Manager itself.
Actual buy amount is lower than the minimum acceptable amount.
The combination of protocol fee and workflow fee cant be higher than 100%.
Withdrawl amount is bigger than project fee collected.
Buy amount in relation to fee percentage to small, results in round down fee amount to zero.
The minimum amount out cannot be zero.
Struct used to store information about the issuance token.
Properties