Skip to main content

IInitializableVoucherClone

View Source: contracts/interfaces/IInitializableVoucherClone.sol

IInitializableVoucherClone

Functions

initialize

Initializes the contract with the address of the beacon contract.

function initialize(address _beaconAddress) 
external

Arguments

NameTypeDescription
_beaconAddressaddressAddress 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

NameTypeDescription
_sellerIduint256The ID of the seller.
_collectionIndexuint256The index of the collection.
_newOwneraddressThe address of the new owner.
_voucherInitValuesBosonTypes.VoucherInitValuesThe voucher initialization values.