-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
3,306 additions
and
1,593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/content/ccip/api-reference/v1.5.0/i-type-and-version.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
section: ccip | ||
date: Last Modified | ||
title: "CCIP v1.5.0 ITypeAndVersion Interface API Reference" | ||
metadata: | ||
description: "API documentation for the ITypeAndVersion interface in Chainlink CCIP v1.5.0, providing type and version information for contracts." | ||
--- | ||
|
||
import { Aside } from "@components" | ||
import CcipCommon from "@features/ccip/CcipCommon.astro" | ||
|
||
<CcipCommon callout="importCCIPPackage151" /> | ||
|
||
## ITypeAndVersion | ||
|
||
An interface that provides type and version information for contracts. | ||
|
||
[Git Source](https://github.com/smartcontractkit/ccip/tree/release/contracts-ccip-1.5.0/contracts/src/v0.8/shared/interfaces/ITypeAndVersion.sol) | ||
|
||
## Functions | ||
|
||
### typeAndVersion | ||
|
||
Returns the type and version of the contract. | ||
|
||
```solidity | ||
function typeAndVersion() external pure returns (string memory); | ||
``` | ||
|
||
**Returns** | ||
|
||
| Type | Description | | ||
| -------- | ------------------------------------- | | ||
| `string` | The type and version of the contract. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.