Skip to content

Latest commit

 

History

History
217 lines (198 loc) · 6.55 KB

MockVault.md

File metadata and controls

217 lines (198 loc) · 6.55 KB

MockVault.sol

View Source: contracts/mock/claims-processor/MockVault.sol

↗ Extends: ERC20

MockVault

Functions

function () public nonpayable ERC20 

Arguments

Name Type Description
Source Code
constructor() ERC20("USD Coin", "USDC") {
    super._mint(msg.sender, 100_000 ether);
  }

transferGovernance

function transferGovernance(bytes32 , address sender, uint256 amount) external nonpayable

Arguments

Name Type Description
bytes32
sender address
amount uint256
Source Code
function transferGovernance(
    bytes32,
    address sender,
    uint256 amount
  ) external {
    if (sender != address(0)) {
      super._mint(sender, amount);
    }
  }

Contracts