UNPKG

@settlemint/solidity-supplychain

Version:

Smart contract set to build a supplychain usecase in SettleMint

88 lines (82 loc) 2.83 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 Strings$Type { "_format": "hh-sol-artifact-1", "contractName": "Strings", "sourceName": "@openzeppelin/contracts/utils/Strings.sol", "abi": [ { "inputs": [ { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "length", "type": "uint256" } ], "name": "StringsInsufficientHexLength", "type": "error" }, { "inputs": [], "name": "StringsInvalidAddressFormat", "type": "error" }, { "inputs": [], "name": "StringsInvalidChar", "type": "error" } ], "bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea264697066735822122005673aa6f15470a2159b2ef99c870bd4df7d4bd8672e5446f2543043f282802d64736f6c634300081b0033", "deployedBytecode": "0x600080fdfea264697066735822122005673aa6f15470a2159b2ef99c870bd4df7d4bd8672e5446f2543043f282802d64736f6c634300081b0033", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "Strings", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<Strings$Type["abi"]>>; export function deployContract( contractName: "@openzeppelin/contracts/utils/Strings.sol:Strings", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<Strings$Type["abi"]>>; export function sendDeploymentTransaction( contractName: "Strings", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<Strings$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/utils/Strings.sol:Strings", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<Strings$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "Strings", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<Strings$Type["abi"]>>; export function getContractAt( contractName: "@openzeppelin/contracts/utils/Strings.sol:Strings", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<Strings$Type["abi"]>>; }