wearenotabank Docs DE
Docs · API reference
Docs

API reference for the TypeScript and Dart SDKs

This page lists the functions, types and constants that the TypeScript and Dart SDKs export at the commit named below, each with its signature. Both SDKs offer the same functions under the same names. The page explains nothing: the integration guide does, and each function shows where the guide covers it.

As of today no wearenotabank contract is deployed and neither SDK is published.

Code as of commit 34141ab in the SDKs' repository.

Names and signatures are code. They appear exactly as in the source, in both languages.

TypeScript SDK

Functions

Types

  • AddressCheckinterface AddressCheck
    • readonly verdict: AddressVerdict
    • readonly address: Address
    • readonly source: string
    • readonly fileDate: string
    • readonly ageSeconds: number
    • readonly entry?: MatchedEntry
  • AddressCheckInputinterface AddressCheckInput
    • readonly address: string
    • readonly list: SuppliedList
    • readonly maxAgeSeconds?: number | undefined
    • readonly now: number
  • AddressVerdicttype AddressVerdict = 'listed' | 'not-listed' | 'stale' | 'list-empty'
  • Annexinterface Annex
    • readonly id: 'LIII' | 'XXXIV'
    • readonly regulation: string
    • readonly article: string
    • readonly version: string
    • readonly entries: readonly AnnexEntry[]
  • AnnexEntryinterface AnnexEntry
    • readonly id: string
    • readonly name: string
    • readonly since: string
    • readonly aliases: readonly string[]
    • readonly identifiers: readonly ListedIdentifier[]
  • ApplyBuildinterface ApplyBuild
    • readonly safe: Address
    • readonly seq: number
    • readonly lag: readonly ChainLag[]
    • readonly steps: readonly ApplyStep[]
  • ApplyInputinterface ApplyInput
    • readonly signed: SignedConfiguration
    • readonly chains?: readonly number[]
  • ApplyStepinterface ApplyStep
    • readonly chainId: number
    • readonly kind: 'apply' | 'sync'
    • readonly transaction: Transaction
  • ArmInputinterface ArmInput
    • readonly chainId: number
    • readonly safe: Address
    • readonly token: Address
  • AttestationStatetype AttestationState = 'pending' | 'unreachable' | 'complete'
  • BootstrapInputinterface BootstrapInput extends SafeInput
    • readonly targetChainId: number
    • readonly token: Address
    • readonly row: { readonly oracle: Address; readonly slippageBps: number }
    • readonly apply?: Transaction
    • readonly firstApply?: FirstApply
    • readonly now?: number
    • readonly hookGas?: { readonly deploy?: bigint; readonly apply?: bigint }
  • BootstrapOrderinterface BootstrapOrder
    • readonly chainId: typeof BOOTSTRAP_CHAIN_ID
    • readonly safe: Address
    • readonly order: BootstrapOrderFields
    • readonly appDataDocument: string
    • readonly appDataBytes: number
    • readonly digest: Hex
    • readonly uid: Hex
    • readonly signingScheme: 'eip1271'
    • readonly signature: Hex
  • BootstrapOrderFieldsinterface BootstrapOrderFields
    • readonly sellToken: Address
    • readonly buyToken: Address
    • readonly receiver: Address
    • readonly sellAmount: bigint
    • readonly buyAmount: bigint
    • readonly validTo: number
    • readonly appData: Hex
    • readonly feeAmount: 0n
    • readonly kind: 'sell'
    • readonly partiallyFillable: false
    • readonly sellTokenBalance: 'erc20'
    • readonly buyTokenBalance: 'erc20'
  • BuildConfigurationInputinterface BuildConfigurationInput
    • readonly safe: Address
    • readonly targetChainId: number
    • readonly targetToken: Address
    • readonly sendStablecoinToTargetChain: boolean
    • readonly validUntil: bigint
    • readonly integrator?: IntegratorFee
    • readonly rows?: readonly RowInput[]
    • readonly now?: number
    • readonly keepOldTargetToken?: boolean
  • BuiltDocumentinterface BuiltDocument
    • readonly kind: DocumentKind
    • readonly document: string
    • readonly hash: Hex
    • readonly bytes: number
  • BurnCausetype BurnCause = 'above-burn-limit' | 'minter-paused' | 'transmitter-paused' | 'safe-denylisted'
  • BurnChecktype BurnCheck = 'burn-limit' | 'minter-paused' | 'transmitter-paused' | 'denylist'
  • BurnInputinterface BurnInput
    • readonly chainId: number
    • readonly safe: Address
  • BurnStepDescriptioninterface BurnStepDescription
    • readonly kind: 'burn'
    • readonly targetChainId: number
    • readonly amount: bigint
    • readonly maxFee: bigint
  • ChainCodeCheckinterface ChainCodeCheck
    • readonly chainId: number
    • readonly version: string
    • readonly contracts: number
  • ChainConfiginterface ChainConfig
    • readonly rpc: RpcConfig
    • readonly orderBook?: EndpointConfig
  • ChainEntryinterface ChainEntry
    • readonly chainId: number
    • readonly name: string
    • readonly annexAddressSearch: 'reviewed' | 'not-reviewed'
    • readonly reviewedSet: ReviewedSet | null
    • readonly note: string | undefined
  • ChainFactinterface ChainFact
    • readonly chainId: number
    • readonly name: string
    • readonly forwardingDestination: boolean
    • readonly cctpDomain: number
    • readonly reviewedOracle: string
  • ChainLaginterface ChainLag
    • readonly chainId: number
    • readonly state: ChainLagState
    • readonly storedSeq: number
    • readonly documentsSeq: number
  • ChainLagStatetype ChainLagState = 'apply' | 'sync' | 'current' | 'undeployed' | 'module-not-enabled'
  • ChainRecordinterface ChainRecord
    • readonly chainId: number
    • readonly version: string
    • readonly status: RecordStatus
    • readonly contracts: { readonly [name in OurContract]: PinnedContract }
    • readonly configurationDomain: ConfigurationDomain
    • readonly thirdParty: { readonly [name in ThirdPartyContract]: PinnedContract }
    • readonly solverAllowListManager: Address
    • readonly oracle: OracleRecord | undefined
    • readonly appData: { readonly appCode: string; readonly schemaVersion: string; readonly hookGasLimit: bigint }
    • readonly refusalList: { readonly version: string; readonly sha256: string }
    • readonly defaults: { readonly target: { readonly maxFee: bigint; readonly minBurn: bigint; readonly irisReadOn: string } | undefined; readonly source: { readonly slippageMarginBps: number; readonly dustUsd: bigint } }
  • ChainRowinterface ChainRow
    • readonly chainId: bigint
    • readonly oracle: Address
    • readonly on: boolean
    • readonly slippageBps: number
    • readonly dustUsd: bigint
    • readonly minBurn: bigint
    • readonly maxFee: bigint
    • readonly excluded: readonly Address[]
  • ChainStatetype ChainState = 'code-hash-mismatch' | 'undeployed' | 'handler-replaced' | 'two-versions' | 'bare' | 'disabled' | 'lagging' | 'enabled' | 'not-synced' | 'off' | 'configured'
  • ChainStatusinterface ChainStatus
    • readonly chainId: number
    • readonly state: ChainState
    • readonly seq: number
    • readonly documentsSeq: number
    • readonly newestSeq: number
    • readonly lag: number
    • readonly modules: { readonly sweep: boolean; readonly bridge: boolean }
    • readonly releases: readonly string[]
    • readonly handler: Address | undefined
    • readonly mismatches: readonly CodeMismatch[]
    • readonly tokens: readonly TokenStatus[]
  • ClassTokeninterface ClassToken
    • readonly chainId: number
    • readonly address: Address
    • readonly symbol: string
    • readonly source: string
  • CodeMismatchinterface CodeMismatch
    • readonly name: string
    • readonly address: Address
    • readonly expected: Hex
    • readonly found: Hex | undefined
  • CombineInputinterface CombineInput
    • readonly build: ConfigurationBuild
    • readonly signatures: readonly Hex[]
    • readonly owners: readonly Address[]
    • readonly threshold: number
  • CombinedSignaturesinterface CombinedSignatures
    • readonly signatures: Hex
    • readonly owners: readonly Address[]
    • readonly verifiedOnChains: readonly number[]
    • readonly verifyingContract: Address
  • Configurationinterface Configuration
    • readonly safe: Address
    • readonly targetChainId: bigint
    • readonly targetToken: Address
    • readonly sendStablecoinToTargetChain: boolean
    • readonly integrator: IntegratorFee
    • readonly rows: readonly ChainRow[]
    • readonly seq: number
    • readonly validUntil: bigint
  • ConfigurationBuildinterface ConfigurationBuild
    • readonly configuration: Configuration
    • readonly typedData: ConfigurationTypedData
    • readonly digest: Hex
    • readonly verifyingContract: Address
    • readonly warnings: readonly ConfigurationWarning[]
    • readonly proposedOracleChains: readonly number[]
    • readonly keptOnOldTarget: KeptOnOldTarget | undefined
  • ConfigurationTypedDatainterface ConfigurationTypedData
    • readonly domain: ConfigurationDomain
    • readonly types: typeof CONFIGURATION_TYPES
    • readonly primaryType: 'Configuration'
    • readonly message: Configuration
  • ConfigurationWarninginterface ConfigurationWarning
    • readonly code: 'integrator-volume-may-be-cut' | 'token-not-reviewed' | 'oracle-replaced' | 'integrator-entry' | 'valid-until-too-far'
    • readonly message: string
    • readonly chainId?: number
  • DeployInputinterface DeployInput extends SafeInput
    • readonly targetChainId: number
    • readonly chains: readonly number[]
    • readonly apply?: { readonly [chainId: number]: Transaction }
    • readonly firstApply?: FirstApply
    • readonly batch?: 'multisend'
  • DeployStepinterface DeployStep
    • readonly chainId: number
    • readonly role: 'target' | 'source'
    • readonly safe: Address
    • readonly alreadyDeployed: boolean
    • readonly transactions: readonly Transaction[]
  • DescribeInputinterface DescribeInput
    • readonly build: unknown
    • readonly now?: number
  • Disclosureinterface Disclosure
    • readonly mode: DisclosureMode
    • readonly digest: Hex
    • readonly lines: readonly DisclosureLine[]
    • readonly text: string
  • DisclosureFactsinterface DisclosureFacts
    • readonly previous: PreviousTarget | undefined
    • readonly integrator?: IntegratorEntry | undefined
    • readonly now?: number | undefined
  • DisclosureLineinterface DisclosureLine
    • readonly id: string
    • readonly heading?: true
    • readonly chainId?: number
    • readonly text: string
  • DisclosureModetype DisclosureMode = 'first' | 'target-change' | 'update'
  • DisclosureTemplateinterface DisclosureTemplate
    • readonly id: string
    • readonly covers: readonly string[]
    • readonly text: string
  • DocumentKindtype DocumentKind = (typeof DOCUMENT_KINDS)[number]
  • DocumentSetinterface DocumentSet
    • readonly chainId: number
    • readonly safe: Address
    • readonly integrator: IntegratorFee
    • readonly sendStablecoinToTargetChain: boolean
    • readonly source: BuiltDocument
    • readonly target: BuiltDocument
    • readonly carrier: BuiltDocument
    • readonly appliedSeq: number | undefined
  • DocumentsInputinterface DocumentsInput
    • readonly chainId: number
    • readonly safe: Address
    • readonly integrator?: IntegratorFee | undefined
    • readonly sendStablecoinToTargetChain: boolean
    • readonly appliedFrom?: bigint | undefined
  • EndpointConfiginterface EndpointConfig
    • readonly url: string
  • FallbackBurninterface FallbackBurn
    • readonly chainId: number
    • readonly safe: Address
    • readonly targetChainId: number
    • readonly amount: bigint
    • readonly maxFee: bigint
    • readonly calls: readonly [Transaction, Transaction]
    • readonly safeTransaction: SafeTransaction
    • readonly typedData: SafeTransactionTypedData
    • readonly walletTypedData: { readonly [key: string]: unknown }
    • readonly hash: Hex
    • readonly owners: readonly Address[]
    • readonly threshold: number
  • FallbackBurnInputinterface FallbackBurnInput
    • readonly chainId: number
    • readonly safe: Address
  • FallbackExecutionInputinterface FallbackExecutionInput
    • readonly burn: FallbackBurn
    • readonly signatures: readonly Hex[]
  • FindUnmintedInputinterface FindUnmintedInput
    • readonly safe: Address
    • readonly fromBlock: { readonly [chainId: number]: bigint }
  • FirstApplyinterface FirstApply
    • readonly safe: Address
    • readonly seq: number
    • readonly transactions: { readonly [chainId: number]: Transaction }
  • FirstApplyInputinterface FirstApplyInput extends SafeInput
    • readonly signed: SignedConfiguration
    • readonly chains?: readonly number[]
  • FreshConfigurationtype FreshConfiguration = | { readonly available: true; readonly build: ConfigurationBuild; readonly carriedFrom: readonly { readonly chainId: number; readonly version: string; readonly storedSeq: number }[] } | { readonly available: false; readonly reason: FreshUnavailableReason; readonly message: string }
  • IntegratorFeeinterface IntegratorFee
    • readonly recipient: Address
    • readonly volumeBps: number
  • KeptOnOldTargetinterface KeptOnOldTarget
    • readonly chainId: number
    • readonly token: Address
    • readonly status: 'added' | 'already-excluded' | 'chain-has-no-row'
  • ListEntryinterface ListEntry
    • readonly address: string
    • readonly reference?: string
  • ListSourceinterface ListSource
    • readonly repository: string
    • readonly commit: string
  • ListedIdentifierinterface ListedIdentifier
    • readonly chainId: number
    • readonly address: Address
    • readonly origin: string
    • readonly source: string
  • MatchedEntryinterface MatchedEntry
    • readonly address: Address
    • readonly reference?: string
  • MigrationBuildinterface MigrationBuild
    • readonly safe: Address
    • readonly toVersion: string
    • readonly steps: readonly MigrationStep[]
    • readonly skipped: readonly MigrationSkip[]
    • readonly warnings: readonly MigrationWarning[]
    • readonly configuration: FreshConfiguration
  • MigrationInputinterface MigrationInput
    • readonly safe: Address
    • readonly toVersion?: string | readonly string[]
    • readonly chains?: readonly number[]
    • readonly validUntil: bigint
  • MigrationKindtype MigrationKind = 'migrate' | 're-enable'
  • MigrationNoteinterface MigrationNote
    • readonly code: 'allowances-not-revoked'
    • readonly message: string
  • MigrationSkipinterface MigrationSkip
    • readonly chainId: number
    • readonly reason: MigrationSkipReason
    • readonly version: string | undefined
  • MigrationSkipReasontype MigrationSkipReason = 'undeployed' | 'already-on-version' | 'no-record-of-version'
  • MigrationStepinterface MigrationStep extends SafeSigningStep
    • readonly kind: MigrationKind
    • readonly fromVersion: string | undefined
    • readonly toVersion: string
    • readonly removedOrders: readonly { readonly token: Address; readonly orderHash: Hex }[]
    • readonly disabled: readonly Address[]
    • readonly enabled: readonly Address[]
    • readonly fallbackHandler: Address | undefined
    • readonly notes: readonly MigrationNote[]
  • MigrationStepDescriptioninterface MigrationStepDescription
    • readonly kind: 'migration'
    • readonly removedOrderHashes: readonly Hex[]
    • readonly disabled: readonly Address[]
    • readonly enabled: readonly Address[]
    • readonly fallbackHandler: Address | undefined
  • MigrationWarninginterface MigrationWarning
    • readonly code: 'versions-differ'
    • readonly chains: readonly number[]
    • readonly message: string
  • MintBuildinterface MintBuild
    • readonly chainId: number
    • readonly transaction: Transaction
    • readonly sourceChainId: number
    • readonly amount: bigint
    • readonly nonce: Hex
    • readonly expirationBlock: bigint
    • readonly message: Hex
    • readonly attestation: Hex
    • readonly reattested: boolean
  • MintInputinterface MintInput
    • readonly safe: Address
    • readonly burn: MintedBurn
    • readonly reattest?: boolean
  • MintedBurninterface MintedBurn
    • readonly sourceChainId: number
    • readonly transactionHash: Hex
    • readonly nonce?: Hex | undefined
  • OracleRecordinterface OracleRecord extends PinnedContract
    • readonly release: string
    • readonly configHash: Hex
  • OurContracttype OurContract = (typeof OUR_CONTRACTS)[number]
  • OwnerChangeBuildinterface OwnerChangeBuild
    • readonly safe: Address
    • readonly owners: readonly Address[]
    • readonly threshold: number
    • readonly description?: OwnerChangeDescription
    • readonly warnings: readonly OwnerWarning[]
    • readonly steps: readonly OwnerChangeStep[]
    • readonly unchanged: readonly number[]
    • readonly undeployed: readonly number[]
  • OwnerChangeDescriptioninterface OwnerChangeDescription
    • readonly removed: readonly Address[]
    • readonly kept: readonly Address[]
    • readonly added: readonly Address[]
  • OwnerChangeInputinterface OwnerChangeInput
    • readonly safe: Address
    • readonly owners: readonly Address[]
    • readonly threshold: number
    • readonly currentOwners?: readonly Address[]
  • OwnerChangeStepinterface OwnerChangeStep extends SafeSigningStep
    • readonly operations: readonly OwnerOperation[]
  • OwnerChangeStepDescriptioninterface OwnerChangeStepDescription
    • readonly kind: 'owner-change'
    • readonly operations: readonly OwnerOperation[]
  • OwnerKindtype OwnerKind = 'eoa' | 'passkey' | 'nested-safe' | 'contract'
  • OwnerOperationtype OwnerOperation = | { readonly kind: 'swap'; readonly previous: Address; readonly old: Address; readonly new: Address } | { readonly kind: 'add'; readonly owner: Address; readonly threshold: number } | { readonly kind: 'remove'; readonly previous: Address; readonly owner: Address; readonly threshold: number } | { readonly kind: 'threshold'; readonly threshold: number }
  • OwnerWarninginterface OwnerWarning
    • readonly code: 'owners-differ' | 'threshold-differs' | 'undeployed-chain'
    • readonly chains: readonly number[]
    • readonly message: string
  • PinnedContractinterface PinnedContract
    • readonly address: Address
    • readonly runtimeCodeHash: Hex
  • PreviousTargetinterface PreviousTarget
    • readonly chainId: number
    • readonly token: Address
    • readonly balance?: TokenBalance | undefined
  • RecordStatustype RecordStatus = 'current' | 'superseded' | 'retired' | 'vulnerable'
  • RefusalListinterface RefusalList
    • readonly schemaVersion: 1
    • readonly version: string
    • readonly sources: Readonly<Record<string, ListSource>>
    • readonly annexes: readonly Annex[]
    • readonly classes: readonly TokenClass[]
    • readonly chains: readonly ChainEntry[]
  • ResolvedChaininterface ResolvedChain
    • readonly rpc: Transport
    • readonly orderBook: EndpointConfig | undefined
  • ResolvedConfiginterface ResolvedConfig
    • readonly chains: ReadonlyMap<number, ResolvedChain>
    • readonly iris: EndpointConfig | undefined
    • readonly fetch: typeof fetch
    • readonly integrator?: { readonly recipient: Address; readonly volumeBps: number } | undefined
  • ReviewedSetinterface ReviewedSet
    • readonly source: string
    • readonly gitBlob: string
    • readonly dossier: string
    • readonly screenedOn: string
    • readonly tokens: readonly { readonly address: Address; readonly symbol: string }[]
  • RowInputinterface RowInput
    • readonly chainId: number
    • readonly on?: boolean
    • readonly oracle?: Address
    • readonly slippageBps?: number
    • readonly dustUsd?: bigint
    • readonly minBurn?: bigint
    • readonly maxFee?: bigint
    • readonly excluded?: readonly Address[]
  • RpcConfigtype RpcConfig = { readonly url: string } | { readonly transport: Transport }
  • SafeCheckinterface SafeCheck
    • readonly chainId: number
    • readonly safe: Address
    • readonly deployed: boolean
    • readonly version: string | undefined
    • readonly owners: readonly Address[]
    • readonly threshold: number
    • readonly modules: readonly Address[]
    • readonly release: string | undefined
  • SafeExecutionInputinterface SafeExecutionInput
    • readonly step: SafeSigningStep
    • readonly signatures: readonly Hex[]
  • SafeInputinterface SafeInput
    • readonly owners: readonly Address[]
    • readonly threshold: number
    • readonly saltNonce?: bigint
  • SafeSigningStepinterface SafeSigningStep
    • readonly chainId: number
    • readonly safe: Address
    • readonly calls: readonly Transaction[]
    • readonly safeTransaction: SafeTransaction
    • readonly typedData: SafeTransactionTypedData
    • readonly walletTypedData: { readonly [key: string]: unknown }
    • readonly hash: Hex
    • readonly owners: readonly Address[]
    • readonly threshold: number
  • SafeStatusinterface SafeStatus
    • readonly safe: Address
    • readonly chains: readonly ChainStatus[]
    • readonly transfers: readonly TransferStatus[]
  • SafeTransactioninterface SafeTransaction
    • readonly to: Address
    • readonly value: bigint
    • readonly data: Hex
    • readonly operation: 0 | 1
    • readonly safeTxGas: bigint
    • readonly baseGas: bigint
    • readonly gasPrice: bigint
    • readonly gasToken: Address
    • readonly refundReceiver: Address
    • readonly nonce: bigint
  • SafeTransactionTypedDatainterface SafeTransactionTypedData
    • readonly domain: { readonly chainId: number; readonly verifyingContract: Address }
    • readonly types: typeof SAFE_TX_TYPES
    • readonly primaryType: 'SafeTx'
    • readonly message: SafeTransaction
  • Sdkinterface Sdk
    • readonly sdkVersion: string
    • readonly config: ResolvedConfig
    • readonly refusalList: RefusalList
    • supportedChains(): readonly number[]
    • recordFor(chainId: number): ChainRecord
    • defaultOracle(chainId: number): OracleRecord | undefined
    • screenToken(chainId: number, token: Address): TokenScreen
    • verifyChain(chainId: number): Promise<ChainCodeCheck>
    • checkSafe(input: { readonly chainId: number; readonly safe: Address }): Promise<SafeCheck>
    • computeSafeAddress(input: SafeInput & { readonly chainId: number }): Address
    • buildDeploy(input: DeployInput): Promise<readonly DeployStep[]>
    • buildBootstrapOrder(input: BootstrapInput): Promise<BootstrapOrder>
    • postBootstrapOrder(order: BootstrapOrder): Promise<Hex>
    • buildConfiguration(input: BuildConfigurationInput): Promise<ConfigurationBuild>
    • buildDocuments(input: DocumentsInput): Promise<DocumentSet>
    • uploadDocuments(documents: DocumentSet | readonly DocumentSet[]): Promise<UploadResult>
    • combineConfigurationSignatures(input: CombineInput): Promise<CombinedSignatures>
    • describeConfiguration(input: DescribeInput): Promise<Disclosure>
    • buildApply(input: ApplyInput): Promise<ApplyBuild>
    • buildFirstApply(input: FirstApplyInput): Promise<FirstApply>
    • buildArm(input: ArmInput): Promise<Transaction>
    • buildBurn(input: BurnInput): Promise<Transaction>
    • buildFallbackBurn(input: FallbackBurnInput): Promise<FallbackBurn>
    • buildFallbackBurnExecution(input: FallbackExecutionInput): Promise<Transaction>
    • buildOwnerChange(input: OwnerChangeInput): Promise<OwnerChangeBuild>
    • buildMigration(input: MigrationInput): Promise<MigrationBuild>
    • buildSafeTransactionExecution(input: SafeExecutionInput): Promise<Transaction>
    • describeStep(step: SafeSigningStep): StepDescription
    • verifyStep(step: SafeSigningStep): StepDescription
    • refusesSafeTransactionTo(to: Address): boolean
    • checkSafeTransactionTarget(to: Address): void
    • status(input: StatusInput): Promise<SafeStatus>
    • findUnmintedBurns(input: FindUnmintedInput): Promise<readonly UnmintedBurn[]>
    • buildMint(input: MintInput): Promise<MintBuild>
  • SdkConfiginterface SdkConfig
    • readonly chains: { readonly [chainId: number]: ChainConfig }
    • readonly iris?: EndpointConfig
    • readonly fetch?: typeof fetch
    • readonly integrator?: { readonly recipient: Address; readonly volumeBps: number }
  • SdkErrorclass SdkError extends Error
    • readonly code: SdkErrorCode
    • readonly retryable: boolean
    • constructor(code: SdkErrorCode, message: string)
  • SdkErrorCodetype SdkErrorCode = | 'unsupported-chain' | 'invalid-config' | 'invalid-record' | 'invalid-input' | 'source-before-target' | 'bootstrap-not-applicable' | 'nothing-to-sweep' | 'token-not-priced' | 'bootstrap-document-too-large' | 'order-book-refused' | 'order-book-unreachable' | 'invalid-order-book-answer' | 'target-chain-not-allowed' | 'integrator-half-set' | 'integrator-volume-too-high' | 'too-many-rows' | 'duplicate-chain-id' | 'too-many-excluded-tokens' | 'slippage-out-of-range' | 'min-burn-below-fee-floor' | 'oracle-not-reviewed' | 'max-fee-zero' | 'keep-usdc-not-possible' | 'target-token-not-priced' | 'oracle-missing' | 'last-seq-refused' | 'seq-jump-too-high' | 'seq-jump-refused' | 'signature-mismatch' | 'owners-mismatch' | 'safe-address-mismatch' | 'read-failed' | 'invalid-refusal-list' | 'refusal-list-mismatch' | 'annex-asset-refused' | 'financial-instrument-refused' | 'holding-growth-token-refused' | 'invalid-address' | 'invalid-address-list' | 'max-age-required' | 'code-hash-mismatch' | 'safe-version-below-floor' | 'safe-not-created-by-helper' | 'owner-contract-refused' | 'owner-passkey-refused' | 'owner-nested-safe-refused' | 'two-versions-modules' | 'stale-configuration' | 'module-not-enabled' | 'not-configured' | 'row-off' | 'token-excluded' | 'token-not-listed' | 'order-live' | 'below-dust' | 'burn-on-target-chain' | 'target-not-forwardable' | 'below-min-burn' | 'max-fee-not-below-amount' | 'bridge-off' | 'configuration-expired' | 'documents-invalid' | 'documents-differ' | 'documents-not-applied' | 'two-versions' | 'unknown-store' | 'version-unavailable' | 'safe-not-deployed' | 'owner-threshold-out-of-range' | 'owner-not-allowed' | 'handler-replaced' | 'safe-target-refused' | 'invalid-iris-answer' | 'attestation-pending' | 'iris-unreachable' | 'already-minted' | 'message-expired' | 'message-not-the-safes' | 'reattest-refused'
  • SignedConfigurationinterface SignedConfiguration
    • readonly configuration: Configuration
    • readonly signatures: Hex
    • readonly verifyingContract?: Address
  • StatusInputinterface StatusInput
    • readonly safe: Address
    • readonly chains?: readonly number[]
    • readonly tokens?: { readonly [chainId: number]: readonly Address[] }
    • readonly transfers?: TransfersInput
  • StepDescriptiontype StepDescription = OwnerChangeStepDescription | MigrationStepDescription | BurnStepDescription
  • SuppliedListinterface SuppliedList
    • readonly source: string
    • readonly fileDate: string
    • readonly entries: readonly ListEntry[]
  • ThirdPartyContracttype ThirdPartyContract = (typeof THIRD_PARTY)[number]
  • TokenBalanceinterface TokenBalance
    • readonly amount: bigint
    • readonly decimals: number
    • readonly symbol?: string | undefined
  • TokenClassinterface TokenClass
    • readonly id: TokenClassId
    • readonly reason: string
    • readonly note: string
    • readonly tokens: readonly ClassToken[]
  • TokenClassIdtype TokenClassId = 'financial-instrument' | 'holding-growth'
  • TokenScreeninterface TokenScreen
    • readonly chainId: number
    • readonly token: Address
    • readonly verdict: TokenVerdict
    • readonly notice: string | undefined
  • TokenStatetype TokenState = 'excluded' | 'unsupported' | 'armed' | 'dust' | 'dropped' | 'unarmed'
  • TokenStatusinterface TokenStatus
    • readonly token: Address
    • readonly state: TokenState
    • readonly balance: bigint
    • readonly orderLive: boolean
    • readonly usdValue: bigint | undefined
  • TokenVerdicttype TokenVerdict = 'reviewed' | 'not-reviewed'
  • Transactioninterface Transaction
    • readonly to: Address
    • readonly data: Hex
    • readonly value: bigint
  • TransferStatetype TransferState = 'held' | 'burnt' | 'attested' | 'minted' | 'expired'
  • TransferStatusinterface TransferStatus
    • readonly state: TransferState
    • readonly sourceChainId: number
    • readonly targetChainId: number
    • readonly amount: bigint
    • readonly burnRefusal: SdkErrorCode | undefined
    • readonly burnCauses: readonly BurnCause[]
    • readonly burnUnread: readonly BurnCheck[]
    • readonly burnLimit: bigint | undefined
    • readonly transactionHash: Hex | undefined
    • readonly blockNumber: bigint | undefined
    • readonly attestation: AttestationState | undefined
    • readonly nonce: Hex | undefined
    • readonly expirationBlock: bigint | undefined
  • TransfersInputinterface TransfersInput
    • readonly fromBlock: { readonly [chainId: number]: bigint }
  • UnmintedBurntype UnmintedBurn = TransferStatus & { readonly state: 'burnt' | 'attested' | 'expired'; readonly transactionHash: Hex; readonly blockNumber: bigint }
  • UploadResultinterface UploadResult
    • readonly uploaded: readonly UploadedDocument[]
  • UploadedDocumentinterface UploadedDocument
    • readonly chainId: number
    • readonly safe: Address
    • readonly kind: DocumentKind
    • readonly hash: Hex
    • readonly created: boolean

