IInitializableVoucherClone
View Source: contracts/interfaces/IInitializableVoucherClone.sol
IInitializableVoucherClone
Functions
- initialize(address _beaconAddress)
- initializeVoucher(uint256 _sellerId, uint256 _collectionIndex, address _newOwner, struct BosonTypes.VoucherInitValues _voucherInitValues)
initialize
Initializes the contract with the address of the beacon contract.
function initialize(address _beaconAddress)
external
Arguments
Name | Type | Description |
---|---|---|
_beaconAddress | address | Address of the beacon contract. |
initializeVoucher
Initializes a voucher with the given parameters.
function initializeVoucher(uint256 _sellerId,
uint256 _collectionIndex,
address _newOwner,
struct BosonTypes.VoucherInitValues _voucherInitValues)
external
Arguments
Name | Type | Description |
---|---|---|
_sellerId | uint256 | The ID of the seller. |
_collectionIndex | uint256 | The index of the collection. |
_newOwner | address | The address of the new owner. |
_voucherInitValues | BosonTypes.VoucherInitValues | The voucher initialization values. |