Last updated
Last updated
This function returns the Base Points used for percentage calculation.
Returns
Returns the default treasury for all workflows.
Returns
Returns the treasury assigned to the given workflow.
Parameters
Returns
Returns the default collateral fee for all workflows.
Returns
Returns the default issuance fee for all workflows.
Returns
Returns the collateral fee for a specific workflow module function.
Parameters
Returns
Returns the issuance fee for a specific workflow module function.
Parameters
Returns
Returns the collateral fee for a specific workflow module function and the according treasury address of the workflow.
Parameters
Returns
Returns the issuance fee for a specific workflow module function and the according treasury address of the workflow.
Parameters
Returns
Sets the maximum fee percentage that can be assigned.
This function can only be called by the owner.
The given max fee can not be higher than the BPS.
Parameters
Sets the default protocol treasury address.
This function can only be called by the owner.
The given treasury address can not be address(0).
Parameters
Sets the protocol treasury address for a specific workflow.
This function can only be called by the owner.
The given treasury address can not be address(0).
Parameters
Sets the default collateral fee of the protocol.
This function can only be called by the owner.
The given fee needs to be less than the BPS.
Parameters
Sets the default issuance fee of the protocol.
This function can only be called by the owner.
The given fee needs to be less than the BPS.
Parameters
Sets the collateral fee for a specific workflow module function.
This function can only be called by the owner.
The given fee needs to be less than the BPS.
Parameters
Sets the issuance fee for a specific workflow module function.
This function can only be called by the owner.
The given fee needs to be less than the BPS.
Parameters
Event emitted when the max fee percentage is set.
Parameters
Event emitted when the default protocol treasury is set.
Parameters
Event emitted when the workflow treasury is set.
Parameters
Event emitted when the default collateral fee is set.
Parameters
Event emitted when the default issuance fee is set.
Parameters
Event emitted when the collateral workflow fee is set.
Parameters
Event emitted when the issuance workflow fee is set.
Parameters
The given address is invalid.
The given fee is invalid.
The given max fee is invalid.
Struct used to store fee information.
When `set` 'is true, the value is taken, otherwise it reverts to the default value. We need some indication here on whether the value is set or not, to differentiate between an uninitialized 0 and a real 0 fee.
Properties