update contracts

This commit is contained in:
Andrea Franz 2020-03-25 10:03:27 +01:00
parent c0ba796183
commit 35903220cc
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
2 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,6 @@ contract GiftBucketFactory {
}
function create(address _tokenAddress, uint256 _expirationTime) public returns (address) {
// initialize(address,uint256,address)
address p = address(new Proxy(abi.encodeWithSelector(0xc350a1b5, _tokenAddress, _expirationTime, msg.sender), address(GiftBucketImplementation)));
emit Created(msg.sender, p);
return p;

View File

@ -9,6 +9,10 @@ contract TestToken is StandardToken {
constructor() public { }
fallback() external {
mint(1000);
}
/**
* @notice any caller can mint any `_amount`
* @param _amount how much to be minted