Skip to content

Instantly share code, notes, and snippets.

View biigpongsatorn's full-sized avatar

Pongsatorn biigpongsatorn

View GitHub Profile
@biigpongsatorn
biigpongsatorn / ERC20Interface.sol
Last active May 28, 2019 07:09
Lock P'Brite'DAI
pragma solidity ^0.5.0;
/**
* @title ERC20
* @dev The ERC20 interface has an standard functions and event
* for erc20 compatible token on Ethereum blockchain.
*/
interface ERC20 {
function totalSupply() external view returns (uint supply);
function balanceOf(address _owner) external view returns (uint balance);
{
"Version":"2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::bucket-name"
},
{