ProxyERC20¶
This is a wrapper around Proxy
which explicitly implements the ERC20 token standard.
As a result this proxy can verifiably support token functionality in its ABI if it sits in front of an ERC20-compliant smart contract. Apart from these functions, ProxyERC20 operates identically to the proxy it inherits.
In the Oikos system, an ERC20 proxy operates in front of the main OKS token contract, alongside the pre-existing standard proxy. Thus clients can choose to use either of these two proxies to interact with the system.
Source: ProxyERC20.sol
Architecture¶
Inheritance Graph¶
Functions¶
This contract defines all ERC20 functions, including name()
, symbol()
, and decimals()
. These functions simply call down to the underlying token contract.