Skip to content

Commit

Permalink
added more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDoge committed Oct 15, 2024
1 parent a8eb52d commit fdd6716
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomadshiba/typed-contracts",
"version": "0.2.6",
"version": "0.2.7",
"exports": {
"./abi": "./types/abi.ts",
"./ethers6": "./types/ethers6/exports.ts"
Expand Down
9 changes: 9 additions & 0 deletions types/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,16 @@ export namespace Abi {
* and state mutability.
*/
export namespace FunctionItem {
/**
* `Input` represents an argument passed to a function in the contract's ABI.
* It includes the argument's type, name, and internal type used by Solidity.
*/
export type Input = Argument & {}

/**
* `Output` represents a return value from a function in the contract's ABI.
* It includes the output's type, name, and internal type used by Solidity.
*/
export type Output = Argument & {}

/**
Expand Down

0 comments on commit fdd6716

Please sign in to comment.