Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@oasisdex/automation
Advanced tools
Readme
automation
The package provides a set of utility functions to handle interactions with Automation smart contracts.
Automation V2 triggers start with id = 101.
import { encodeTriggerData } from '@oasisdex/automation'
const network = 1; // mainnet
const closeCommandAddress = '0x...';
const encodedData = encodeTriggerData(closeCommandAddress, network, [cdpId, triggerType, ...params]);
import { decodeTriggerData } from '@oasisdex/automation'
const network = 1; // mainnet
const closeCommandAddress = '0x...';
const { triggerData } = triggerInfo
const [ cdpId, triggerType, ...params ] = decodeTriggerData(closeCommandAddress, network, triggerData);
FAQs
The set of utilities for Oasis automation
The npm package @oasisdex/automation receives a total of 53 weekly downloads. As such, @oasisdex/automation popularity was classified as not popular.
We found that @oasisdex/automation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.