Constants

  • APPLY_HOOK_GAS_LIMITconst APPLY_HOOK_GAS_LIMIT
  • APP_DATA_MAX_BYTESconst APP_DATA_MAX_BYTES
  • BOOTSTRAP_CHAIN_IDconst BOOTSTRAP_CHAIN_ID
  • CCTP_DOMAINSconst CCTP_DOMAINS: { readonly [chainId: number]: number }
  • CHAINSconst CHAINS: readonly ChainFact[]
  • CONFIGURATION_TYPESconst CONFIGURATION_TYPES
  • DEPLOY_HOOK_GAS_LIMITconst DEPLOY_HOOK_GAS_LIMIT
  • DISCLOSURE_TEMPLATESconst DISCLOSURE_TEMPLATES: readonly DisclosureTemplate[]
  • OUR_CONTRACTSconst OUR_CONTRACTS
  • REFUSAL_LISTconst REFUSAL_LIST: RefusalList
  • SAFE_TX_TYPESconst SAFE_TX_TYPES
  • SAFE_VERSION_FLOORconst SAFE_VERSION_FLOOR
  • SDK_VERSIONconst SDK_VERSION
  • THIRD_PARTYconst THIRD_PARTY

Dart SDK

Functions

Types

  • Addresstypedef Address = String
  • AddressCheckclass AddressCheck
    • const AddressCheck({required this.verdict, required this.address, required this.source, required this.fileDate, required this.ageSeconds, this.entry})
    • final AddressVerdict verdict
    • final Address address
    • final String source
    • final String fileDate
    • final int ageSeconds
    • final MatchedEntry? entry
  • AddressCheckInputclass AddressCheckInput
    • const AddressCheckInput({required this.address, required this.list, required this.now, this.maxAgeSeconds})
    • final String address
    • final SuppliedList list
    • final int? maxAgeSeconds
    • final int now
  • AddressVerdictenum AddressVerdict
    • listed
    • notListed
    • stale
    • listEmpty
    • const AddressVerdict(this.value)
    • final String value
  • Annexclass Annex
    • const Annex({required this.id, required this.regulation, required this.article, required this.version, required this.entries})
    • final String id
    • final String regulation
    • final String article
    • final String version
    • final List<AnnexEntry> entries
  • AnnexEntryclass AnnexEntry
    • const AnnexEntry({required this.id, required this.name, required this.since, required this.aliases, required this.identifiers})
    • final String id
    • final String name
    • final String since
    • final List<String> aliases
    • final List<ListedIdentifier> identifiers
  • AppDataConstantsclass AppDataConstants
    • const AppDataConstants({required this.appCode, required this.schemaVersion, required this.hookGasLimit})
    • final String appCode
    • final String schemaVersion
    • final BigInt hookGasLimit
  • ApplyBuildclass ApplyBuild
    • const ApplyBuild({required this.safe, required this.seq, required this.lag, required this.steps})
    • final Address safe
    • final int seq
    • final List<ChainLag> lag
    • final List<ApplyStep> steps
  • ApplyInputclass ApplyInput
    • const ApplyInput({required this.signed, this.chains})
    • final SignedConfiguration signed
    • final List<int>? chains
  • ApplyKindenum ApplyKind
    • apply
    • sync
    • const ApplyKind(this.value)
    • final String value
  • ApplyStepclass ApplyStep
    • const ApplyStep({required this.chainId, required this.kind, required this.transaction})
    • final int chainId
    • final ApplyKind kind
    • final Transaction transaction
  • ArmInputclass ArmInput
    • const ArmInput({required this.chainId, required this.safe, required this.token})
    • final int chainId
    • final Address safe
    • final Address token
  • AttestationStateenum AttestationState
    • pending
    • unreachable
    • complete
    • const AttestationState(this.value)
    • final String value
  • BootstrapInputclass BootstrapInput extends SafeInput
    • const BootstrapInput({required super.owners, required super.threshold, super.saltNonce, required this.targetChainId, required this.token, required this.row, this.apply, this.firstApply, this.now, this.deployHookGas, this.applyHookGas})
    • final int targetChainId
    • final String token
    • final BootstrapRow row
    • final Transaction? apply
    • final FirstApply? firstApply
    • final int? now
    • final BigInt? deployHookGas
    • final BigInt? applyHookGas
  • BootstrapOrderclass BootstrapOrder
    • const BootstrapOrder({required this.safe, required this.order, required this.appDataDocument, required this.appDataBytes, required this.digest, required this.uid, required this.signature})
    • int get chainId
    • final Address safe
    • final BootstrapOrderFields order
    • final String appDataDocument
    • final int appDataBytes
    • final Hex digest
    • final Hex uid
    • String get signingScheme
    • final Hex signature
  • BootstrapOrderFieldsclass BootstrapOrderFields
    • const BootstrapOrderFields({required this.sellToken, required this.buyToken, required this.receiver, required this.sellAmount, required this.buyAmount, required this.validTo, required this.appData})
    • final Address sellToken
    • final Address buyToken
    • final Address receiver
    • final BigInt sellAmount
    • final BigInt buyAmount
    • final int validTo
    • final Hex appData
    • BigInt get feeAmount
    • String get kind
    • bool get partiallyFillable
    • String get sellTokenBalance
    • String get buyTokenBalance
  • BootstrapRowclass BootstrapRow
    • const BootstrapRow({required this.oracle, required this.slippageBps})
    • final String oracle
    • final int slippageBps
  • BuildConfigurationInputclass BuildConfigurationInput
    • const BuildConfigurationInput({required this.safe, required this.targetChainId, required this.sendStablecoinToTargetChain, required this.validUntil, required this.targetToken, this.integrator, this.rows, this.keepOldTargetToken, this.now})
    • final String safe
    • final int targetChainId
    • final bool sendStablecoinToTargetChain
    • final BigInt validUntil
    • final String targetToken
    • final IntegratorFee? integrator
    • final List<RowInput>? rows
    • final bool? keepOldTargetToken
    • final int? now
  • BuiltDocumentclass BuiltDocument
    • const BuiltDocument({required this.kind, required this.document, required this.hash, required this.bytes})
    • final DocumentKind kind
    • final String document
    • final Hex hash
    • final int bytes
  • BurnCauseenum BurnCause
    • aboveBurnLimit
    • minterPaused
    • transmitterPaused
    • safeDenylisted
    • const BurnCause(this.value)
    • final String value
  • BurnCheckenum BurnCheck
    • burnLimit
    • minterPaused
    • transmitterPaused
    • denylist
    • const BurnCheck(this.value)
    • final String value
  • BurnInputclass BurnInput
    • const BurnInput({required this.chainId, required this.safe})
    • final int chainId
    • final Address safe
  • BurnStepDescriptionfinal class BurnStepDescription extends StepDescription
    • const BurnStepDescription({required this.targetChainId, required this.amount, required this.maxFee})
    • final int targetChainId
    • final BigInt amount
    • final BigInt maxFee
  • CarriedFromclass CarriedFrom
    • const CarriedFrom({required this.chainId, required this.version, required this.storedSeq})
    • final int chainId
    • final String version
    • final int storedSeq
  • ChainCodeCheckclass ChainCodeCheck
    • const ChainCodeCheck({required this.chainId, required this.version, required this.contracts})
    • final int chainId
    • final String version
    • final int contracts
  • ChainConfigclass ChainConfig
    • const ChainConfig({required this.rpc, this.orderBook})
    • final RpcConfig rpc
    • final EndpointConfig? orderBook
  • ChainFactclass ChainFact
    • const ChainFact({required this.chainId, required this.name, required this.forwardingDestination, required this.cctpDomain, required this.reviewedOracle})
    • final int chainId
    • final String name
    • final bool forwardingDestination
    • final int cctpDomain
    • final String reviewedOracle
  • ChainLagclass ChainLag
    • const ChainLag({required this.chainId, required this.state, required this.storedSeq, required this.documentsSeq})
    • final int chainId
    • final ChainLagState state
    • final int storedSeq
    • final int documentsSeq
  • ChainLagStateenum ChainLagState
    • apply
    • sync
    • current
    • undeployed
    • moduleNotEnabled
    • const ChainLagState(this.value)
    • final String value
  • ChainRecordclass ChainRecord
    • const ChainRecord({required this.chainId, required this.version, required this.status, required this.contracts, required this.configurationDomain, required this.thirdPartyContracts, required this.solverAllowListManager, required this.oracle, required this.appData, required this.refusalList, required this.defaults})
    • final int chainId
    • final String version
    • final RecordStatus status
    • final Map<String, PinnedContract> contracts
    • final ConfigurationDomain configurationDomain
    • final Map<String, PinnedContract> thirdPartyContracts
    • final String solverAllowListManager
    • final OracleRecord? oracle
    • final AppDataConstants appData
    • final RefusalListRef refusalList
    • final RecordDefaults defaults
    • ChainRecord withoutOracle()
  • ChainRowclass ChainRow
    • const ChainRow({required this.chainId, required this.oracle, required this.on, required this.slippageBps, required this.dustUsd, required this.minBurn, required this.maxFee, required this.excluded})
    • final BigInt chainId
    • final Address oracle
    • final bool on
    • final int slippageBps
    • final BigInt dustUsd
    • final BigInt minBurn
    • final BigInt maxFee
    • final List<Address> excluded
    • ChainRow copyWith({List<Address>? excluded})
  • ChainStateenum ChainState
    • codeHashMismatch
    • undeployed
    • handlerReplaced
    • twoVersions
    • bare
    • disabled
    • lagging
    • enabled
    • notSynced
    • off
    • configured
    • const ChainState(this.value)
    • final String value
  • ChainStatusclass ChainStatus
    • const ChainStatus({required this.chainId, required this.state, required this.seq, required this.documentsSeq, required this.newestSeq, required this.lag, required this.modules, required this.releases, required this.handler, required this.mismatches, required this.tokens})
    • final int chainId
    • final ChainState state
    • final int seq
    • final int documentsSeq
    • final int newestSeq
    • final int lag
    • final ModulesEnabled modules
    • final List<String> releases
    • final Address? handler
    • final List<CodeMismatch> mismatches
    • final List<TokenStatus> tokens
  • ClassTokenclass ClassToken
    • const ClassToken({required this.chainId, required this.address, required this.symbol, required this.source})
    • final int chainId
    • final Address address
    • final String symbol
    • final String source
  • CodeMismatchclass CodeMismatch
    • const CodeMismatch({required this.name, required this.address, required this.expected, required this.found})
    • final String name
    • final Address address
    • final Hex expected
    • final Hex? found
  • CombineInputclass CombineInput
    • const CombineInput({required this.build, required this.signatures, required this.owners, required this.threshold})
    • final ConfigurationBuild build
    • final List<String> signatures
    • final List<String> owners
    • final int threshold
  • CombinedSignaturesclass CombinedSignatures
    • const CombinedSignatures({required this.signatures, required this.owners, required this.verifiedOnChains, required this.verifyingContract})
    • final Hex signatures
    • final List<Address> owners
    • final List<int> verifiedOnChains
    • final Address verifyingContract
  • Configurationclass Configuration
    • const Configuration({required this.safe, required this.targetChainId, required this.targetToken, required this.sendStablecoinToTargetChain, required this.integrator, required this.rows, required this.seq, required this.validUntil})
    • final Address safe
    • final BigInt targetChainId
    • final Address targetToken
    • final bool sendStablecoinToTargetChain
    • final IntegratorFee integrator
    • final List<ChainRow> rows
    • final int seq
    • final BigInt validUntil
  • ConfigurationBuildclass ConfigurationBuild
    • const ConfigurationBuild({required this.configuration, required this.typedData, required this.digest, required this.verifyingContract, required this.warnings, required this.proposedOracleChains, required this.keptOnOldTarget})
    • final Configuration configuration
    • final ConfigurationTypedData typedData
    • final Hex digest
    • final Address verifyingContract
    • final List<ConfigurationWarning> warnings
    • final List<int> proposedOracleChains
    • final KeptOnOldTarget? keptOnOldTarget
  • ConfigurationDomainclass ConfigurationDomain
    • const ConfigurationDomain({required this.name, required this.version, required this.verifyingContract})
    • final String name
    • final String version
    • final String verifyingContract
  • ConfigurationTypedDataclass ConfigurationTypedData
    • const ConfigurationTypedData({required this.domain, required this.types, required this.primaryType, required this.message})
    • final ConfigurationDomain domain
    • final Map<String, List<vd.TypedDataField>> types
    • final String primaryType
    • final Configuration message
  • ConfigurationWarningclass ConfigurationWarning
    • const ConfigurationWarning({required this.code, required this.message, this.chainId})
    • final String code
    • final String message
    • final int? chainId
  • DeployInputclass DeployInput extends SafeInput
    • const DeployInput({required super.owners, required super.threshold, super.saltNonce, required this.targetChainId, required this.chains, this.apply, this.firstApply, this.batch})
    • final int targetChainId
    • final List<int> chains
    • final Map<int, Transaction>? apply
    • final FirstApply? firstApply
    • final String? batch
  • DeployStepclass DeployStep
    • const DeployStep({required this.chainId, required this.role, required this.safe, required this.alreadyDeployed, required this.transactions})
    • final int chainId
    • final String role
    • final Address safe
    • final bool alreadyDeployed
    • final List<Transaction> transactions
  • DescribeInputclass DescribeInput
    • const DescribeInput({required this.build, this.now})
    • final ConfigurationBuild build
    • final int? now
  • Disclosureclass Disclosure
    • const Disclosure({required this.mode, required this.digest, required this.lines, required this.text})
    • final DisclosureMode mode
    • final Hex digest
    • final List<DisclosureLine> lines
    • final String text
  • DisclosureFactsclass DisclosureFacts
    • const DisclosureFacts({this.previous, this.integrator, this.now})
    • final PreviousTarget? previous
    • final IntegratorFee? integrator
    • final int? now
  • DisclosureLineclass DisclosureLine
    • const DisclosureLine({required this.id, required this.text, this.heading = false, this.chainId})
    • final String id
    • final bool heading
    • final num? chainId
    • final String text
  • DisclosureModeenum DisclosureMode
    • first
    • targetChange
    • update
    • const DisclosureMode(this.value)
    • final String value
  • DisclosureTemplateclass DisclosureTemplate
    • const DisclosureTemplate({required this.id, required this.covers, required this.text})
    • final String id
    • final List<String> covers
    • final String text
  • DocumentKindenum DocumentKind
    • source
    • target
    • carrier
  • DocumentSetclass DocumentSet
    • const DocumentSet({required this.chainId, required this.safe, required this.integrator, required this.sendStablecoinToTargetChain, required this.source, required this.target, required this.carrier, this.appliedSeq})
    • final int chainId
    • final Address safe
    • final IntegratorFee integrator
    • final bool sendStablecoinToTargetChain
    • final BuiltDocument source
    • final BuiltDocument target
    • final BuiltDocument carrier
    • final int? appliedSeq
    • BuiltDocument operator [](DocumentKind kind)
    • DocumentSet withAppliedSeq(int? seq)
  • DocumentsInputclass DocumentsInput
    • const DocumentsInput({required this.chainId, required this.safe, required this.sendStablecoinToTargetChain, this.integrator, this.appliedFrom})
    • final int chainId
    • final Address safe
    • final bool sendStablecoinToTargetChain
    • final IntegratorFee? integrator
    • final BigInt? appliedFrom
  • EndpointConfigclass EndpointConfig
    • const EndpointConfig({required this.url})
    • final String url
  • FallbackBurnclass FallbackBurn
    • const FallbackBurn({required this.chainId, required this.safe, required this.targetChainId, required this.amount, required this.maxFee, required this.calls, required this.safeTransaction, required this.typedData, required this.walletTypedData, required this.hash, required this.owners, required this.threshold})
    • final int chainId
    • final Address safe
    • final int targetChainId
    • final BigInt amount
    • final BigInt maxFee
    • final List<Transaction> calls
    • final SafeTransaction safeTransaction
    • final SafeTransactionTypedData typedData
    • final Map<String, Object?> walletTypedData
    • final Hex hash
    • final List<Address> owners
    • final int threshold
  • FallbackExecutionInputclass FallbackExecutionInput
    • const FallbackExecutionInput({required this.burn, required this.signatures})
    • final FallbackBurn burn
    • final List<Hex> signatures
  • FetchFunctiontypedef FetchFunction = Future<FetchResponse> Function(FetchRequest request)
  • FetchRequestclass FetchRequest
    • const FetchRequest({required this.method, required this.url, required this.headers, this.body})
    • final String method
    • final String url
    • final Map<String, String> headers
    • final String? body
  • FetchResponseclass FetchResponse
    • const FetchResponse({required this.status, required this.body, this.headers = const {}})
    • final int status
    • final Map<String, String> headers
    • final String body
    • bool get ok
  • FindUnmintedInputclass FindUnmintedInput
    • const FindUnmintedInput({required this.safe, required this.fromBlock})
    • final Address safe
    • final Map<int, BigInt> fromBlock
  • FirstApplyclass FirstApply
    • const FirstApply({required this.safe, required this.seq, required this.transactions})
    • final Address safe
    • final int seq
    • final Map<int, Transaction> transactions
  • FirstApplyInputclass FirstApplyInput extends SafeInput
    • const FirstApplyInput({required super.owners, required super.threshold, super.saltNonce, required this.signed, this.chains})
    • final SignedConfiguration signed
    • final List<int>? chains
  • FreshConfigurationclass FreshConfiguration
    • const FreshConfiguration.available({required ConfigurationBuild this.build, required List<CarriedFrom> this.carriedFrom})
    • const FreshConfiguration.unavailable({required String this.reason, required String this.message})
    • bool get available
    • final ConfigurationBuild? build
    • final List<CarriedFrom>? carriedFrom
    • final String? reason
    • final String? message
  • Hextypedef Hex = String
  • HttpTransportExceptionclass HttpTransportException implements Exception
    • const HttpTransportException(this.message)
    • final String message
  • IntegratorFeeclass IntegratorFee
    • const IntegratorFee({required this.recipient, required this.volumeBps})
    • final Address recipient
    • final int volumeBps
  • KeptOnOldTargetclass KeptOnOldTarget
    • const KeptOnOldTarget({required this.chainId, required this.token, required this.status})
    • final int chainId
    • final Address token
    • final String status
  • ListEntryclass ListEntry
    • const ListEntry({required this.address, this.reference})
    • final String address
    • final String? reference
  • ListSourceclass ListSource
    • const ListSource({required this.repository, required this.commit})
    • final String repository
    • final String commit
  • ListedIdentifierclass ListedIdentifier
    • const ListedIdentifier({required this.chainId, required this.address, required this.origin, required this.source})
    • final int chainId
    • final Address address
    • final String origin
    • final String source
  • MatchedEntryclass MatchedEntry
    • const MatchedEntry({required this.address, this.reference})
    • final Address address
    • final String? reference
  • MigrationBuildclass MigrationBuild
    • const MigrationBuild({required this.safe, required this.toVersion, required this.steps, required this.skipped, required this.warnings, required this.configuration})
    • final Address safe
    • final String toVersion
    • final List<MigrationStep> steps
    • final List<MigrationSkip> skipped
    • final List<MigrationWarning> warnings
    • final FreshConfiguration configuration
  • MigrationInputclass MigrationInput
    • const MigrationInput({required this.safe, required this.validUntil, this.toVersion, this.chains})
    • final Address safe
    • final List<String>? toVersion
    • final List<int>? chains
    • final BigInt validUntil
  • MigrationKindenum MigrationKind
    • migrate
    • reEnable
    • const MigrationKind(this.value)
    • final String value
  • MigrationNoteclass MigrationNote
    • const MigrationNote({required this.code, required this.message})
    • final String code
    • final String message
  • MigrationSkipclass MigrationSkip
    • const MigrationSkip({required this.chainId, required this.reason, required this.version})
    • final int chainId
    • final MigrationSkipReason reason
    • final String? version
  • MigrationSkipReasonenum MigrationSkipReason
    • undeployed
    • alreadyOnVersion
    • noRecordOfVersion
    • const MigrationSkipReason(this.value)
    • final String value
  • MigrationStepclass MigrationStep extends SafeSigningStep
    • MigrationStep(SafeSigningStep step, {required this.kind, required this.fromVersion, required this.toVersion, required this.removedOrders, required this.disabled, required this.enabled, required this.fallbackHandler, required this.notes})
    • final MigrationKind kind
    • final String? fromVersion
    • final String toVersion
    • final List<RemovedOrder> removedOrders
    • final List<Address> disabled
    • final List<Address> enabled
    • final Address? fallbackHandler
    • final List<MigrationNote> notes
  • MigrationStepDescriptionfinal class MigrationStepDescription extends StepDescription
    • const MigrationStepDescription({required this.removedOrderHashes, required this.disabled, required this.enabled, required this.fallbackHandler})
    • final List<Hex> removedOrderHashes
    • final List<Address> disabled
    • final List<Address> enabled
    • final Address? fallbackHandler
  • MigrationWarningclass MigrationWarning
    • const MigrationWarning({required this.code, required this.chains, required this.message})
    • final String code
    • final List<int> chains
    • final String message
  • MintBuildclass MintBuild
    • const MintBuild({required this.chainId, required this.transaction, required this.sourceChainId, required this.amount, required this.nonce, required this.expirationBlock, required this.message, required this.attestation, required this.reattested})
    • final int chainId
    • final Transaction transaction
    • final int sourceChainId
    • final BigInt amount
    • final Hex nonce
    • final BigInt expirationBlock
    • final Hex message
    • final Hex attestation
    • final bool reattested
  • MintInputclass MintInput
    • const MintInput({required this.safe, required this.burn, this.reattest})
    • final Address safe
    • final MintedBurn burn
    • final bool? reattest
  • MintedBurnclass MintedBurn
    • const MintedBurn({required this.sourceChainId, required this.transactionHash, this.nonce})
    • final int sourceChainId
    • final Hex transactionHash
    • final Hex? nonce
  • ModulesEnabledtypedef ModulesEnabled = ({bool sweep, bool bridge})
  • OracleRecordclass OracleRecord extends PinnedContract
    • const OracleRecord({required super.address, required super.runtimeCodeHash, required this.release, required this.configHash})
    • final String release
    • final String configHash
  • OwnerChangeBuildclass OwnerChangeBuild
    • const OwnerChangeBuild({required this.safe, required this.owners, required this.threshold, this.description, required this.warnings, required this.steps, required this.unchanged, required this.undeployed})
    • final Address safe
    • final List<Address> owners
    • final int threshold
    • final OwnerChangeDescription? description
    • final List<OwnerWarning> warnings
    • final List<OwnerChangeStep> steps
    • final List<int> unchanged
    • final List<int> undeployed
  • OwnerChangeDescriptionclass OwnerChangeDescription
    • const OwnerChangeDescription({required this.removed, required this.kept, required this.added})
    • final List<Address> removed
    • final List<Address> kept
    • final List<Address> added
  • OwnerChangeInputclass OwnerChangeInput
    • const OwnerChangeInput({required this.safe, required this.owners, required this.threshold, this.currentOwners})
    • final Address safe
    • final List<Address> owners
    • final int threshold
    • final List<Address>? currentOwners
  • OwnerChangeStepclass OwnerChangeStep extends SafeSigningStep
    • OwnerChangeStep(SafeSigningStep step, this.operations)
    • final List<OwnerOperation> operations
  • OwnerChangeStepDescriptionfinal class OwnerChangeStepDescription extends StepDescription
    • const OwnerChangeStepDescription(this.operations)
    • final List<OwnerOperation> operations
  • OwnerKindenum OwnerKind
    • eoa
    • passkey
    • nestedSafe
    • contract
  • OwnerOperationclass OwnerOperation
    • const OwnerOperation.swap({required Address previous, required Address old, required Address replacement})
    • const OwnerOperation.add({required Address owner, required int threshold})
    • const OwnerOperation.remove({required Address previous, required Address owner, required int threshold})
    • const OwnerOperation.changeThreshold({required int threshold})
    • final OwnerOperationKind kind
    • final Address? previous
    • final Address? oldOwner
    • final Address? owner
    • final int? threshold
    • Map<String, Object?> toJson()
  • OwnerOperationKindenum OwnerOperationKind
    • swap
    • add
    • remove
    • threshold
    • const OwnerOperationKind(this.value)
    • final String value
  • OwnerWarningclass OwnerWarning
    • const OwnerWarning({required this.code, required this.chains, required this.message})
    • final OwnerWarningCode code
    • final List<int> chains
    • final String message
  • OwnerWarningCodeenum OwnerWarningCode
    • ownersDiffer
    • thresholdDiffers
    • undeployedChain
    • const OwnerWarningCode(this.value)
    • final String value
  • PinnedContractclass PinnedContract
    • const PinnedContract({required this.address, required this.runtimeCodeHash})
    • final String address
    • final String runtimeCodeHash
  • PreviousTargetclass PreviousTarget
    • const PreviousTarget({required this.chainId, required this.token, this.balance})
    • final int chainId
    • final Address token
    • final TokenBalance? balance
  • RecordDefaultsclass RecordDefaults
    • const RecordDefaults({required this.target, required this.source})
    • final TargetDefaults? target
    • final SourceDefaults source
  • RecordStatusenum RecordStatus
    • current
    • superseded
    • retired
    • vulnerable
    • const RecordStatus(this.value)
    • final String value
    • static RecordStatus? fromValue(String value)
  • RefusalChainEntryclass RefusalChainEntry
    • const RefusalChainEntry({required this.chainId, required this.name, required this.annexAddressSearch, required this.reviewedSet, required this.note})
    • final int chainId
    • final String name
    • final String annexAddressSearch
    • final ReviewedSet? reviewedSet
    • final String? note
    • bool get hasReviewedSet
  • RefusalListclass RefusalList
    • const RefusalList({required this.version, required this.sources, required this.annexes, required this.classes, required this.chains})
    • final String version
    • final Map<String, ListSource> sources
    • final List<Annex> annexes
    • final List<TokenClass> classes
    • final List<RefusalChainEntry> chains
    • RefusalChainEntry? chainEntryOf(int chainId)
    • bool hasReviewedSet(int chainId)
  • RefusalListRefclass RefusalListRef
    • const RefusalListRef({required this.version, required this.sha256})
    • final String version
    • final String sha256
  • RemovedOrderclass RemovedOrder
    • const RemovedOrder({required this.token, required this.orderHash})
    • final Address token
    • final Hex orderHash
  • ResolvedChainclass ResolvedChain
    • const ResolvedChain({required this.rpc, required this.orderBook})
    • final RpcTransport rpc
    • final EndpointConfig? orderBook
  • ResolvedConfigclass ResolvedConfig
    • const ResolvedConfig({required this.chains, required this.iris, required this.fetch, this.integrator})
    • final Map<int, ResolvedChain> chains
    • final EndpointConfig? iris
    • final FetchFunction fetch
    • final IntegratorFee? integrator
  • ReviewedSetclass ReviewedSet
    • const ReviewedSet({required this.source, required this.gitBlob, required this.dossier, required this.screenedOn, required this.tokens})
    • final String source
    • final String gitBlob
    • final String dossier
    • final String screenedOn
    • final List<ReviewedToken> tokens
  • ReviewedTokenclass ReviewedToken
    • const ReviewedToken({required this.address, required this.symbol})
    • final Address address
    • final String symbol
  • RowInputclass RowInput
    • const RowInput({required this.chainId, this.on, this.oracle, this.slippageBps, this.dustUsd, this.minBurn, this.maxFee, this.excluded})
    • final int chainId
    • final bool? on
    • final String? oracle
    • final int? slippageBps
    • final BigInt? dustUsd
    • final BigInt? minBurn
    • final BigInt? maxFee
    • final List<String>? excluded
  • RpcConfigclass RpcConfig
    • const RpcConfig({this.url, this.transport})
    • final String? url
    • final RpcTransport? transport
  • RpcErrorclass RpcError implements Exception
    • const RpcError(this.code, this.message)
    • final int code
    • final String message
  • RpcTransporttypedef RpcTransport = Future<Object?> Function(String method, List<Object?> params)
  • SafeCheckclass SafeCheck
    • const SafeCheck({required this.chainId, required this.safe, required this.deployed, required this.version, required this.owners, required this.threshold, required this.modules, required this.release})
    • final int chainId
    • final Address safe
    • final bool deployed
    • final String? version
    • final List<Address> owners
    • final int threshold
    • final List<Address> modules
    • final String? release
  • SafeExecutionInputclass SafeExecutionInput
    • const SafeExecutionInput({required this.step, required this.signatures})
    • final SafeSigningStep step
    • final List<Hex> signatures
  • SafeInputclass SafeInput
    • const SafeInput({required this.owners, required this.threshold, this.saltNonce})
    • final List<String> owners
    • final int threshold
    • final BigInt? saltNonce
  • SafeSigningStepclass SafeSigningStep
    • const SafeSigningStep({required this.chainId, required this.safe, required this.calls, required this.safeTransaction, required this.typedData, required this.walletTypedData, required this.hash, required this.owners, required this.threshold})
    • SafeSigningStep.from(SafeSigningStep step)
    • final int chainId
    • final Address safe
    • final List<Transaction> calls
    • final SafeTransaction safeTransaction
    • final SafeTransactionTypedData typedData
    • final Map<String, Object?> walletTypedData
    • final Hex hash
    • final List<Address> owners
    • final int threshold
  • SafeStatusclass SafeStatus
    • const SafeStatus({required this.safe, required this.chains, required this.transfers})
    • final Address safe
    • final List<ChainStatus> chains
    • final List<TransferStatus> transfers
  • SafeTransactionclass SafeTransaction
    • const SafeTransaction({required this.to, required this.value, required this.data, required this.operation, required this.safeTxGas, required this.baseGas, required this.gasPrice, required this.gasToken, required this.refundReceiver, required this.nonce})
    • final Address to
    • final BigInt value
    • final Hex data
    • final int operation
    • final BigInt safeTxGas
    • final BigInt baseGas
    • final BigInt gasPrice
    • final Address gasToken
    • final Address refundReceiver
    • final BigInt nonce
    • Map<String, Object?> get forHash
    • Map<String, Object?> toJson()
  • SafeTransactionTypedDataclass SafeTransactionTypedData
    • const SafeTransactionTypedData({required this.chainId, required this.verifyingContract, required this.message})
    • final int chainId
    • final Address verifyingContract
    • final SafeTransaction message
    • Map<String, Object?> get domain
    • Map<String, Object?> toJson()
  • Sdkclass Sdk
    • final String sdkVersion
    • final ResolvedConfig config
    • final list.RefusalList refusalList
    • List<int> supportedChains()
    • ChainRecord recordFor(int chainId)
    • OracleRecord? defaultOracle(int chainId)
    • list.TokenScreen screenToken(int chainId, Address token)
    • Future<code.ChainCodeCheck> verifyChain(int chainId)
    • Address computeSafeAddress(address.SafeInput input, {required int chainId})
    • Future<List<deploy.DeployStep>> buildDeploy(deploy.DeployInput input)
    • Future<bootstrap.BootstrapOrder> buildBootstrapOrder(bootstrap.BootstrapInput input)
    • Future<Hex> postBootstrapOrder(bootstrap.BootstrapOrder order)
    • Future<ConfigurationBuild> buildConfiguration(BuildConfigurationInput input)
    • Future<chain.CombinedSignatures> combineConfigurationSignatures(chain.CombineInput input)
    • Future<documents.DocumentSet> buildDocuments(documents.DocumentsInput input)
    • Future<upload.UploadResult> uploadDocuments(List<documents.DocumentSet> sets)
    • Future<safe_check.SafeCheck> checkSafe({required int chainId, required Address safe})
    • Future<apply.ApplyBuild> buildApply(apply.ApplyInput input)
    • Future<first_apply.FirstApply> buildFirstApply(first_apply.FirstApplyInput input)
    • Future<Transaction> buildArm(arm_burn.ArmInput input)
    • Future<Transaction> buildBurn(arm_burn.BurnInput input)
    • Future<fallback.FallbackBurn> buildFallbackBurn(arm_burn.BurnInput input)
    • Future<Transaction> buildFallbackBurnExecution(fallback.FallbackExecutionInput input)
    • Future<owner_change.OwnerChangeBuild> buildOwnerChange(owner_change.OwnerChangeInput input)
    • Future<migration.MigrationBuild> buildMigration(migration.MigrationInput input)
    • Future<Transaction> buildSafeTransactionExecution(safe_transaction.SafeExecutionInput input)
    • steps.StepDescription describeStep(safe_transaction.SafeSigningStep step)
    • steps.StepDescription verifyStep(safe_transaction.SafeSigningStep step)
    • bool refusesSafeTransactionTo(Address to)
    • void checkSafeTransactionTarget(Address to)
    • Future<status_reads.SafeStatus> status(status_reads.StatusInput input)
    • Future<List<recover.UnmintedBurn>> findUnmintedBurns(recover.FindUnmintedInput input)
    • Future<recover.MintBuild> buildMint(recover.MintInput input)
    • Future<disclosure.Disclosure> describeConfiguration(disclosure_chain.DescribeInput input)
  • SdkConfigclass SdkConfig
    • const SdkConfig({required this.chains, this.iris, this.fetch, this.integrator})
    • final Map<int, ChainConfig> chains
    • final EndpointConfig? iris
    • final FetchFunction? fetch
    • final IntegratorFee? integrator
  • SdkErrorclass SdkError implements Exception
    • SdkError(this.code, String message)
    • final SdkErrorCode code
    • final String message
    • bool get retryable
  • SdkErrorCodeenum SdkErrorCode
    • unsupportedChain
    • invalidConfig
    • invalidRecord
    • invalidInput
    • sourceBeforeTarget
    • bootstrapNotApplicable
    • nothingToSweep
    • tokenNotPriced
    • bootstrapDocumentTooLarge
    • orderBookRefused
    • orderBookUnreachable
    • invalidOrderBookAnswer
    • targetChainNotAllowed
    • integratorHalfSet
    • integratorVolumeTooHigh
    • tooManyRows
    • duplicateChainId
    • tooManyExcludedTokens
    • slippageOutOfRange
    • minBurnBelowFeeFloor
    • maxFeeZero
    • oracleNotReviewed
    • keepUsdcNotPossible
    • targetTokenNotPriced
    • oracleMissing
    • lastSeqRefused
    • seqJumpRefused
    • seqJumpTooHigh
    • signatureMismatch
    • ownersMismatch
    • safeAddressMismatch
    • readFailed
    • invalidRefusalList
    • refusalListMismatch
    • annexAssetRefused
    • financialInstrumentRefused
    • holdingGrowthTokenRefused
    • invalidAddress
    • invalidAddressList
    • maxAgeRequired
    • codeHashMismatch
    • ownerContractRefused
    • ownerPasskeyRefused
    • ownerNestedSafeRefused
    • staleConfiguration
    • moduleNotEnabled
    • notConfigured
    • rowOff
    • tokenExcluded
    • tokenNotListed
    • orderLive
    • belowDust
    • burnOnTargetChain
    • targetNotForwardable
    • belowMinBurn
    • maxFeeNotBelowAmount
    • bridgeOff
    • configurationExpired
    • documentsInvalid
    • documentsDiffer
    • documentsNotApplied
    • unknownStore
    • handlerReplaced
    • safeTargetRefused
    • invalidIrisAnswer
    • safeVersionBelowFloor
    • safeNotCreatedByHelper
    • twoVersionsModules
    • twoVersions
    • versionUnavailable
    • safeNotDeployed
    • ownerThresholdOutOfRange
    • ownerNotAllowed
    • attestationPending
    • irisUnreachable
    • alreadyMinted
    • messageExpired
    • messageNotTheSafes
    • reattestRefused
    • const SdkErrorCode(this.value)
    • final String value
    • bool get retryable
    • static SdkErrorCode? fromValue(String value)
  • SignedConfigurationclass SignedConfiguration
    • const SignedConfiguration({required this.configuration, required this.signatures, this.verifyingContract})
    • final Configuration configuration
    • final Hex signatures
    • final Address? verifyingContract
  • SourceDefaultsclass SourceDefaults
    • const SourceDefaults({required this.slippageMarginBps, required this.dustUsd})
    • final int slippageMarginBps
    • final BigInt dustUsd
  • StatusInputclass StatusInput
    • const StatusInput({required this.safe, this.chains, this.tokens, this.transfers})
    • final Address safe
    • final List<int>? chains
    • final Map<int, List<Address>>? tokens
    • final TransfersInput? transfers
  • StepDescriptionsealed class StepDescription
    • const StepDescription()
  • SuppliedListclass SuppliedList
    • const SuppliedList({required this.source, required this.fileDate, required this.entries})
    • final String source
    • final String fileDate
    • final List<ListEntry> entries
  • TargetDefaultsclass TargetDefaults
    • const TargetDefaults({required this.maxFee, required this.minBurn, required this.irisReadOn})
    • final BigInt maxFee
    • final BigInt minBurn
    • final String irisReadOn
  • TokenBalanceclass TokenBalance
    • const TokenBalance({required this.amount, required this.decimals, this.symbol})
    • final BigInt amount
    • final int decimals
    • final String? symbol
  • TokenClassclass TokenClass
    • const TokenClass({required this.id, required this.reason, required this.note, required this.tokens})
    • final String id
    • final String reason
    • final String note
    • final List<ClassToken> tokens
  • TokenScreenclass TokenScreen
    • const TokenScreen({required this.chainId, required this.token, required this.verdict, required this.notice})
    • final int chainId
    • final Address token
    • final TokenVerdict verdict
    • final String? notice
  • TokenStateenum TokenState
    • excluded
    • unsupported
    • armed
    • dust
    • dropped
    • unarmed
    • const TokenState(this.value)
    • final String value
  • TokenStatusclass TokenStatus
    • const TokenStatus({required this.token, required this.state, required this.balance, required this.orderLive, this.usdValue})
    • final Address token
    • final TokenState state
    • final BigInt balance
    • final bool orderLive
    • final BigInt? usdValue
  • TokenVerdictenum TokenVerdict
    • reviewed
    • notReviewed
    • const TokenVerdict(this.value)
    • final String value
  • Transactionclass Transaction
    • const Transaction({required this.to, required this.data, required this.value})
    • final Address to
    • final Hex data
    • final BigInt value
  • TransferStateenum TransferState
    • held
    • burnt
    • attested
    • minted
    • expired
    • const TransferState(this.value)
    • final String value
  • TransferStatusclass TransferStatus
    • const TransferStatus({required this.state, required this.sourceChainId, required this.targetChainId, required this.amount, this.burnRefusal, this.burnCauses = const [], this.burnUnread = const [], this.burnLimit, this.transactionHash, this.blockNumber, this.attestation, this.nonce, this.expirationBlock})
    • final TransferState state
    • final int sourceChainId
    • final int targetChainId
    • final BigInt amount
    • final SdkErrorCode? burnRefusal
    • final List<BurnCause> burnCauses
    • final List<BurnCheck> burnUnread
    • final BigInt? burnLimit
    • final Hex? transactionHash
    • final BigInt? blockNumber
    • final AttestationState? attestation
    • final Hex? nonce
    • final BigInt? expirationBlock
  • TransfersInputclass TransfersInput
    • const TransfersInput({required this.fromBlock})
    • final Map<int, BigInt> fromBlock
  • UnmintedBurntypedef UnmintedBurn = TransferStatus
  • UploadResultclass UploadResult
    • const UploadResult({required this.uploaded})
    • final List<UploadedDocument> uploaded
  • UploadedDocumentclass UploadedDocument
    • const UploadedDocument({required this.chainId, required this.safe, required this.kind, required this.hash, required this.created})
    • final int chainId
    • final Address safe
    • final DocumentKind kind
    • final Hex hash
    • final bool created

Constants

  • appDataMaxBytesconst int appDataMaxBytes
  • applyHookGasLimitfinal BigInt applyHookGasLimit
  • bootstrapChainIdconst int bootstrapChainId
  • cctpDomainsfinal Map<int, int> cctpDomains
  • chainsfinal List<ChainFact> chains
  • configurationTypesconst Map<String, List<vd.TypedDataField>> configurationTypes
  • deployHookGasLimitfinal BigInt deployHookGasLimit
  • disclosureTemplatesfinal List<DisclosureTemplate> disclosureTemplates
  • ourContractsconst List<String> ourContracts
  • packageNameconst String packageName
  • refusalListfinal RefusalList refusalList
  • safeTxTypesconst Map<String, List<vd.TypedDataField>> safeTxTypes
  • safeVersionFloorconst String safeVersionFloor
  • sdkVersionconst String sdkVersion
  • thirdPartyconst List<String> thirdParty