Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public constructor(options: GenericProviderOptions) {
super({
encoder: typeof options.encoder !== 'undefined' ? options.encoder : new Encoder(),
assetLedgerSource: options.assetLedgerSource || 'https://conventions.0xcert.org/wanchain/xcert-mock.json',
valueLedgerSource: options.valueLedgerSource || 'https://conventions.0xcert.org/wanchain/token-mock.json',
...options,
});
}
}