Skip to content

Avocado

IAvocado

interface to access internal vars on-chain

_avoImpl

solidity
function _avoImpl() external view returns (address)

_data

solidity
function _data() external view returns (uint256)

_owner

solidity
function _owner() external view returns (address)

Avocado

Proxy for Avocados as deployed by the AvoFactory. Basic Proxy with fallback to delegate and address for implementation contract at storage 0x0

constructor

solidity
constructor() public

sets _avoImpl & immutable _data, fetching it from msg.sender.

fallback

solidity
fallback() external payable

Delegates the current call to _avoImpl unless one of the view methods is called: _avoImpl() returns the address for _avoImpl, _owner() returns the first 20 bytes of _data, _data() returns _data.