diff --git a/contracts/beacon/Voucher.sol b/contracts/beacon/Voucher.sol index 1516b21..dfccfa9 100644 --- a/contracts/beacon/Voucher.sol +++ b/contracts/beacon/Voucher.sol @@ -246,14 +246,6 @@ contract Voucher is Initializable, IVoucher { emit TaskClaimedWithVoucher(taskId); } - /** - * @dev Returns the address of the current owner. - */ - function owner() public view returns (address) { - VoucherStorage storage $ = _getVoucherStorage(); - return $._owner; - } - /** * Retrieve the expiration timestamp of the voucher. * @return expirationTimestamp The expiration timestamp. @@ -298,6 +290,14 @@ contract Voucher is Initializable, IVoucher { return $._sponsoredAmounts[dealId]; } + /** + * @dev Returns the address of the current owner. + */ + function owner() public view returns (address) { + VoucherStorage storage $ = _getVoucherStorage(); + return $._owner; + } + /** * Retrieve the address of the voucher hub associated with the voucher. * @return voucherHubAddress The address of the voucher hub.