
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@masa-finance/masa-contracts-oracle
Advanced tools
<!-- TOC --> * [Masa Oracle Contracts](#masa-oracle-contracts) * [Contract Deployments](#contract-deployments) * [Roles](#roles) * [Deployment](#deployment) * [Preparations](#preparations) * [Deploy](#deploy) * [Installation and usage](#installation-and-u
0xFd36990172dFB44ef0cEa51a9B1159687CfBb4E20x0d4eb0fb79c5a2e1a939251ba1645cf8384b5b8c0xb4477Cc67CAFa04e751E3aE0d211e321fcA790460xF339e2D564CE47C2FA29b073D6BD7B439e3335890x13B9bf9c3914e00e740AAb588Bf4845ED07953f50x56266C75773e82B886B02dC0D137eC005fc2C8e4You can see the deployment address of the smart contracts in the addresses.json file. For every deployed smart contract you will find a <network>.<contract> value.
deployer: Deploys the contract, has no rights after everything has properlty handed over to other rolesadmin: Delegated to the Masa Service account inside the Masa API. It has the rights to administrate the smart
contractsminter: Minter role. It has the rights to mint tokens to customers wallets.ANKR_API_KEY to the Ankr API key in .envDEPLOYER_PRIVATE_KEY to the deployer private key in .envDEPLOYER_PRIVATE_KEY_TEST to the test deployer private key in .envETHERSCAN_API_KEY to the Etherscan API key in .env, if neededRun: yarn deploy --network {network} to deploy.
Installing via npm package:
npm i @masa-finance/masa-contracts-oracle
Import in your project:
import {
MasaToken,
MasaToken__factory
} from "@masa-finance/masa-contracts-oracle";
const masaToken: MasaToken = MasaToken__factory.connect(
<address>, // address of the deployed contract
<provider> // web3 provider
);
console.log(await masaToken.symbol());
From a clean main branch you can run the release task bumping the version accordingly based on semantic versioning:
yarn release
The task does the following:
package.jsonnpm releaseFor the GitHub releases steps a GitHub personal access token, exported as GITHUB_TOKEN is required. You can add this
environment variable to the .env file. Setup
FAQs
<!-- TOC --> * [Masa Oracle Contracts](#masa-oracle-contracts) * [Contract Deployments](#contract-deployments) * [Roles](#roles) * [Deployment](#deployment) * [Preparations](#preparations) * [Deploy](#deploy) * [Installation and usage](#installation-and-u
We found that @masa-finance/masa-contracts-oracle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.