import { BlockchainSettings , GASContract } from '@neo-one/node-core' ; import { FungibleToken } from './FungibleToken' ; import { gasTokenMethods } from './methods' ; export class GASToken extends FungibleToken implements GASContract { public static readonly decimals : number = 8 ; public constructor ( settings ) { super ( { name : 'GasToken' , id : - 6 , symbol : 'GAS' , decimals : 8 , methods : gasTokenMethods , events : [ { name : 'Transfer' , parameters : [ { name : 'from' , type : 'Hash160' } , { name : 'to' , type : 'Hash160' } , { name : 'amount' , type : 'Integer' } , ] } , ] , settings } ) ; } }