Skip to main content

OwlBase

OwlBase

Base for all OWLPROTOCOL contracts

ROUTER_ROLE

bytes32 ROUTER_ROLE

__OwlBase_init

function __OwlBase_init(address _admin, address _forwarder) internal

__OwlBase_init_unchained

function __OwlBase_init_unchained(address _admin, address _forwarder) internal

isTrustedForwarder

function isTrustedForwarder(address forwarder) public view returns (bool)

REQUIRED FOR GSN

Return trusted forwarder status.

grantRouter

function grantRouter(address to) public

Must have owner role

Grants ROUTER_ROLE to {a}

NameTypeDescription
toaddressaddress to

_authorizeUpgrade

function _authorizeUpgrade(address) internal

UUPS functions

getImplementation

function getImplementation() external view returns (address)

_msgSender

function _msgSender() internal view virtual returns (address ret)

the following 3 functions are all required for OpenGSN integration

_msgData

function _msgData() internal view virtual returns (bytes)

versionRecipient

function versionRecipient() external pure virtual returns (string)