@opensubaccounts/sdk
Preparing search index...
getMultiChainSignaturesModule
Function getMultiChainSignaturesModule
getMultiChainSignaturesModule
<
TClient
extends
Client
>
(
client
:
TClient
,
chainId
:
number
,
)
:
{
[
K
in
string
|
number
|
symbol
]
:
(
{
[
K
in
string
|
number
|
symbol
]
:
(
(
(
TClient
extends
{
public
:
Client
}
?
TClient
<
TClient
>
[
"public"
]
:
TClient
)
extends
Client
?
{
read
:
{
domainSeparator
:
(
...
parameters
:
...
)
=>
...
;
encodeTransactionBatchData
:
(
...
parameters
:
...
)
=>
...
;
SIGLESS_TRANSACTION_EXECUTOR
:
(
...
parameters
:
...
)
=>
...
;
VERSION
:
(
...
parameters
:
...
)
=>
...
;
}
;
}
&
{
estimateGas
:
{
execTransactionBatch
:
(
...
parameters
:
...
)
=>
...
}
;
simulate
:
{
execTransactionBatch
:
<
chainOverride
extends
...
=
...
,
accountOverride
extends
...
=
...
,
>
(
...
parameters
:
...
,
)
=>
...
;
}
;
}
&
{
createEventFilter
:
{
SafeTxFailed
:
<
const
args
extends
...
,
strict
extends
...
=
...
>
(
...
parameters
:
...
,
)
=>
...
;
}
;
getEvents
:
{
SafeTxFailed
:
(
...
parameters
:
...
)
=>
...
}
;
watchEvent
:
{
SafeTxFailed
:
(
...
parameters
:
...
)
=>
...
}
;
}
:
unknown
)
&
(
(
TClient
extends
{
wallet
:
Client
}
?
TClient
<
TClient
>
[
"wallet"
]
:
TClient
)
extends
Client
?
{
estimateGas
:
{
execTransactionBatch
:
(
...
parameters
:
[
args
:
...
,
...
parameters
:
(...)
[]
]
,
)
=>
Promise
<
(...)
>
;
}
;
write
:
{
execTransactionBatch
:
<
chainOverride
extends
(...)
|
(...)
,
options
extends
{
[
K
in
(...)
]
:
(...)
}
,
>
(
...
parameters
:
[
args
:
...
,
...
parameters
:
(...)
[]
]
,
)
=>
Promise
<
(...)
>
;
}
;
}
:
unknown
)
)
[
K
]
}
&
{
abi
:
readonly
[
{
inputs
:
readonly
[
{
internalType
:
"address"
;
name
:
"_siglessTransactionExecutor"
;
type
:
"address"
;
}
,
]
;
stateMutability
:
"nonpayable"
;
type
:
"constructor"
;
}
,
{
inputs
:
readonly
[
]
;
name
:
"SIGLESS_TRANSACTION_EXECUTOR"
;
outputs
:
readonly
[
{
internalType
:
"address"
;
name
:
""
;
type
:
"address"
}
,
]
;
stateMutability
:
"view"
;
type
:
"function"
;
}
,
{
inputs
:
readonly
[
]
;
name
:
"VERSION"
;
outputs
:
readonly
[
{
internalType
:
"string"
;
name
:
""
;
type
:
"string"
}
,
]
;
stateMutability
:
"view"
;
type
:
"function"
;
}
,
{
inputs
:
readonly
[
]
;
name
:
"domainSeparator"
;
outputs
:
readonly
[
{
internalType
:
"bytes32"
;
name
:
"separator"
;
type
:
"bytes32"
}
,
]
;
stateMutability
:
"view"
;
type
:
"function"
;
}
,
{
inputs
:
readonly
[
{
components
:
readonly
[
{
internalType
:
"address"
;
name
:
"subaccount"
;
type
:
"address"
}
,
{
components
:
readonly
[
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
]
;
internalType
:
"struct ISafeTx.SafeTx[]"
;
name
:
"safeTxs"
;
type
:
"tuple[]"
;
}
,
{
internalType
:
"uint256[]"
;
name
:
"chainIds"
;
type
:
"uint256[]"
}
,
]
;
internalType
:
"struct MultiChainSignaturesModule.SafeTxBatch"
;
name
:
"safeTxBatch"
;
type
:
"tuple"
;
}
,
]
;
name
:
"encodeTransactionBatchData"
;
outputs
:
readonly
[
{
internalType
:
"bytes"
;
name
:
""
;
type
:
"bytes"
}
]
;
stateMutability
:
"view"
;
type
:
"function"
;
}
,
{
inputs
:
readonly
[
{
internalType
:
"address"
;
name
:
"account"
;
type
:
"address"
}
,
{
components
:
readonly
[
{
internalType
:
"address"
;
name
:
"subaccount"
;
type
:
"address"
}
,
{
components
:
readonly
[
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
]
;
internalType
:
"struct ISafeTx.SafeTx[]"
;
name
:
"safeTxs"
;
type
:
"tuple[]"
;
}
,
{
internalType
:
"uint256[]"
;
name
:
"chainIds"
;
type
:
"uint256[]"
}
,
]
;
internalType
:
"struct MultiChainSignaturesModule.SafeTxBatch"
;
name
:
"safeTxBatch"
;
type
:
"tuple"
;
}
,
{
internalType
:
"bytes"
;
name
:
"signatures"
;
type
:
"bytes"
}
,
]
;
name
:
"execTransactionBatch"
;
outputs
:
readonly
[
{
internalType
:
"bool"
;
name
:
"success"
;
type
:
"bool"
}
,
]
;
stateMutability
:
"nonpayable"
;
type
:
"function"
;
}
,
{
anonymous
:
false
;
inputs
:
readonly
[
{
indexed
:
true
;
internalType
:
"address"
;
name
:
"safe"
;
type
:
"address"
;
}
,
{
indexed
:
true
;
internalType
:
"uint256"
;
name
:
"index"
;
type
:
"uint256"
;
}
,
]
;
name
:
"SafeTxFailed"
;
type
:
"event"
;
}
,
{
inputs
:
readonly
[
]
;
name
:
"LengthMismatch"
;
type
:
"error"
}
,
{
inputs
:
readonly
[
]
;
name
:
"MismatchedSubaccount"
;
type
:
"error"
}
,
]
;
address
:
`
0x
${
string
}
`
;
}
)
[
K
]
}
Type Parameters
TClient
extends
Client
Parameters
client
:
TClient
chainId
:
number
Returns
{
[
K
in
string
|
number
|
symbol
]
:
(
{
[
K
in
string
|
number
|
symbol
]
:
(
(
(
TClient
extends
{
public
:
Client
}
?
TClient
<
TClient
>
[
"public"
]
:
TClient
)
extends
Client
?
{
read
:
{
domainSeparator
:
(
...
parameters
:
...
)
=>
...
;
encodeTransactionBatchData
:
(
...
parameters
:
...
)
=>
...
;
SIGLESS_TRANSACTION_EXECUTOR
:
(
...
parameters
:
...
)
=>
...
;
VERSION
:
(
...
parameters
:
...
)
=>
...
;
}
;
}
&
{
estimateGas
:
{
execTransactionBatch
:
(
...
parameters
:
...
)
=>
...
}
;
simulate
:
{
execTransactionBatch
:
<
chainOverride
extends
...
=
...
,
accountOverride
extends
...
=
...
,
>
(
...
parameters
:
...
,
)
=>
...
;
}
;
}
&
{
createEventFilter
:
{
SafeTxFailed
:
<
const
args
extends
...
,
strict
extends
...
=
...
>
(
...
parameters
:
...
,
)
=>
...
;
}
;
getEvents
:
{
SafeTxFailed
:
(
...
parameters
:
...
)
=>
...
}
;
watchEvent
:
{
SafeTxFailed
:
(
...
parameters
:
...
)
=>
...
}
;
}
:
unknown
)
&
(
(
TClient
extends
{
wallet
:
Client
}
?
TClient
<
TClient
>
[
"wallet"
]
:
TClient
)
extends
Client
?
{
estimateGas
:
{
execTransactionBatch
:
(
...
parameters
:
[
args
:
...
,
...
parameters
:
(...)
[]
]
,
)
=>
Promise
<
(...)
>
;
}
;
write
:
{
execTransactionBatch
:
<
chainOverride
extends
(...)
|
(...)
,
options
extends
{
[
K
in
(...)
]
:
(...)
}
,
>
(
...
parameters
:
[
args
:
...
,
...
parameters
:
(...)
[]
]
,
)
=>
Promise
<
(...)
>
;
}
;
}
:
unknown
)
)
[
K
]
}
&
{
abi
:
readonly
[
{
inputs
:
readonly
[
{
internalType
:
"address"
;
name
:
"_siglessTransactionExecutor"
;
type
:
"address"
;
}
,
]
;
stateMutability
:
"nonpayable"
;
type
:
"constructor"
;
}
,
{
inputs
:
readonly
[
]
;
name
:
"SIGLESS_TRANSACTION_EXECUTOR"
;
outputs
:
readonly
[
{
internalType
:
"address"
;
name
:
""
;
type
:
"address"
}
,
]
;
stateMutability
:
"view"
;
type
:
"function"
;
}
,
{
inputs
:
readonly
[
]
;
name
:
"VERSION"
;
outputs
:
readonly
[
{
internalType
:
"string"
;
name
:
""
;
type
:
"string"
}
,
]
;
stateMutability
:
"view"
;
type
:
"function"
;
}
,
{
inputs
:
readonly
[
]
;
name
:
"domainSeparator"
;
outputs
:
readonly
[
{
internalType
:
"bytes32"
;
name
:
"separator"
;
type
:
"bytes32"
}
,
]
;
stateMutability
:
"view"
;
type
:
"function"
;
}
,
{
inputs
:
readonly
[
{
components
:
readonly
[
{
internalType
:
"address"
;
name
:
"subaccount"
;
type
:
"address"
}
,
{
components
:
readonly
[
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
]
;
internalType
:
"struct ISafeTx.SafeTx[]"
;
name
:
"safeTxs"
;
type
:
"tuple[]"
;
}
,
{
internalType
:
"uint256[]"
;
name
:
"chainIds"
;
type
:
"uint256[]"
}
,
]
;
internalType
:
"struct MultiChainSignaturesModule.SafeTxBatch"
;
name
:
"safeTxBatch"
;
type
:
"tuple"
;
}
,
]
;
name
:
"encodeTransactionBatchData"
;
outputs
:
readonly
[
{
internalType
:
"bytes"
;
name
:
""
;
type
:
"bytes"
}
]
;
stateMutability
:
"view"
;
type
:
"function"
;
}
,
{
inputs
:
readonly
[
{
internalType
:
"address"
;
name
:
"account"
;
type
:
"address"
}
,
{
components
:
readonly
[
{
internalType
:
"address"
;
name
:
"subaccount"
;
type
:
"address"
}
,
{
components
:
readonly
[
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
(...)
,
]
;
internalType
:
"struct ISafeTx.SafeTx[]"
;
name
:
"safeTxs"
;
type
:
"tuple[]"
;
}
,
{
internalType
:
"uint256[]"
;
name
:
"chainIds"
;
type
:
"uint256[]"
}
,
]
;
internalType
:
"struct MultiChainSignaturesModule.SafeTxBatch"
;
name
:
"safeTxBatch"
;
type
:
"tuple"
;
}
,
{
internalType
:
"bytes"
;
name
:
"signatures"
;
type
:
"bytes"
}
,
]
;
name
:
"execTransactionBatch"
;
outputs
:
readonly
[
{
internalType
:
"bool"
;
name
:
"success"
;
type
:
"bool"
}
,
]
;
stateMutability
:
"nonpayable"
;
type
:
"function"
;
}
,
{
anonymous
:
false
;
inputs
:
readonly
[
{
indexed
:
true
;
internalType
:
"address"
;
name
:
"safe"
;
type
:
"address"
;
}
,
{
indexed
:
true
;
internalType
:
"uint256"
;
name
:
"index"
;
type
:
"uint256"
;
}
,
]
;
name
:
"SafeTxFailed"
;
type
:
"event"
;
}
,
{
inputs
:
readonly
[
]
;
name
:
"LengthMismatch"
;
type
:
"error"
}
,
{
inputs
:
readonly
[
]
;
name
:
"MismatchedSubaccount"
;
type
:
"error"
}
,
]
;
address
:
`
0x
${
string
}
`
;
}
)
[
K
]
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@opensubaccounts/sdk
Loading...