Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
838c6081
Commit
838c6081
authored
Mar 01, 2023
by
Will Cory
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix linter
parent
628324b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
25 deletions
+10
-25
react.ts
packages/atst/src/react.ts
+6
-23
wagmi.config.ts
packages/atst/wagmi.config.ts
+4
-2
No files found.
packages/atst/src/react.ts
View file @
838c6081
/* eslint-disable prefer-arrow/prefer-arrow-functions */
// Generated by @wagmi/cli@0.1.10 on 2/26/2023 at 11:08:05 AM
// Generated by @wagmi/cli@0.1.10 on 2/26/2023 at 11:08:05 AM
import
{
import
{
useNetwork
,
useNetwork
,
...
@@ -177,11 +178,7 @@ export function useAttestationStationRead<
...
@@ -177,11 +178,7 @@ export function useAttestationStationRead<
chainId
as
keyof
typeof
attestationStationAddress
chainId
as
keyof
typeof
attestationStationAddress
],
],
...
config
,
...
config
,
}
as
UseContractReadConfig
<
}
as
UseContractReadConfig
<
typeof
attestationStationABI
,
TFunctionName
,
TSelectData
>
)
typeof
attestationStationABI
,
TFunctionName
,
TSelectData
>
)
}
}
/**
/**
...
@@ -213,11 +210,7 @@ export function useAttestationStationAttestations<
...
@@ -213,11 +210,7 @@ export function useAttestationStationAttestations<
],
],
functionName
:
'
attestations
'
,
functionName
:
'
attestations
'
,
...
config
,
...
config
,
}
as
UseContractReadConfig
<
}
as
UseContractReadConfig
<
typeof
attestationStationABI
,
'
attestations
'
,
TSelectData
>
)
typeof
attestationStationABI
,
'
attestations
'
,
TSelectData
>
)
}
}
/**
/**
...
@@ -245,11 +238,7 @@ export function useAttestationStationVersion<
...
@@ -245,11 +238,7 @@ export function useAttestationStationVersion<
],
],
functionName
:
'
version
'
,
functionName
:
'
version
'
,
...
config
,
...
config
,
}
as
UseContractReadConfig
<
}
as
UseContractReadConfig
<
typeof
attestationStationABI
,
'
version
'
,
TSelectData
>
)
typeof
attestationStationABI
,
'
version
'
,
TSelectData
>
)
}
}
/**
/**
...
@@ -358,10 +347,7 @@ export function usePrepareAttestationStationWrite<TFunctionName extends string>(
...
@@ -358,10 +347,7 @@ export function usePrepareAttestationStationWrite<TFunctionName extends string>(
chainId
as
keyof
typeof
attestationStationAddress
chainId
as
keyof
typeof
attestationStationAddress
],
],
...
config
,
...
config
,
}
as
UsePrepareContractWriteConfig
<
}
as
UsePrepareContractWriteConfig
<
typeof
attestationStationABI
,
TFunctionName
>
)
typeof
attestationStationABI
,
TFunctionName
>
)
}
}
/**
/**
...
@@ -438,8 +424,5 @@ export function useAttestationStationAttestationCreatedEvent(
...
@@ -438,8 +424,5 @@ export function useAttestationStationAttestationCreatedEvent(
],
],
eventName
:
'
AttestationCreated
'
,
eventName
:
'
AttestationCreated
'
,
...
config
,
...
config
,
}
as
UseContractEventConfig
<
}
as
UseContractEventConfig
<
typeof
attestationStationABI
,
'
AttestationCreated
'
>
)
typeof
attestationStationABI
,
'
AttestationCreated
'
>
)
}
}
packages/atst/wagmi.config.ts
View file @
838c6081
import
{
defineConfig
}
from
'
@wagmi/cli
'
import
{
defineConfig
}
from
'
@wagmi/cli
'
import
{
hardhat
,
react
}
from
'
@wagmi/cli/plugins
'
import
{
hardhat
,
react
}
from
'
@wagmi/cli/plugins
'
import
*
as
chains
from
'
wagmi/chains
'
import
*
as
chains
from
'
wagmi/chains
'
import
{
ATTESTATION_STATION_ADDRESS
}
from
'
@eth-optimism/atst
'
export
const
ATTESTATION_STATION_ADDRESS
=
'
0xEE36eaaD94d1Cc1d0eccaDb55C38bFfB6Be06C77
'
export
default
defineConfig
({
export
default
defineConfig
({
out
:
'
src/react.ts
'
,
out
:
'
src/react.ts
'
,
...
@@ -14,7 +16,7 @@ export default defineConfig({
...
@@ -14,7 +16,7 @@ export default defineConfig({
[
chains
.
optimism
.
id
]:
ATTESTATION_STATION_ADDRESS
,
[
chains
.
optimism
.
id
]:
ATTESTATION_STATION_ADDRESS
,
[
chains
.
optimismGoerli
.
id
]:
ATTESTATION_STATION_ADDRESS
,
[
chains
.
optimismGoerli
.
id
]:
ATTESTATION_STATION_ADDRESS
,
[
chains
.
foundry
.
id
]:
ATTESTATION_STATION_ADDRESS
,
[
chains
.
foundry
.
id
]:
ATTESTATION_STATION_ADDRESS
,
}
}
,
},
},
}),
}),
react
(),
react
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment