VoucherMigrationFacet

MigrateVouchers

event MigrateVouchers(address _owner, uint256[] _ids, uint256[] _values)

VouchersOwner

struct VouchersOwner {
  address owner;
  uint256[] ids;
  uint256[] values;
}

migrateVouchers

function migrateVouchers(struct VoucherMigrationFacet.VouchersOwner[] _vouchersOwners) external

Allow the aavegotchi diamond owner to convert vouchers to items and send them to respective owners

Parameters

NameTypeDescription

_vouchersOwners

struct VoucherMigrationFacet.VouchersOwner[]

An array of structs, each struct containing details about a voucher, like the owner, identifiers of items and corresponding values