
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
@0xmonaco/contracts
Advanced tools
Smart contract ABIs and addresses for the Monaco protocol. This package provides the interface definitions and deployed addresses for all Monaco protocol contracts.
Smart contract ABIs and addresses for the Monaco protocol. This package provides the interface definitions and deployed addresses for all Monaco protocol contracts.
Note: This package currently only contains the Vault contract. Additional contracts will be added as they are deployed.
npm install @0xmonaco/contracts
Access contract addresses and ABIs for different networks:
import { CONTRACT_ADDRESSES, CONTRACT_ABIS } from "@0xmonaco/contracts";
// Get contract addresses for Atlantic-2 testnet (chain ID 1328)
const atlanticAddresses = CONTRACT_ADDRESSES[1328];
const { vault: vaultAddress } = atlanticAddresses;
// Get contract addresses for Pacific-1 mainnet (chain ID 1329) - Coming Soon
// const pacificAddresses = CONTRACT_ADDRESSES[1329];
// Create contract instances using viem
import { createPublicClient, http } from "viem";
const client = createPublicClient({
chain: {
id: 1328, // Atlantic-2 testnet
name: "atlantic-2",
rpcUrls: {
default: { http: ["https://evm-rpc.testnet.sei.io"] },
public: { http: ["https://evm-rpc.testnet.sei.io"] },
},
},
transport: http(),
});
// Example of creating a contract instance
const vaultContract = {
address: vaultAddress,
abi: CONTRACT_ABIS.vault,
client,
};
Note: Additional contracts (CLOB, Order Book, State, Symphony Adapter) will be documented as they are deployed and integrated.
The package currently supports the following networks:
Atlantic-2 (Testnet)
Pacific-1 (Mainnet)
Each network has the following contracts deployed:
interface ContractAddresses {
/** Vault contract for managing user balances */
vault: string;
}
The package provides token configurations for different networks:
import { TESTNET_TOKENS } from "@0xmonaco/contracts";
// Access testnet tokens
const mockUSDC = TESTNET_TOKENS.MockUSDC;
const mockMTK = TESTNET_TOKENS.MockMTK;
// Use token information
console.log(`MockUSDC address: ${mockUSDC.address}`);
console.log(`MockUSDC decimals: ${mockUSDC.decimals}`);
0x6A86dA986797D59A839D136dB490292Cd560C131
(6 decimals)0x428F82f1ECa4AA6f6c75D77cBd2a9ceB94cde343
(18 decimals)The package exports a consolidated CONTRACT_ABIS
object:
import { CONTRACT_ABIS } from "@0xmonaco/contracts";
const clobAbi = CONTRACT_ABIS.clob;
const vaultAbi = CONTRACT_ABIS.vault;
Available ABIs in CONTRACT_ABIS
:
vault
: Vault contract interfacesrc/abis/
for the contract ABIsrc/abis/index.ts
CONTRACT_ADDRESSES
in src/index.ts
When deploying new contracts:
src/index.ts
FAQs
Smart contract ABIs and addresses for the Monaco protocol. This package provides the interface definitions and deployed addresses for all Monaco protocol contracts.
We found that @0xmonaco/contracts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.