VoucherMigrationFacet
event MigrateVouchers(address _owner, uint256[] _ids, uint256[] _values)
struct VouchersOwner {
address owner;
uint256[] ids;
uint256[] values;
}
function migrateVouchers(struct VoucherMigrationFacet.VouchersOwner[] _vouchersOwners) external
Allow the aavegotchi diamond owner to convert vouchers to items and send them to respective owners
Name | Type | Description |
---|---|---|
_vouchersOwners | struct VoucherMigrationFacet.VouchersOwner[] | An array of structs, each struct containing details about a voucher, like the owner, identifiers of items and corresponding values |