Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Greybeard
momiji-public-monorepo
Commits
a266b32d
Commit
a266b32d
authored
10 months ago
by
John Doe
Browse files
Options
Download
Email Patches
Plain Diff
monorepo.
parent
85ec022c
Changes
360
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
2054 additions
and
0 deletions
+2054
-0
node/momiji-helpers/utils/typechain-types/contracts/index.ts
node/momiji-helpers/utils/typechain-types/contracts/index.ts
+11
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk.sol/BaseUltraVerifier.ts
...pechain-types/contracts/plonk_vk.sol/BaseUltraVerifier.ts
+110
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk.sol/UltraVerifier.ts
...s/typechain-types/contracts/plonk_vk.sol/UltraVerifier.ts
+110
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk.sol/index.ts
...ers/utils/typechain-types/contracts/plonk_vk.sol/index.ts
+5
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_inner.sol/BaseUltraVerifier.ts
...n-types/contracts/plonk_vk_inner.sol/BaseUltraVerifier.ts
+128
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_inner.sol/UltraVerifier.ts
...chain-types/contracts/plonk_vk_inner.sol/UltraVerifier.ts
+128
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_inner.sol/UltraVerifierInner.ts
...-types/contracts/plonk_vk_inner.sol/UltraVerifierInner.ts
+128
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_inner.sol/index.ts
...ils/typechain-types/contracts/plonk_vk_inner.sol/index.ts
+5
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_outer.sol/BaseUltraVerifier.ts
...n-types/contracts/plonk_vk_outer.sol/BaseUltraVerifier.ts
+128
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_outer.sol/UltraVerifier.ts
...chain-types/contracts/plonk_vk_outer.sol/UltraVerifier.ts
+128
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_outer.sol/UltraVerifierOuter.ts
...-types/contracts/plonk_vk_outer.sol/UltraVerifierOuter.ts
+128
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_outer.sol/index.ts
...ils/typechain-types/contracts/plonk_vk_outer.sol/index.ts
+5
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_publish.sol/BaseUltraVerifier.ts
...types/contracts/plonk_vk_publish.sol/BaseUltraVerifier.ts
+110
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_publish.sol/PublishVerifier.ts
...n-types/contracts/plonk_vk_publish.sol/PublishVerifier.ts
+110
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_publish.sol/Publisher.ts
...pechain-types/contracts/plonk_vk_publish.sol/Publisher.ts
+110
-0
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_publish.sol/index.ts
...s/typechain-types/contracts/plonk_vk_publish.sol/index.ts
+5
-0
node/momiji-helpers/utils/typechain-types/contracts/state.sol/IMomiji.ts
...pers/utils/typechain-types/contracts/state.sol/IMomiji.ts
+200
-0
node/momiji-helpers/utils/typechain-types/contracts/state.sol/IOracle.ts
...pers/utils/typechain-types/contracts/state.sol/IOracle.ts
+114
-0
node/momiji-helpers/utils/typechain-types/contracts/state.sol/IVerifier.ts
...rs/utils/typechain-types/contracts/state.sol/IVerifier.ts
+110
-0
node/momiji-helpers/utils/typechain-types/contracts/state.sol/IWETH9.ts
...lpers/utils/typechain-types/contracts/state.sol/IWETH9.ts
+281
-0
No files found.
Too many changes to show.
To preserve performance only
360 of 360+
files are displayed.
Plain diff
Email patch
node/momiji-helpers/utils/typechain-types/contracts/index.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
*
as
interfaces
from
"
./Interfaces
"
;
export
type
{
interfaces
};
import
type
*
as
xfTmockSol
from
"
./XFTmock.sol
"
;
export
type
{
xfTmockSol
};
import
type
*
as
plonkVkSol
from
"
./plonk_vk.sol
"
;
export
type
{
plonkVkSol
};
import
type
*
as
stateSol
from
"
./state.sol
"
;
export
type
{
stateSol
};
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk.sol/BaseUltraVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
interface
BaseUltraVerifierInterface
extends
Interface
{
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
BytesLike
,
BytesLike
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
}
export
interface
BaseUltraVerifier
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
BaseUltraVerifier
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
BaseUltraVerifierInterface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
getVerificationKeyHash
:
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
verify
:
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
):
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
verify
"
):
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
filters
:
{};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk.sol/UltraVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
interface
UltraVerifierInterface
extends
Interface
{
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
BytesLike
,
BytesLike
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
}
export
interface
UltraVerifier
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
UltraVerifier
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
UltraVerifierInterface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
getVerificationKeyHash
:
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
verify
:
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
):
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
verify
"
):
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
filters
:
{};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk.sol/index.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
export
type
{
BaseUltraVerifier
}
from
"
./BaseUltraVerifier
"
;
export
type
{
UltraVerifier
}
from
"
./UltraVerifier
"
;
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_inner.sol/BaseUltraVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BigNumber
,
BytesLike
,
CallOverrides
,
PopulatedTransaction
,
Signer
,
utils
,
}
from
"
ethers
"
;
import
type
{
FunctionFragment
,
Result
}
from
"
@ethersproject/abi
"
;
import
type
{
Listener
,
Provider
}
from
"
@ethersproject/providers
"
;
import
type
{
TypedEventFilter
,
TypedEvent
,
TypedListener
,
OnEvent
,
PromiseOrValue
,
}
from
"
../../common
"
;
export
interface
BaseUltraVerifierInterface
extends
utils
.
Interface
{
functions
:
{
"
getVerificationKeyHash()
"
:
FunctionFragment
;
"
verify(bytes,bytes32[])
"
:
FunctionFragment
;
};
getFunction
(
nameOrSignatureOrTopic
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
PromiseOrValue
<
BytesLike
>
,
PromiseOrValue
<
BytesLike
>
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
events
:
{};
}
export
interface
BaseUltraVerifier
extends
BaseContract
{
connect
(
signerOrProvider
:
Signer
|
Provider
|
string
):
this
;
attach
(
addressOrName
:
string
):
this
;
deployed
():
Promise
<
this
>
;
interface
:
BaseUltraVerifierInterface
;
queryFilter
<
TEvent
extends
TypedEvent
>
(
event
:
TypedEventFilter
<
TEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TEvent
>>
;
listeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
?:
TypedEventFilter
<
TEvent
>
):
Array
<
TypedListener
<
TEvent
>>
;
listeners
(
eventName
?:
string
):
Array
<
Listener
>
;
removeAllListeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
:
TypedEventFilter
<
TEvent
>
):
this
;
removeAllListeners
(
eventName
?:
string
):
this
;
off
:
OnEvent
<
this
>
;
on
:
OnEvent
<
this
>
;
once
:
OnEvent
<
this
>
;
removeListener
:
OnEvent
<
this
>
;
functions
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
[
string
]
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
[
boolean
]
>
;
};
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
callStatic
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
};
filters
:
{};
estimateGas
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
};
populateTransaction
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_inner.sol/UltraVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BigNumber
,
BytesLike
,
CallOverrides
,
PopulatedTransaction
,
Signer
,
utils
,
}
from
"
ethers
"
;
import
type
{
FunctionFragment
,
Result
}
from
"
@ethersproject/abi
"
;
import
type
{
Listener
,
Provider
}
from
"
@ethersproject/providers
"
;
import
type
{
TypedEventFilter
,
TypedEvent
,
TypedListener
,
OnEvent
,
PromiseOrValue
,
}
from
"
../../common
"
;
export
interface
UltraVerifierInterface
extends
utils
.
Interface
{
functions
:
{
"
getVerificationKeyHash()
"
:
FunctionFragment
;
"
verify(bytes,bytes32[])
"
:
FunctionFragment
;
};
getFunction
(
nameOrSignatureOrTopic
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
PromiseOrValue
<
BytesLike
>
,
PromiseOrValue
<
BytesLike
>
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
events
:
{};
}
export
interface
UltraVerifier
extends
BaseContract
{
connect
(
signerOrProvider
:
Signer
|
Provider
|
string
):
this
;
attach
(
addressOrName
:
string
):
this
;
deployed
():
Promise
<
this
>
;
interface
:
UltraVerifierInterface
;
queryFilter
<
TEvent
extends
TypedEvent
>
(
event
:
TypedEventFilter
<
TEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TEvent
>>
;
listeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
?:
TypedEventFilter
<
TEvent
>
):
Array
<
TypedListener
<
TEvent
>>
;
listeners
(
eventName
?:
string
):
Array
<
Listener
>
;
removeAllListeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
:
TypedEventFilter
<
TEvent
>
):
this
;
removeAllListeners
(
eventName
?:
string
):
this
;
off
:
OnEvent
<
this
>
;
on
:
OnEvent
<
this
>
;
once
:
OnEvent
<
this
>
;
removeListener
:
OnEvent
<
this
>
;
functions
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
[
string
]
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
[
boolean
]
>
;
};
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
callStatic
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
};
filters
:
{};
estimateGas
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
};
populateTransaction
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_inner.sol/UltraVerifierInner.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BigNumber
,
BytesLike
,
CallOverrides
,
PopulatedTransaction
,
Signer
,
utils
,
}
from
"
ethers
"
;
import
type
{
FunctionFragment
,
Result
}
from
"
@ethersproject/abi
"
;
import
type
{
Listener
,
Provider
}
from
"
@ethersproject/providers
"
;
import
type
{
TypedEventFilter
,
TypedEvent
,
TypedListener
,
OnEvent
,
PromiseOrValue
,
}
from
"
../../common
"
;
export
interface
UltraVerifierInnerInterface
extends
utils
.
Interface
{
functions
:
{
"
getVerificationKeyHash()
"
:
FunctionFragment
;
"
verify(bytes,bytes32[])
"
:
FunctionFragment
;
};
getFunction
(
nameOrSignatureOrTopic
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
PromiseOrValue
<
BytesLike
>
,
PromiseOrValue
<
BytesLike
>
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
events
:
{};
}
export
interface
UltraVerifierInner
extends
BaseContract
{
connect
(
signerOrProvider
:
Signer
|
Provider
|
string
):
this
;
attach
(
addressOrName
:
string
):
this
;
deployed
():
Promise
<
this
>
;
interface
:
UltraVerifierInnerInterface
;
queryFilter
<
TEvent
extends
TypedEvent
>
(
event
:
TypedEventFilter
<
TEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TEvent
>>
;
listeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
?:
TypedEventFilter
<
TEvent
>
):
Array
<
TypedListener
<
TEvent
>>
;
listeners
(
eventName
?:
string
):
Array
<
Listener
>
;
removeAllListeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
:
TypedEventFilter
<
TEvent
>
):
this
;
removeAllListeners
(
eventName
?:
string
):
this
;
off
:
OnEvent
<
this
>
;
on
:
OnEvent
<
this
>
;
once
:
OnEvent
<
this
>
;
removeListener
:
OnEvent
<
this
>
;
functions
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
[
string
]
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
[
boolean
]
>
;
};
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
callStatic
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
};
filters
:
{};
estimateGas
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
};
populateTransaction
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_inner.sol/index.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
export
type
{
BaseUltraVerifier
}
from
"
./BaseUltraVerifier
"
;
export
type
{
UltraVerifierInner
}
from
"
./UltraVerifierInner
"
;
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_outer.sol/BaseUltraVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BigNumber
,
BytesLike
,
CallOverrides
,
PopulatedTransaction
,
Signer
,
utils
,
}
from
"
ethers
"
;
import
type
{
FunctionFragment
,
Result
}
from
"
@ethersproject/abi
"
;
import
type
{
Listener
,
Provider
}
from
"
@ethersproject/providers
"
;
import
type
{
TypedEventFilter
,
TypedEvent
,
TypedListener
,
OnEvent
,
PromiseOrValue
,
}
from
"
../../common
"
;
export
interface
BaseUltraVerifierInterface
extends
utils
.
Interface
{
functions
:
{
"
getVerificationKeyHash()
"
:
FunctionFragment
;
"
verify(bytes,bytes32[])
"
:
FunctionFragment
;
};
getFunction
(
nameOrSignatureOrTopic
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
PromiseOrValue
<
BytesLike
>
,
PromiseOrValue
<
BytesLike
>
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
events
:
{};
}
export
interface
BaseUltraVerifier
extends
BaseContract
{
connect
(
signerOrProvider
:
Signer
|
Provider
|
string
):
this
;
attach
(
addressOrName
:
string
):
this
;
deployed
():
Promise
<
this
>
;
interface
:
BaseUltraVerifierInterface
;
queryFilter
<
TEvent
extends
TypedEvent
>
(
event
:
TypedEventFilter
<
TEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TEvent
>>
;
listeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
?:
TypedEventFilter
<
TEvent
>
):
Array
<
TypedListener
<
TEvent
>>
;
listeners
(
eventName
?:
string
):
Array
<
Listener
>
;
removeAllListeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
:
TypedEventFilter
<
TEvent
>
):
this
;
removeAllListeners
(
eventName
?:
string
):
this
;
off
:
OnEvent
<
this
>
;
on
:
OnEvent
<
this
>
;
once
:
OnEvent
<
this
>
;
removeListener
:
OnEvent
<
this
>
;
functions
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
[
string
]
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
[
boolean
]
>
;
};
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
callStatic
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
};
filters
:
{};
estimateGas
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
};
populateTransaction
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_outer.sol/UltraVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BigNumber
,
BytesLike
,
CallOverrides
,
PopulatedTransaction
,
Signer
,
utils
,
}
from
"
ethers
"
;
import
type
{
FunctionFragment
,
Result
}
from
"
@ethersproject/abi
"
;
import
type
{
Listener
,
Provider
}
from
"
@ethersproject/providers
"
;
import
type
{
TypedEventFilter
,
TypedEvent
,
TypedListener
,
OnEvent
,
PromiseOrValue
,
}
from
"
../../common
"
;
export
interface
UltraVerifierInterface
extends
utils
.
Interface
{
functions
:
{
"
getVerificationKeyHash()
"
:
FunctionFragment
;
"
verify(bytes,bytes32[])
"
:
FunctionFragment
;
};
getFunction
(
nameOrSignatureOrTopic
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
PromiseOrValue
<
BytesLike
>
,
PromiseOrValue
<
BytesLike
>
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
events
:
{};
}
export
interface
UltraVerifier
extends
BaseContract
{
connect
(
signerOrProvider
:
Signer
|
Provider
|
string
):
this
;
attach
(
addressOrName
:
string
):
this
;
deployed
():
Promise
<
this
>
;
interface
:
UltraVerifierInterface
;
queryFilter
<
TEvent
extends
TypedEvent
>
(
event
:
TypedEventFilter
<
TEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TEvent
>>
;
listeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
?:
TypedEventFilter
<
TEvent
>
):
Array
<
TypedListener
<
TEvent
>>
;
listeners
(
eventName
?:
string
):
Array
<
Listener
>
;
removeAllListeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
:
TypedEventFilter
<
TEvent
>
):
this
;
removeAllListeners
(
eventName
?:
string
):
this
;
off
:
OnEvent
<
this
>
;
on
:
OnEvent
<
this
>
;
once
:
OnEvent
<
this
>
;
removeListener
:
OnEvent
<
this
>
;
functions
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
[
string
]
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
[
boolean
]
>
;
};
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
callStatic
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
};
filters
:
{};
estimateGas
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
};
populateTransaction
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_outer.sol/UltraVerifierOuter.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BigNumber
,
BytesLike
,
CallOverrides
,
PopulatedTransaction
,
Signer
,
utils
,
}
from
"
ethers
"
;
import
type
{
FunctionFragment
,
Result
}
from
"
@ethersproject/abi
"
;
import
type
{
Listener
,
Provider
}
from
"
@ethersproject/providers
"
;
import
type
{
TypedEventFilter
,
TypedEvent
,
TypedListener
,
OnEvent
,
PromiseOrValue
,
}
from
"
../../common
"
;
export
interface
UltraVerifierOuterInterface
extends
utils
.
Interface
{
functions
:
{
"
getVerificationKeyHash()
"
:
FunctionFragment
;
"
verify(bytes,bytes32[])
"
:
FunctionFragment
;
};
getFunction
(
nameOrSignatureOrTopic
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
PromiseOrValue
<
BytesLike
>
,
PromiseOrValue
<
BytesLike
>
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
events
:
{};
}
export
interface
UltraVerifierOuter
extends
BaseContract
{
connect
(
signerOrProvider
:
Signer
|
Provider
|
string
):
this
;
attach
(
addressOrName
:
string
):
this
;
deployed
():
Promise
<
this
>
;
interface
:
UltraVerifierOuterInterface
;
queryFilter
<
TEvent
extends
TypedEvent
>
(
event
:
TypedEventFilter
<
TEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TEvent
>>
;
listeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
?:
TypedEventFilter
<
TEvent
>
):
Array
<
TypedListener
<
TEvent
>>
;
listeners
(
eventName
?:
string
):
Array
<
Listener
>
;
removeAllListeners
<
TEvent
extends
TypedEvent
>
(
eventFilter
:
TypedEventFilter
<
TEvent
>
):
this
;
removeAllListeners
(
eventName
?:
string
):
this
;
off
:
OnEvent
<
this
>
;
on
:
OnEvent
<
this
>
;
once
:
OnEvent
<
this
>
;
removeListener
:
OnEvent
<
this
>
;
functions
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
[
string
]
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
[
boolean
]
>
;
};
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
callStatic
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
string
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
boolean
>
;
};
filters
:
{};
estimateGas
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
BigNumber
>
;
};
populateTransaction
:
{
getVerificationKeyHash
(
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
verify
(
_proof
:
PromiseOrValue
<
BytesLike
>
,
_publicInputs
:
PromiseOrValue
<
BytesLike
>
[],
overrides
?:
CallOverrides
):
Promise
<
PopulatedTransaction
>
;
};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_outer.sol/index.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
export
type
{
BaseUltraVerifier
}
from
"
./BaseUltraVerifier
"
;
export
type
{
UltraVerifierOuter
}
from
"
./UltraVerifierOuter
"
;
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_publish.sol/BaseUltraVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
interface
BaseUltraVerifierInterface
extends
Interface
{
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
BytesLike
,
BytesLike
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
}
export
interface
BaseUltraVerifier
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
BaseUltraVerifier
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
BaseUltraVerifierInterface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
getVerificationKeyHash
:
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
verify
:
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
):
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
verify
"
):
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
filters
:
{};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_publish.sol/PublishVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
interface
PublishVerifierInterface
extends
Interface
{
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
BytesLike
,
BytesLike
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
}
export
interface
PublishVerifier
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
PublishVerifier
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
PublishVerifierInterface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
getVerificationKeyHash
:
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
verify
:
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
):
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
verify
"
):
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
filters
:
{};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_publish.sol/Publisher.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
interface
PublisherInterface
extends
Interface
{
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
BytesLike
,
BytesLike
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
}
export
interface
Publisher
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
Publisher
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
PublisherInterface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
getVerificationKeyHash
:
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
verify
:
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
):
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
verify
"
):
TypedContractMethod
<
[
_proof
:
BytesLike
,
_publicInputs
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
filters
:
{};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/plonk_vk_publish.sol/index.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
export
type
{
BaseUltraVerifier
}
from
"
./BaseUltraVerifier
"
;
export
type
{
PublishVerifier
}
from
"
./PublishVerifier
"
;
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/state.sol/IMomiji.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
type
EncryptedUTXOStruct
=
{
secret
:
BytesLike
;
amount
:
BytesLike
;
data
:
BytesLike
;
};
export
type
EncryptedUTXOStructOutput
=
[
secret
:
string
,
amount
:
string
,
data
:
string
]
&
{
secret
:
string
;
amount
:
string
;
data
:
string
};
export
type
DepositStruct
=
{
signature
:
BytesLike
;
pi_hash
:
BytesLike
};
export
type
DepositStructOutput
=
[
signature
:
string
,
pi_hash
:
string
]
&
{
signature
:
string
;
pi_hash
:
string
;
};
export
type
TransactionStruct
=
{
current_root
:
BytesLike
;
utxo_root
:
BytesLike
;
price_limit
:
BytesLike
;
timestamp
:
BytesLike
;
deadline
:
BytesLike
;
amount
:
BytesLike
;
encrypted_utxo
:
EncryptedUTXOStruct
[];
withdrawals
:
BytesLike
[];
commitments_in
:
BytesLike
[];
commitments
:
BytesLike
[];
recipients
:
BytesLike
[];
nullifier_hashes
:
BytesLike
[];
uids
:
BytesLike
[];
swap_amounts
:
BytesLike
[];
deposit
:
DepositStruct
;
};
export
type
TransactionStructOutput
=
[
current_root
:
string
,
utxo_root
:
string
,
price_limit
:
string
,
timestamp
:
string
,
deadline
:
string
,
amount
:
string
,
encrypted_utxo
:
EncryptedUTXOStructOutput
[],
withdrawals
:
string
[],
commitments_in
:
string
[],
commitments
:
string
[],
recipients
:
string
[],
nullifier_hashes
:
string
[],
uids
:
string
[],
swap_amounts
:
string
[],
deposit
:
DepositStructOutput
]
&
{
current_root
:
string
;
utxo_root
:
string
;
price_limit
:
string
;
timestamp
:
string
;
deadline
:
string
;
amount
:
string
;
encrypted_utxo
:
EncryptedUTXOStructOutput
[];
withdrawals
:
string
[];
commitments_in
:
string
[];
commitments
:
string
[];
recipients
:
string
[];
nullifier_hashes
:
string
[];
uids
:
string
[];
swap_amounts
:
string
[];
deposit
:
DepositStructOutput
;
};
export
type
BatchStruct
=
{
tx_key_hash
:
BytesLike
;
recursive_key_hash
:
BytesLike
;
new_root
:
BytesLike
;
old_hist_root
:
BytesLike
;
new_hist_root
:
BytesLike
;
oracle
:
BytesLike
;
historic_path
:
BytesLike
[];
aggregation_object
:
BytesLike
[];
transactions
:
TransactionStruct
[];
};
export
type
BatchStructOutput
=
[
tx_key_hash
:
string
,
recursive_key_hash
:
string
,
new_root
:
string
,
old_hist_root
:
string
,
new_hist_root
:
string
,
oracle
:
string
,
historic_path
:
string
[],
aggregation_object
:
string
[],
transactions
:
TransactionStructOutput
[]
]
&
{
tx_key_hash
:
string
;
recursive_key_hash
:
string
;
new_root
:
string
;
old_hist_root
:
string
;
new_hist_root
:
string
;
oracle
:
string
;
historic_path
:
string
[];
aggregation_object
:
string
[];
transactions
:
TransactionStructOutput
[];
};
export
interface
IMomijiInterface
extends
Interface
{
getFunction
(
nameOrSignature
:
"
publish
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
publish
"
,
values
:
[
BytesLike
,
BatchStruct
]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
publish
"
,
data
:
BytesLike
):
Result
;
}
export
interface
IMomiji
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
IMomiji
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
IMomijiInterface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
publish
:
TypedContractMethod
<
[
_proof
:
BytesLike
,
_batch
:
BatchStruct
],
[
void
],
"
nonpayable
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
publish
"
):
TypedContractMethod
<
[
_proof
:
BytesLike
,
_batch
:
BatchStruct
],
[
void
],
"
nonpayable
"
>
;
filters
:
{};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/state.sol/IOracle.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BigNumberish
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
AddressLike
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
interface
IOracleInterface
extends
Interface
{
getFunction
(
nameOrSignature
:
"
chainlinkPrice
"
|
"
getCost
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
chainlinkPrice
"
,
values
:
[
AddressLike
]
):
string
;
encodeFunctionData
(
functionFragment
:
"
getCost
"
,
values
:
[
BigNumberish
,
AddressLike
,
AddressLike
]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
chainlinkPrice
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
getCost
"
,
data
:
BytesLike
):
Result
;
}
export
interface
IOracle
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
IOracle
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
IOracleInterface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
chainlinkPrice
:
TypedContractMethod
<
[
_chainlinkFeed
:
AddressLike
],
[
bigint
],
"
view
"
>
;
getCost
:
TypedContractMethod
<
[
_amount
:
BigNumberish
,
_chainlinkFeed
:
AddressLike
,
_xftPool
:
AddressLike
],
[
bigint
],
"
view
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
chainlinkPrice
"
):
TypedContractMethod
<
[
_chainlinkFeed
:
AddressLike
],
[
bigint
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
getCost
"
):
TypedContractMethod
<
[
_amount
:
BigNumberish
,
_chainlinkFeed
:
AddressLike
,
_xftPool
:
AddressLike
],
[
bigint
],
"
view
"
>
;
filters
:
{};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/state.sol/IVerifier.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
interface
IVerifierInterface
extends
Interface
{
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
|
"
verify
"
):
FunctionFragment
;
encodeFunctionData
(
functionFragment
:
"
getVerificationKeyHash
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
verify
"
,
values
:
[
BytesLike
,
BytesLike
[]]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
getVerificationKeyHash
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
verify
"
,
data
:
BytesLike
):
Result
;
}
export
interface
IVerifier
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
IVerifier
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
IVerifierInterface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
getVerificationKeyHash
:
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
verify
:
TypedContractMethod
<
[
arg0
:
BytesLike
,
arg1
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
getVerificationKeyHash
"
):
TypedContractMethod
<
[],
[
string
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
verify
"
):
TypedContractMethod
<
[
arg0
:
BytesLike
,
arg1
:
BytesLike
[]],
[
boolean
],
"
view
"
>
;
filters
:
{};
}
This diff is collapsed.
Click to expand it.
node/momiji-helpers/utils/typechain-types/contracts/state.sol/IWETH9.ts
0 → 100644
View file @
a266b32d
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import
type
{
BaseContract
,
BigNumberish
,
BytesLike
,
FunctionFragment
,
Result
,
Interface
,
EventFragment
,
AddressLike
,
ContractRunner
,
ContractMethod
,
Listener
,
}
from
"
ethers
"
;
import
type
{
TypedContractEvent
,
TypedDeferredTopicFilter
,
TypedEventLog
,
TypedLogDescription
,
TypedListener
,
TypedContractMethod
,
}
from
"
../../common
"
;
export
interface
IWETH9Interface
extends
Interface
{
getFunction
(
nameOrSignature
:
|
"
allowance
"
|
"
approve
"
|
"
balanceOf
"
|
"
deposit
"
|
"
totalSupply
"
|
"
transfer
"
|
"
transferFrom
"
|
"
withdraw
"
):
FunctionFragment
;
getEvent
(
nameOrSignatureOrTopic
:
"
Approval
"
|
"
Transfer
"
):
EventFragment
;
encodeFunctionData
(
functionFragment
:
"
allowance
"
,
values
:
[
AddressLike
,
AddressLike
]
):
string
;
encodeFunctionData
(
functionFragment
:
"
approve
"
,
values
:
[
AddressLike
,
BigNumberish
]
):
string
;
encodeFunctionData
(
functionFragment
:
"
balanceOf
"
,
values
:
[
AddressLike
]
):
string
;
encodeFunctionData
(
functionFragment
:
"
deposit
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
totalSupply
"
,
values
?:
undefined
):
string
;
encodeFunctionData
(
functionFragment
:
"
transfer
"
,
values
:
[
AddressLike
,
BigNumberish
]
):
string
;
encodeFunctionData
(
functionFragment
:
"
transferFrom
"
,
values
:
[
AddressLike
,
AddressLike
,
BigNumberish
]
):
string
;
encodeFunctionData
(
functionFragment
:
"
withdraw
"
,
values
:
[
BigNumberish
]
):
string
;
decodeFunctionResult
(
functionFragment
:
"
allowance
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
approve
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
balanceOf
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
deposit
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
totalSupply
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
transfer
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
transferFrom
"
,
data
:
BytesLike
):
Result
;
decodeFunctionResult
(
functionFragment
:
"
withdraw
"
,
data
:
BytesLike
):
Result
;
}
export
namespace
ApprovalEvent
{
export
type
InputTuple
=
[
owner
:
AddressLike
,
spender
:
AddressLike
,
value
:
BigNumberish
];
export
type
OutputTuple
=
[
owner
:
string
,
spender
:
string
,
value
:
bigint
];
export
interface
OutputObject
{
owner
:
string
;
spender
:
string
;
value
:
bigint
;
}
export
type
Event
=
TypedContractEvent
<
InputTuple
,
OutputTuple
,
OutputObject
>
;
export
type
Filter
=
TypedDeferredTopicFilter
<
Event
>
;
export
type
Log
=
TypedEventLog
<
Event
>
;
export
type
LogDescription
=
TypedLogDescription
<
Event
>
;
}
export
namespace
TransferEvent
{
export
type
InputTuple
=
[
from
:
AddressLike
,
to
:
AddressLike
,
value
:
BigNumberish
];
export
type
OutputTuple
=
[
from
:
string
,
to
:
string
,
value
:
bigint
];
export
interface
OutputObject
{
from
:
string
;
to
:
string
;
value
:
bigint
;
}
export
type
Event
=
TypedContractEvent
<
InputTuple
,
OutputTuple
,
OutputObject
>
;
export
type
Filter
=
TypedDeferredTopicFilter
<
Event
>
;
export
type
Log
=
TypedEventLog
<
Event
>
;
export
type
LogDescription
=
TypedLogDescription
<
Event
>
;
}
export
interface
IWETH9
extends
BaseContract
{
connect
(
runner
?:
ContractRunner
|
null
):
IWETH9
;
waitForDeployment
():
Promise
<
this
>
;
interface
:
IWETH9Interface
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
queryFilter
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
fromBlockOrBlockhash
?:
string
|
number
|
undefined
,
toBlock
?:
string
|
number
|
undefined
):
Promise
<
Array
<
TypedEventLog
<
TCEvent
>>>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
on
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
once
<
TCEvent
extends
TypedContractEvent
>
(
filter
:
TypedDeferredTopicFilter
<
TCEvent
>
,
listener
:
TypedListener
<
TCEvent
>
):
Promise
<
this
>
;
listeners
<
TCEvent
extends
TypedContractEvent
>
(
event
:
TCEvent
):
Promise
<
Array
<
TypedListener
<
TCEvent
>>>
;
listeners
(
eventName
?:
string
):
Promise
<
Array
<
Listener
>>
;
removeAllListeners
<
TCEvent
extends
TypedContractEvent
>
(
event
?:
TCEvent
):
Promise
<
this
>
;
allowance
:
TypedContractMethod
<
[
owner
:
AddressLike
,
spender
:
AddressLike
],
[
bigint
],
"
view
"
>
;
approve
:
TypedContractMethod
<
[
spender
:
AddressLike
,
amount
:
BigNumberish
],
[
boolean
],
"
nonpayable
"
>
;
balanceOf
:
TypedContractMethod
<
[
account
:
AddressLike
],
[
bigint
],
"
view
"
>
;
deposit
:
TypedContractMethod
<
[],
[
void
],
"
payable
"
>
;
totalSupply
:
TypedContractMethod
<
[],
[
bigint
],
"
view
"
>
;
transfer
:
TypedContractMethod
<
[
recipient
:
AddressLike
,
amount
:
BigNumberish
],
[
boolean
],
"
nonpayable
"
>
;
transferFrom
:
TypedContractMethod
<
[
sender
:
AddressLike
,
recipient
:
AddressLike
,
amount
:
BigNumberish
],
[
boolean
],
"
nonpayable
"
>
;
withdraw
:
TypedContractMethod
<
[
_amount
:
BigNumberish
],
[
void
],
"
nonpayable
"
>
;
getFunction
<
T
extends
ContractMethod
=
ContractMethod
>
(
key
:
string
|
FunctionFragment
):
T
;
getFunction
(
nameOrSignature
:
"
allowance
"
):
TypedContractMethod
<
[
owner
:
AddressLike
,
spender
:
AddressLike
],
[
bigint
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
approve
"
):
TypedContractMethod
<
[
spender
:
AddressLike
,
amount
:
BigNumberish
],
[
boolean
],
"
nonpayable
"
>
;
getFunction
(
nameOrSignature
:
"
balanceOf
"
):
TypedContractMethod
<
[
account
:
AddressLike
],
[
bigint
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
deposit
"
):
TypedContractMethod
<
[],
[
void
],
"
payable
"
>
;
getFunction
(
nameOrSignature
:
"
totalSupply
"
):
TypedContractMethod
<
[],
[
bigint
],
"
view
"
>
;
getFunction
(
nameOrSignature
:
"
transfer
"
):
TypedContractMethod
<
[
recipient
:
AddressLike
,
amount
:
BigNumberish
],
[
boolean
],
"
nonpayable
"
>
;
getFunction
(
nameOrSignature
:
"
transferFrom
"
):
TypedContractMethod
<
[
sender
:
AddressLike
,
recipient
:
AddressLike
,
amount
:
BigNumberish
],
[
boolean
],
"
nonpayable
"
>
;
getFunction
(
nameOrSignature
:
"
withdraw
"
):
TypedContractMethod
<
[
_amount
:
BigNumberish
],
[
void
],
"
nonpayable
"
>
;
getEvent
(
key
:
"
Approval
"
):
TypedContractEvent
<
ApprovalEvent
.
InputTuple
,
ApprovalEvent
.
OutputTuple
,
ApprovalEvent
.
OutputObject
>
;
getEvent
(
key
:
"
Transfer
"
):
TypedContractEvent
<
TransferEvent
.
InputTuple
,
TransferEvent
.
OutputTuple
,
TransferEvent
.
OutputObject
>
;
filters
:
{
"
Approval(address,address,uint256)
"
:
TypedContractEvent
<
ApprovalEvent
.
InputTuple
,
ApprovalEvent
.
OutputTuple
,
ApprovalEvent
.
OutputObject
>
;
Approval
:
TypedContractEvent
<
ApprovalEvent
.
InputTuple
,
ApprovalEvent
.
OutputTuple
,
ApprovalEvent
.
OutputObject
>
;
"
Transfer(address,address,uint256)
"
:
TypedContractEvent
<
TransferEvent
.
InputTuple
,
TransferEvent
.
OutputTuple
,
TransferEvent
.
OutputObject
>
;
Transfer
:
TypedContractEvent
<
TransferEvent
.
InputTuple
,
TransferEvent
.
OutputTuple
,
TransferEvent
.
OutputObject
>
;
};
}
This diff is collapsed.
Click to expand it.
Prev
1
…
14
15
16
17
18
Next
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