mirror of
https://github.com/status-im/keycard-redeem.git
synced 2025-02-04 16:23:32 +00:00
update contracts
This commit is contained in:
parent
c0ba796183
commit
35903220cc
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user