@settlemint/solidity-token-erc20-crowdsale
Version:
Smart contract set to build an ERC20 token sale in SettleMint
23 lines (22 loc) • 658 B
YAML
- kind: ethereum/contract
name: {id}
network: {chain}
source:
address: '{address}'
abi: VestingWallet
startBlock: {startBlock}
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- ExampleVestingWallet
abis:
- name: VestingWallet
file: {root}/node_modules/@openzeppelin/contracts/build/contracts/VestingWallet.json
eventHandlers:
- event: ERC20Released(indexed address,uint256)
handler: handleERC20Released
- event: EtherReleased(uint256)
handler: handleEtherReleased
file: {file}