- USD value of 1 Ether = USD value of 1 Zcash
- Wrapped Service Fee is a fixed 10%
- Contract execution cost (gas) is 0.1 ETH
- Zcash transaction execution cost is free
- Starting state, Wrapped.com has put 1 ETH in the vault to pay for gas
| // Tailwind colors for Flexoki theme by Steph Ango. https://stephango.com/flexoki | |
| const colors = { | |
| base: { | |
| black: '#100F0F', | |
| 950: '#1C1B1A', | |
| 900: '#282726', | |
| 850: '#343331', | |
| 800: '#403E3C', | |
| 700: '#575653', |
| pragma solidity 0.4.24; | |
| import './SimpleRestrictedToken.sol'; | |
| contract MyRestrictedToken is SimpleRestrictedToken { | |
| string public name; | |
| string public symbol; | |
| uint public decimals; | |
| uint public totalSupply; | |
I hereby claim:
To claim this, I am signing this object:
| ## Overview | |
| The simplest structure of a token sale consists of a sale contract and token contract. | |
| The sale contract is responsible for such logic including but not limited to: | |
| - the duration of the sale (typically in blocks) | |
| - the addresses allowed to participate in the sale | |
| - the exchange rate of ether to tokens, often as a factor of time | |
| - the ether reserve and hard cap amounts | |
| The token contract is responsible for such logic including but not limited to: |
| Verifying my Blockstack ID is secured with the address 15qE9yMvv9P6q3y1r3b6tTsr98idSWRQjX |
| pragma solidity ^0.4.11; | |
| contract UserManager { | |
| address public owner; | |
| address[] public users; | |
| mapping(address => uint) userIndexes; | |
| modifier onlyOwner { | |
| require(msg.sender == owner); | |
| _; |
| pragma solidity ^0.4.11; | |
| contract UserManager { | |
| address public owner; | |
| uint public numUsers = 0; | |
| mapping(address => address) private linkedUsers; | |
| modifier onlyOwner { | |
| require(msg.sender == owner); | |
| _; |