@fuul/protocol-abis
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

fuul-protocol-abis

This package uses TypeChain to generate Typescript Interfaces from our protocol abis

You need to have at least ethers@^5.4.7 installed.

Usage

Just a short example importing abis to use when deploying a contract in Fuul Webapp:

import { FuulFactoryAbi } from '@fuul/protocol-abis'

const { write, isLoading, data, error, reset } = useContractWrite({
  address: '0x12345',
  abi: FuulProjectAbi,
  functionName: 'depositFungibleToken',
  args: ['0x123', '10'],
})

Readme

Keywords

none

Package Sidebar

Install

npm i @fuul/protocol-abis

Weekly Downloads

95

Version

3.0.1

License

MIT

Unpacked Size

268 kB

Total Files

22

Last publish

Collaborators

  • alejoviola
  • alebecher
  • nicolasgarnil-fuul
  • andrebrener