UNPKG

@settlemint/solidity-diamond-bond

Version:

Smart contract set to build an enterprise bond usecase in SettleMint

123 lines (117 loc) 3.77 kB
// This file was autogenerated by hardhat-viem, do not edit it. // prettier-ignore // tslint:disable // eslint-disable import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; export interface LibDiamond$Type { "_format": "hh-sol-artifact-1", "contractName": "LibDiamond", "sourceName": "contracts/libraries/LibDiamond.sol", "abi": [ { "anonymous": false, "inputs": [ { "components": [ { "internalType": "address", "name": "facetAddress", "type": "address" }, { "internalType": "enum IDiamond.FacetCutAction", "name": "action", "type": "uint8" }, { "internalType": "bytes4[]", "name": "functionSelectors", "type": "bytes4[]" } ], "indexed": false, "internalType": "struct IDiamond.FacetCut[]", "name": "_diamondCut", "type": "tuple[]" }, { "indexed": false, "internalType": "address", "name": "_init", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "_calldata", "type": "bytes" } ], "name": "DiamondCut", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" } ], "bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea264697066735822122095b3c4e4c3bec913b38cbd17bb3227da5d5fafff8a41556a107cbc5028d4f70264736f6c634300081b0033", "deployedBytecode": "0x600080fdfea264697066735822122095b3c4e4c3bec913b38cbd17bb3227da5d5fafff8a41556a107cbc5028d4f70264736f6c634300081b0033", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "LibDiamond", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<LibDiamond$Type["abi"]>>; export function deployContract( contractName: "contracts/libraries/LibDiamond.sol:LibDiamond", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<LibDiamond$Type["abi"]>>; export function sendDeploymentTransaction( contractName: "LibDiamond", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<LibDiamond$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/libraries/LibDiamond.sol:LibDiamond", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<LibDiamond$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "LibDiamond", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<LibDiamond$Type["abi"]>>; export function getContractAt( contractName: "contracts/libraries/LibDiamond.sol:LibDiamond", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<LibDiamond$Type["abi"]>>; }