JSPM

@celo/abis

12.0.0-canary.62
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 20889
  • Score
    100M100P100Q147508F
  • License LGPL-3.0

Package Exports

  • @celo/abis
  • @celo/abis/Accounts
  • @celo/abis/Accounts.json
  • @celo/abis/Attestations
  • @celo/abis/Attestations.json
  • @celo/abis/BlockchainParameters
  • @celo/abis/BlockchainParameters.json
  • @celo/abis/CeloUnreleasedTreasury
  • @celo/abis/CeloUnreleasedTreasury.json
  • @celo/abis/DoubleSigningSlasher
  • @celo/abis/DoubleSigningSlasher.json
  • @celo/abis/DowntimeSlasher
  • @celo/abis/DowntimeSlasher.json
  • @celo/abis/Election
  • @celo/abis/Election.json
  • @celo/abis/EpochManager
  • @celo/abis/EpochManager.json
  • @celo/abis/EpochManagerEnabler
  • @celo/abis/EpochManagerEnabler.json
  • @celo/abis/EpochRewards
  • @celo/abis/EpochRewards.json
  • @celo/abis/Escrow
  • @celo/abis/Escrow.json
  • @celo/abis/Exchange
  • @celo/abis/Exchange.json
  • @celo/abis/ExchangeBRL
  • @celo/abis/ExchangeBRL.json
  • @celo/abis/ExchangeEUR
  • @celo/abis/ExchangeEUR.json
  • @celo/abis/FederatedAttestations
  • @celo/abis/FederatedAttestations.json
  • @celo/abis/FeeCurrencyDirectory
  • @celo/abis/FeeCurrencyDirectory.json
  • @celo/abis/FeeCurrencyWhitelist
  • @celo/abis/FeeCurrencyWhitelist.json
  • @celo/abis/FeeHandler
  • @celo/abis/FeeHandler.json
  • @celo/abis/Freezer
  • @celo/abis/Freezer.json
  • @celo/abis/GasPriceMinimum
  • @celo/abis/GasPriceMinimum.json
  • @celo/abis/GoldToken
  • @celo/abis/GoldToken.json
  • @celo/abis/Governance
  • @celo/abis/Governance.json
  • @celo/abis/GovernanceApproverMultiSig
  • @celo/abis/GovernanceApproverMultiSig.json
  • @celo/abis/GrandaMento
  • @celo/abis/GrandaMento.json
  • @celo/abis/ICeloToken
  • @celo/abis/ICeloToken.json
  • @celo/abis/ICeloVersionedContract
  • @celo/abis/ICeloVersionedContract.json
  • @celo/abis/IERC20
  • @celo/abis/IERC20.json
  • @celo/abis/LockedGold
  • @celo/abis/LockedGold.json
  • @celo/abis/MentoFeeHandlerSeller
  • @celo/abis/MentoFeeHandlerSeller.json
  • @celo/abis/MultiSig
  • @celo/abis/MultiSig.json
  • @celo/abis/OdisPayments
  • @celo/abis/OdisPayments.json
  • @celo/abis/Proxy
  • @celo/abis/Proxy.json
  • @celo/abis/Random
  • @celo/abis/Random.json
  • @celo/abis/Registry
  • @celo/abis/Registry.json
  • @celo/abis/ReleaseGold
  • @celo/abis/ReleaseGold.json
  • @celo/abis/Reserve
  • @celo/abis/Reserve.json
  • @celo/abis/ReserveSpenderMultiSig
  • @celo/abis/ReserveSpenderMultiSig.json
  • @celo/abis/ScoreManager
  • @celo/abis/ScoreManager.json
  • @celo/abis/SortedOracles
  • @celo/abis/SortedOracles.json
  • @celo/abis/StableToken
  • @celo/abis/StableToken.json
  • @celo/abis/StableTokenBRL
  • @celo/abis/StableTokenBRL.json
  • @celo/abis/StableTokenEUR
  • @celo/abis/StableTokenEUR.json
  • @celo/abis/UniswapFeeHandlerSeller
  • @celo/abis/UniswapFeeHandlerSeller.json
  • @celo/abis/Validators
  • @celo/abis/Validators.json
  • @celo/abis/web3/0.8/CeloUnreleasedTreasury
  • @celo/abis/web3/0.8/EpochManager
  • @celo/abis/web3/0.8/EpochManagerEnabler
  • @celo/abis/web3/0.8/FeeCurrencyDirectory
  • @celo/abis/web3/0.8/GasPriceMinimum
  • @celo/abis/web3/0.8/ScoreManager
  • @celo/abis/web3/0.8/Validators
  • @celo/abis/web3/Accounts
  • @celo/abis/web3/Attestations
  • @celo/abis/web3/BlockchainParameters
  • @celo/abis/web3/CeloUnreleasedTreasury
  • @celo/abis/web3/DoubleSigningSlasher
  • @celo/abis/web3/DowntimeSlasher
  • @celo/abis/web3/Election
  • @celo/abis/web3/EpochManager
  • @celo/abis/web3/EpochManagerEnabler
  • @celo/abis/web3/EpochRewards
  • @celo/abis/web3/Escrow
  • @celo/abis/web3/FederatedAttestations
  • @celo/abis/web3/FeeCurrencyDirectory
  • @celo/abis/web3/FeeCurrencyWhitelist
  • @celo/abis/web3/FeeHandler
  • @celo/abis/web3/Freezer
  • @celo/abis/web3/GasPriceMinimum
  • @celo/abis/web3/GoldToken
  • @celo/abis/web3/Governance
  • @celo/abis/web3/GovernanceApproverMultiSig
  • @celo/abis/web3/ICeloToken
  • @celo/abis/web3/ICeloVersionedContract
  • @celo/abis/web3/IERC20
  • @celo/abis/web3/LockedGold
  • @celo/abis/web3/MentoFeeHandlerSeller
  • @celo/abis/web3/MultiSig
  • @celo/abis/web3/OdisPayments
  • @celo/abis/web3/Proxy
  • @celo/abis/web3/Random
  • @celo/abis/web3/Registry
  • @celo/abis/web3/ReleaseGold
  • @celo/abis/web3/ScoreManager
  • @celo/abis/web3/SortedOracles
  • @celo/abis/web3/UniswapFeeHandlerSeller
  • @celo/abis/web3/Validators
  • @celo/abis/web3/mento/Exchange
  • @celo/abis/web3/mento/ExchangeBRL
  • @celo/abis/web3/mento/ExchangeEUR
  • @celo/abis/web3/mento/GrandaMento
  • @celo/abis/web3/mento/Reserve
  • @celo/abis/web3/mento/ReserveSpenderMultiSig
  • @celo/abis/web3/mento/StableToken
  • @celo/abis/web3/mento/StableTokenBRL
  • @celo/abis/web3/mento/StableTokenEUR

Readme

Celo core contracts ABIS

Smart contracts ABIS for the Celo protocol.

Usage

Installation

npm install @celo/abis

or

yarn add @celo/abis

In your javascript or ts

// abi in json
import AccountsABI from '@celo/abis/Accounts.json'

// abi in js/ts for viem, wagmi, etc
import { accountsABI }  from '@celo/abis'

// abi in js/ts for viem, wagmi, etc (with moduleResolution and module set to "Node16" in your tsconfig.json file)
import { accountsABI }  from '@celo/abis/Accounts'

// abi in js/ts for use with contractkit
import { type Accounts, newAccounts, ABI } from '@celo/abis/web3/Accounts'

CommonJS syntax

const { accountsABI } = require('@celo/abis');

// viem
const accounts = getContract({
  address: "0x...",
  abi: accountsABI,
  ...
})

License

All packages are licensed under the terms of the Apache 2.0 License unless otherwise specified in the LICENSE file at package's root.