openzeppelin_presets
Fully qualified path: openzeppelin_presets
Modules
Re-exports:
| AccountUpgradeable | … |
| ERC1155Upgradeable | … |
| ERC20Upgradeable | … |
| ERC721Upgradeable | … |
| EthAccountUpgradeable | … |
| MetaTransactionV0 | — |
| UniversalDeployer | … |
| VestingWallet | — |
Modules
Modules
account
Fully qualified path: openzeppelin_presets::account
Modules
Modules
Modules
AccountUpgradeable
Account Preset
OpenZeppelin’s upgradeable account which can change its public key and declare, deploy, or call contracts. Supports outside execution by implementing SRC9.
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable
Free functions
Structs
Free functions
Free functions
constructor
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::constructor
pub fn constructor(ref self: ContractState, public_key: felt252)
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
Storage
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::Storage
[storage]
pub struct Storage {
pub account: Storage,
pub src5: Storage,
pub src9: Storage,
pub upgradeable: Storage,
}
Members
account
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::Storage::account
pub account: Storage
src5
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::Storage::src5
pub src5: Storage
src9
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::Storage::src9
pub src9: Storage
upgradeable
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::Storage::upgradeable
pub upgradeable: Storage
ContractState
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::ContractState
pub struct ContractState {
pub account: ComponentState<ContractState>,
pub src5: ComponentState<ContractState>,
pub src9: ComponentState<ContractState>,
pub upgradeable: ComponentState<ContractState>,
}
Members
account
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::ContractState::account
pub account: ComponentState<ContractState>
src5
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::ContractState::src5
pub src5: ComponentState<ContractState>
src9
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::ContractState::src9
pub src9: ComponentState<ContractState>
upgradeable
Fully qualified path: openzeppelin_presets::account::AccountUpgradeable::ContractState::upgradeable
pub upgradeable: ComponentState<ContractState>
erc1155
Fully qualified path: openzeppelin_presets::erc1155
Modules
Modules
Modules
ERC1155Upgradeable
ERC1155Upgradeable Preset
The upgradeable ERC1155 contract offers a batch-mint mechanism that can only be executed once upon contract construction.
For more complex or custom contracts, use Wizard for Cairo https://wizard.openzeppelin.com/cairo
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
Storage
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::Storage
[storage]
pub struct Storage {
pub ownable: Storage,
pub erc1155: Storage,
pub src5: Storage,
pub upgradeable: Storage,
}
Members
ownable
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::Storage::ownable
pub ownable: Storage
erc1155
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::Storage::erc1155
pub erc1155: Storage
src5
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::Storage::src5
pub src5: Storage
upgradeable
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::Storage::upgradeable
pub upgradeable: Storage
ContractState
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::ContractState
pub struct ContractState {
pub ownable: ComponentState<ContractState>,
pub erc1155: ComponentState<ContractState>,
pub src5: ComponentState<ContractState>,
pub upgradeable: ComponentState<ContractState>,
}
Members
ownable
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::ContractState::ownable
pub ownable: ComponentState<ContractState>
erc1155
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::ContractState::erc1155
pub erc1155: ComponentState<ContractState>
src5
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::ContractState::src5
pub src5: ComponentState<ContractState>
upgradeable
Fully qualified path: openzeppelin_presets::erc1155::ERC1155Upgradeable::ContractState::upgradeable
pub upgradeable: ComponentState<ContractState>
erc20
Fully qualified path: openzeppelin_presets::erc20
Modules
Modules
Modules
ERC20Upgradeable
ERC20 Preset
The upgradeable ERC20 contract offers basic functionality and provides a fixed-supply mechanism for token distribution. The fixed supply is set in the constructor.
For more complex or custom contracts, use Wizard for Cairo https://wizard.openzeppelin.com/cairo
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
Storage
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::Storage
[storage]
pub struct Storage {
pub ownable: Storage,
pub erc20: Storage,
pub upgradeable: Storage,
}
Members
ownable
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::Storage::ownable
pub ownable: Storage
erc20
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::Storage::erc20
pub erc20: Storage
upgradeable
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::Storage::upgradeable
pub upgradeable: Storage
ContractState
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::ContractState
pub struct ContractState {
pub ownable: ComponentState<ContractState>,
pub erc20: ComponentState<ContractState>,
pub upgradeable: ComponentState<ContractState>,
}
Members
ownable
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::ContractState::ownable
pub ownable: ComponentState<ContractState>
erc20
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::ContractState::erc20
pub erc20: ComponentState<ContractState>
upgradeable
Fully qualified path: openzeppelin_presets::erc20::ERC20Upgradeable::ContractState::upgradeable
pub upgradeable: ComponentState<ContractState>
erc721
Fully qualified path: openzeppelin_presets::erc721
Modules
Modules
Modules
ERC721Upgradeable
ERC721 Preset
The upgradeable ERC721 contract offers a batch-mint mechanism that can only be executed once upon contract construction.
For more complex or custom contracts, use Wizard for Cairo https://wizard.openzeppelin.com/cairo
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
Storage
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::Storage
[storage]
pub struct Storage {
pub ownable: Storage,
pub erc721: Storage,
pub src5: Storage,
pub upgradeable: Storage,
}
Members
ownable
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::Storage::ownable
pub ownable: Storage
erc721
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::Storage::erc721
pub erc721: Storage
src5
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::Storage::src5
pub src5: Storage
upgradeable
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::Storage::upgradeable
pub upgradeable: Storage
ContractState
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::ContractState
pub struct ContractState {
pub ownable: ComponentState<ContractState>,
pub erc721: ComponentState<ContractState>,
pub src5: ComponentState<ContractState>,
pub upgradeable: ComponentState<ContractState>,
}
Members
ownable
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::ContractState::ownable
pub ownable: ComponentState<ContractState>
erc721
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::ContractState::erc721
pub erc721: ComponentState<ContractState>
src5
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::ContractState::src5
pub src5: ComponentState<ContractState>
upgradeable
Fully qualified path: openzeppelin_presets::erc721::ERC721Upgradeable::ContractState::upgradeable
pub upgradeable: ComponentState<ContractState>
eth_account
Fully qualified path: openzeppelin_presets::eth_account
Modules
Modules
Modules
EthAccountUpgradeable
EthAccount Preset
OpenZeppelin’s upgradeable account which can change its public key and declare, deploy, or call contracts, using Ethereum signing keys. Supports outside execution by implementing SRC9.
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
Storage
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::Storage
[storage]
pub struct Storage {
pub eth_account: Storage,
pub src5: Storage,
pub src9: Storage,
pub upgradeable: Storage,
}
Members
eth_account
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::Storage::eth_account
pub eth_account: Storage
src5
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::Storage::src5
pub src5: Storage
src9
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::Storage::src9
pub src9: Storage
upgradeable
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::Storage::upgradeable
pub upgradeable: Storage
ContractState
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::ContractState
pub struct ContractState {
pub eth_account: ComponentState<ContractState>,
pub src5: ComponentState<ContractState>,
pub src9: ComponentState<ContractState>,
pub upgradeable: ComponentState<ContractState>,
}
Members
eth_account
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::ContractState::eth_account
pub eth_account: ComponentState<ContractState>
src5
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::ContractState::src5
pub src5: ComponentState<ContractState>
src9
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::ContractState::src9
pub src9: ComponentState<ContractState>
upgradeable
Fully qualified path: openzeppelin_presets::eth_account::EthAccountUpgradeable::ContractState::upgradeable
pub upgradeable: ComponentState<ContractState>
interfaces
Fully qualified path: openzeppelin_presets::interfaces
Modules
Re-exports:
Groups:
dispatchers
Modules
Modules
account
Fully qualified path: openzeppelin_presets::interfaces::account
Modules
| __external_AccountUpgradeableABIForwardImpl | — |
| __l1_handler_AccountUpgradeableABIForwardImpl | — |
| __constructor_AccountUpgradeableABIForwardImpl | — |
Traits
Groups:
dispatchers
| AccountUpgradeableABIDispatcher | — |
| AccountUpgradeableABILibraryDispatcher | — |
| AccountUpgradeableABISafeLibraryDispatcher | — |
| AccountUpgradeableABISafeDispatcher | — |
Modules
Modules
| __external_AccountUpgradeableABIForwardImpl | — |
| __l1_handler_AccountUpgradeableABIForwardImpl | — |
| __constructor_AccountUpgradeableABIForwardImpl | — |
__external_AccountUpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::account::__external_AccountUpgradeableABIForwardImpl
__l1_handler_AccountUpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::account::__l1_handler_AccountUpgradeableABIForwardImpl
__constructor_AccountUpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::account::__constructor_AccountUpgradeableABIForwardImpl
Traits
Traits
AccountUpgradeableABI
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI
pub trait AccountUpgradeableABI<TState>
Trait functions
execute
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::execute
fn __execute__(self: @TState, calls: Array<Call>)
validate
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::validate
fn __validate__(self: @TState, calls: Array<Call>) -> felt252
is_valid_signature
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::is_valid_signature
fn is_valid_signature(self: @TState, hash: felt252, signature: Array<felt252>) -> felt252
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::supports_interface
fn supports_interface(self: @TState, interface_id: felt252) -> bool
execute_from_outside_v2
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::execute_from_outside_v2
fn execute_from_outside_v2(
ref self: TState, outside_execution: OutsideExecution, signature: Span<felt252>,
) -> Array<Span<felt252>>
is_valid_outside_execution_nonce
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::is_valid_outside_execution_nonce
fn is_valid_outside_execution_nonce(self: @TState, nonce: felt252) -> bool
validate_declare
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::validate_declare
fn __validate_declare__(self: @TState, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::validate_deploy
fn __validate_deploy__(
self: @TState, class_hash: felt252, contract_address_salt: felt252, public_key: felt252,
) -> felt252
get_public_key
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::get_public_key
fn get_public_key(self: @TState) -> felt252
set_public_key
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::set_public_key
fn set_public_key(ref self: TState, new_public_key: felt252, signature: Span<felt252>)
isValidSignature
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::isValidSignature
fn isValidSignature(self: @TState, hash: felt252, signature: Array<felt252>) -> felt252
getPublicKey
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::getPublicKey
fn getPublicKey(self: @TState) -> felt252
setPublicKey
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::setPublicKey
fn setPublicKey(ref self: TState, newPublicKey: felt252, signature: Span<felt252>)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABI::upgrade
fn upgrade(ref self: TState, new_class_hash: ClassHash)
UnsafeNewContractStateTraitForAccountUpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::account::UnsafeNewContractStateTraitForAccountUpgradeableABIForwardImpl
pub trait UnsafeNewContractStateTraitForAccountUpgradeableABIForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::interfaces::account::UnsafeNewContractStateTraitForAccountUpgradeableABIForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
erc1155
Fully qualified path: openzeppelin_presets::interfaces::erc1155
Modules
| __external_ERC1155UpgradeableABIForwardImpl | — |
| __l1_handler_ERC1155UpgradeableABIForwardImpl | — |
| __constructor_ERC1155UpgradeableABIForwardImpl | — |
Traits
Groups:
dispatchers
| ERC1155UpgradeableABIDispatcher | — |
| ERC1155UpgradeableABILibraryDispatcher | — |
| ERC1155UpgradeableABISafeLibraryDispatcher | — |
| ERC1155UpgradeableABISafeDispatcher | — |
Modules
Modules
| __external_ERC1155UpgradeableABIForwardImpl | — |
| __l1_handler_ERC1155UpgradeableABIForwardImpl | — |
| __constructor_ERC1155UpgradeableABIForwardImpl | — |
__external_ERC1155UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc1155::__external_ERC1155UpgradeableABIForwardImpl
__l1_handler_ERC1155UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc1155::__l1_handler_ERC1155UpgradeableABIForwardImpl
__constructor_ERC1155UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc1155::__constructor_ERC1155UpgradeableABIForwardImpl
Traits
Traits
ERC1155UpgradeableABI
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI
pub trait ERC1155UpgradeableABI<TState>
Trait functions
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::balance_of
fn balance_of(self: @TState, account: ContractAddress, token_id: u256) -> u256
balance_of_batch
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::balance_of_batch
fn balance_of_batch(
self: @TState, accounts: Span<ContractAddress>, token_ids: Span<u256>,
) -> Span<u256>
safe_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::safe_transfer_from
fn safe_transfer_from(
ref self: TState,
from: ContractAddress,
to: ContractAddress,
token_id: u256,
value: u256,
data: Span<felt252>,
)
safe_batch_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::safe_batch_transfer_from
fn safe_batch_transfer_from(
ref self: TState,
from: ContractAddress,
to: ContractAddress,
token_ids: Span<u256>,
values: Span<u256>,
data: Span<felt252>,
)
is_approved_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::is_approved_for_all
fn is_approved_for_all(self: @TState, owner: ContractAddress, operator: ContractAddress) -> bool
set_approval_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::set_approval_for_all
fn set_approval_for_all(ref self: TState, operator: ContractAddress, approved: bool)
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::supports_interface
fn supports_interface(self: @TState, interface_id: felt252) -> bool
uri
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::uri
fn uri(self: @TState, token_id: u256) -> ByteArray
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::balanceOf
fn balanceOf(self: @TState, account: ContractAddress, tokenId: u256) -> u256
balanceOfBatch
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::balanceOfBatch
fn balanceOfBatch(
self: @TState, accounts: Span<ContractAddress>, tokenIds: Span<u256>,
) -> Span<u256>
safeTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::safeTransferFrom
fn safeTransferFrom(
ref self: TState,
from: ContractAddress,
to: ContractAddress,
tokenId: u256,
value: u256,
data: Span<felt252>,
)
safeBatchTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::safeBatchTransferFrom
fn safeBatchTransferFrom(
ref self: TState,
from: ContractAddress,
to: ContractAddress,
tokenIds: Span<u256>,
values: Span<u256>,
data: Span<felt252>,
)
isApprovedForAll
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::isApprovedForAll
fn isApprovedForAll(self: @TState, owner: ContractAddress, operator: ContractAddress) -> bool
setApprovalForAll
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::setApprovalForAll
fn setApprovalForAll(ref self: TState, operator: ContractAddress, approved: bool)
owner
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::owner
fn owner(self: @TState) -> ContractAddress
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::transfer_ownership
fn transfer_ownership(ref self: TState, new_owner: ContractAddress)
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::renounce_ownership
fn renounce_ownership(ref self: TState)
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::transferOwnership
fn transferOwnership(ref self: TState, newOwner: ContractAddress)
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::renounceOwnership
fn renounceOwnership(ref self: TState)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABI::upgrade
fn upgrade(ref self: TState, new_class_hash: ClassHash)
UnsafeNewContractStateTraitForERC1155UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc1155::UnsafeNewContractStateTraitForERC1155UpgradeableABIForwardImpl
pub trait UnsafeNewContractStateTraitForERC1155UpgradeableABIForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::interfaces::erc1155::UnsafeNewContractStateTraitForERC1155UpgradeableABIForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
erc20
Fully qualified path: openzeppelin_presets::interfaces::erc20
Modules
| __external_ERC20UpgradeableABIForwardImpl | — |
| __l1_handler_ERC20UpgradeableABIForwardImpl | — |
| __constructor_ERC20UpgradeableABIForwardImpl | — |
Traits
Groups:
dispatchers
| ERC20UpgradeableABIDispatcher | — |
| ERC20UpgradeableABILibraryDispatcher | — |
| ERC20UpgradeableABISafeLibraryDispatcher | — |
| ERC20UpgradeableABISafeDispatcher | — |
Modules
Modules
| __external_ERC20UpgradeableABIForwardImpl | — |
| __l1_handler_ERC20UpgradeableABIForwardImpl | — |
| __constructor_ERC20UpgradeableABIForwardImpl | — |
__external_ERC20UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc20::__external_ERC20UpgradeableABIForwardImpl
__l1_handler_ERC20UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc20::__l1_handler_ERC20UpgradeableABIForwardImpl
__constructor_ERC20UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc20::__constructor_ERC20UpgradeableABIForwardImpl
Traits
Traits
ERC20UpgradeableABI
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI
pub trait ERC20UpgradeableABI<TState>
Trait functions
total_supply
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::total_supply
fn total_supply(self: @TState) -> u256
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::balance_of
fn balance_of(self: @TState, account: ContractAddress) -> u256
allowance
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::allowance
fn allowance(self: @TState, owner: ContractAddress, spender: ContractAddress) -> u256
transfer
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::transfer
fn transfer(ref self: TState, recipient: ContractAddress, amount: u256) -> bool
transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::transfer_from
fn transfer_from(
ref self: TState, sender: ContractAddress, recipient: ContractAddress, amount: u256,
) -> bool
approve
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::approve
fn approve(ref self: TState, spender: ContractAddress, amount: u256) -> bool
name
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::name
fn name(self: @TState) -> ByteArray
symbol
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::symbol
fn symbol(self: @TState) -> ByteArray
decimals
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::decimals
fn decimals(self: @TState) -> u8
totalSupply
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::totalSupply
fn totalSupply(self: @TState) -> u256
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::balanceOf
fn balanceOf(self: @TState, account: ContractAddress) -> u256
transferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::transferFrom
fn transferFrom(
ref self: TState, sender: ContractAddress, recipient: ContractAddress, amount: u256,
) -> bool
owner
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::owner
fn owner(self: @TState) -> ContractAddress
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::transfer_ownership
fn transfer_ownership(ref self: TState, new_owner: ContractAddress)
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::renounce_ownership
fn renounce_ownership(ref self: TState)
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::transferOwnership
fn transferOwnership(ref self: TState, newOwner: ContractAddress)
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::renounceOwnership
fn renounceOwnership(ref self: TState)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABI::upgrade
fn upgrade(ref self: TState, new_class_hash: ClassHash)
UnsafeNewContractStateTraitForERC20UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc20::UnsafeNewContractStateTraitForERC20UpgradeableABIForwardImpl
pub trait UnsafeNewContractStateTraitForERC20UpgradeableABIForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::interfaces::erc20::UnsafeNewContractStateTraitForERC20UpgradeableABIForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
erc721
Fully qualified path: openzeppelin_presets::interfaces::erc721
Modules
| __external_ERC721UpgradeableABIForwardImpl | — |
| __l1_handler_ERC721UpgradeableABIForwardImpl | — |
| __constructor_ERC721UpgradeableABIForwardImpl | — |
Traits
Groups:
dispatchers
| ERC721UpgradeableABIDispatcher | — |
| ERC721UpgradeableABILibraryDispatcher | — |
| ERC721UpgradeableABISafeLibraryDispatcher | — |
| ERC721UpgradeableABISafeDispatcher | — |
Modules
Modules
| __external_ERC721UpgradeableABIForwardImpl | — |
| __l1_handler_ERC721UpgradeableABIForwardImpl | — |
| __constructor_ERC721UpgradeableABIForwardImpl | — |
__external_ERC721UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc721::__external_ERC721UpgradeableABIForwardImpl
__l1_handler_ERC721UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc721::__l1_handler_ERC721UpgradeableABIForwardImpl
__constructor_ERC721UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc721::__constructor_ERC721UpgradeableABIForwardImpl
Traits
Traits
ERC721UpgradeableABI
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI
pub trait ERC721UpgradeableABI<TState>
Trait functions
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::balance_of
fn balance_of(self: @TState, account: ContractAddress) -> u256
owner_of
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::owner_of
fn owner_of(self: @TState, token_id: u256) -> ContractAddress
safe_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::safe_transfer_from
fn safe_transfer_from(
ref self: TState,
from: ContractAddress,
to: ContractAddress,
token_id: u256,
data: Span<felt252>,
)
transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::transfer_from
fn transfer_from(ref self: TState, from: ContractAddress, to: ContractAddress, token_id: u256)
approve
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::approve
fn approve(ref self: TState, to: ContractAddress, token_id: u256)
set_approval_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::set_approval_for_all
fn set_approval_for_all(ref self: TState, operator: ContractAddress, approved: bool)
get_approved
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::get_approved
fn get_approved(self: @TState, token_id: u256) -> ContractAddress
is_approved_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::is_approved_for_all
fn is_approved_for_all(self: @TState, owner: ContractAddress, operator: ContractAddress) -> bool
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::supports_interface
fn supports_interface(self: @TState, interface_id: felt252) -> bool
name
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::name
fn name(self: @TState) -> ByteArray
symbol
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::symbol
fn symbol(self: @TState) -> ByteArray
token_uri
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::token_uri
fn token_uri(self: @TState, token_id: u256) -> ByteArray
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::balanceOf
fn balanceOf(self: @TState, account: ContractAddress) -> u256
ownerOf
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::ownerOf
fn ownerOf(self: @TState, tokenId: u256) -> ContractAddress
safeTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::safeTransferFrom
fn safeTransferFrom(
ref self: TState,
from: ContractAddress,
to: ContractAddress,
tokenId: u256,
data: Span<felt252>,
)
transferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::transferFrom
fn transferFrom(ref self: TState, from: ContractAddress, to: ContractAddress, tokenId: u256)
setApprovalForAll
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::setApprovalForAll
fn setApprovalForAll(ref self: TState, operator: ContractAddress, approved: bool)
getApproved
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::getApproved
fn getApproved(self: @TState, tokenId: u256) -> ContractAddress
isApprovedForAll
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::isApprovedForAll
fn isApprovedForAll(self: @TState, owner: ContractAddress, operator: ContractAddress) -> bool
tokenURI
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::tokenURI
fn tokenURI(self: @TState, tokenId: u256) -> ByteArray
owner
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::owner
fn owner(self: @TState) -> ContractAddress
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::transfer_ownership
fn transfer_ownership(ref self: TState, new_owner: ContractAddress)
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::renounce_ownership
fn renounce_ownership(ref self: TState)
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::transferOwnership
fn transferOwnership(ref self: TState, newOwner: ContractAddress)
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::renounceOwnership
fn renounceOwnership(ref self: TState)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABI::upgrade
fn upgrade(ref self: TState, new_class_hash: ClassHash)
UnsafeNewContractStateTraitForERC721UpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::erc721::UnsafeNewContractStateTraitForERC721UpgradeableABIForwardImpl
pub trait UnsafeNewContractStateTraitForERC721UpgradeableABIForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::interfaces::erc721::UnsafeNewContractStateTraitForERC721UpgradeableABIForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
eth_account
Fully qualified path: openzeppelin_presets::interfaces::eth_account
Modules
| __external_EthAccountUpgradeableABIForwardImpl | — |
| __l1_handler_EthAccountUpgradeableABIForwardImpl | — |
| __constructor_EthAccountUpgradeableABIForwardImpl | — |
Traits
Groups:
dispatchers
| EthAccountUpgradeableABIDispatcher | — |
| EthAccountUpgradeableABILibraryDispatcher | — |
| EthAccountUpgradeableABISafeLibraryDispatcher | — |
| EthAccountUpgradeableABISafeDispatcher | — |
Modules
Modules
| __external_EthAccountUpgradeableABIForwardImpl | — |
| __l1_handler_EthAccountUpgradeableABIForwardImpl | — |
| __constructor_EthAccountUpgradeableABIForwardImpl | — |
__external_EthAccountUpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::eth_account::__external_EthAccountUpgradeableABIForwardImpl
__l1_handler_EthAccountUpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::eth_account::__l1_handler_EthAccountUpgradeableABIForwardImpl
__constructor_EthAccountUpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::eth_account::__constructor_EthAccountUpgradeableABIForwardImpl
Traits
Traits
EthAccountUpgradeableABI
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI
pub trait EthAccountUpgradeableABI<TState>
Trait functions
execute
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::execute
fn __execute__(self: @TState, calls: Array<Call>)
validate
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::validate
fn __validate__(self: @TState, calls: Array<Call>) -> felt252
is_valid_signature
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::is_valid_signature
fn is_valid_signature(self: @TState, hash: felt252, signature: Array<felt252>) -> felt252
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::supports_interface
fn supports_interface(self: @TState, interface_id: felt252) -> bool
execute_from_outside_v2
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::execute_from_outside_v2
fn execute_from_outside_v2(
ref self: TState, outside_execution: OutsideExecution, signature: Span<felt252>,
) -> Array<Span<felt252>>
is_valid_outside_execution_nonce
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::is_valid_outside_execution_nonce
fn is_valid_outside_execution_nonce(self: @TState, nonce: felt252) -> bool
validate_declare
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::validate_declare
fn __validate_declare__(self: @TState, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::validate_deploy
fn __validate_deploy__(
self: @TState, class_hash: felt252, contract_address_salt: felt252, public_key: Secp256k1Point,
) -> felt252
get_public_key
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::get_public_key
fn get_public_key(self: @TState) -> Secp256k1Point
set_public_key
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::set_public_key
fn set_public_key(ref self: TState, new_public_key: Secp256k1Point, signature: Span<felt252>)
isValidSignature
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::isValidSignature
fn isValidSignature(self: @TState, hash: felt252, signature: Array<felt252>) -> felt252
getPublicKey
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::getPublicKey
fn getPublicKey(self: @TState) -> Secp256k1Point
setPublicKey
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::setPublicKey
fn setPublicKey(ref self: TState, newPublicKey: Secp256k1Point, signature: Span<felt252>)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABI::upgrade
fn upgrade(ref self: TState, new_class_hash: ClassHash)
UnsafeNewContractStateTraitForEthAccountUpgradeableABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::eth_account::UnsafeNewContractStateTraitForEthAccountUpgradeableABIForwardImpl
pub trait UnsafeNewContractStateTraitForEthAccountUpgradeableABIForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::interfaces::eth_account::UnsafeNewContractStateTraitForEthAccountUpgradeableABIForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
meta_tx_v0
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0
Modules
| __external_MetaTransactionV0ABIForwardImpl | — |
| __l1_handler_MetaTransactionV0ABIForwardImpl | — |
| __constructor_MetaTransactionV0ABIForwardImpl | — |
Traits
Groups:
dispatchers
| MetaTransactionV0ABIDispatcher | — |
| MetaTransactionV0ABILibraryDispatcher | — |
| MetaTransactionV0ABISafeLibraryDispatcher | — |
| MetaTransactionV0ABISafeDispatcher | — |
Modules
Modules
| __external_MetaTransactionV0ABIForwardImpl | — |
| __l1_handler_MetaTransactionV0ABIForwardImpl | — |
| __constructor_MetaTransactionV0ABIForwardImpl | — |
__external_MetaTransactionV0ABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::__external_MetaTransactionV0ABIForwardImpl
__l1_handler_MetaTransactionV0ABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::__l1_handler_MetaTransactionV0ABIForwardImpl
__constructor_MetaTransactionV0ABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::__constructor_MetaTransactionV0ABIForwardImpl
Traits
Traits
MetaTransactionV0ABI
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABI
pub trait MetaTransactionV0ABI<TState>
Trait functions
execute_meta_tx_v0
Wrapper around the meta_tx_v0_syscall function.
Invokes the given entry point as a v0 meta transaction.
- The signature is replaced with the given signature.
- The caller is the OS (address 0).
- The transaction version is replaced by 0.
- The transaction hash is replaced by the corresponding version-0 transaction hash.
The context changes apply to the called contract and the inner contracts it calls, except for the caller, which is updated appropriately in subcalls.
NOTE: This syscall should only be used to allow support for old version-0 bound accounts, and should not be used for other purposes.
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABI::execute_meta_tx_v0
fn execute_meta_tx_v0(
ref self: TState,
target: ContractAddress,
entry_point_selector: felt252,
calldata: Span<felt252>,
signature: Span<felt252>,
) -> Result<Span<felt252>, Array<felt252>>
UnsafeNewContractStateTraitForMetaTransactionV0ABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::UnsafeNewContractStateTraitForMetaTransactionV0ABIForwardImpl
pub trait UnsafeNewContractStateTraitForMetaTransactionV0ABIForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::UnsafeNewContractStateTraitForMetaTransactionV0ABIForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
vesting
Fully qualified path: openzeppelin_presets::interfaces::vesting
Modules
| __external_VestingWalletABIForwardImpl | — |
| __l1_handler_VestingWalletABIForwardImpl | — |
| __constructor_VestingWalletABIForwardImpl | — |
Traits
Groups:
dispatchers
| VestingWalletABIDispatcher | — |
| VestingWalletABILibraryDispatcher | — |
| VestingWalletABISafeLibraryDispatcher | — |
| VestingWalletABISafeDispatcher | — |
Modules
Modules
| __external_VestingWalletABIForwardImpl | — |
| __l1_handler_VestingWalletABIForwardImpl | — |
| __constructor_VestingWalletABIForwardImpl | — |
__external_VestingWalletABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::vesting::__external_VestingWalletABIForwardImpl
__l1_handler_VestingWalletABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::vesting::__l1_handler_VestingWalletABIForwardImpl
__constructor_VestingWalletABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::vesting::__constructor_VestingWalletABIForwardImpl
Traits
Traits
VestingWalletABI
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI
pub trait VestingWalletABI<TState>
Trait functions
start
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::start
fn start(self: @TState) -> u64
cliff
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::cliff
fn cliff(self: @TState) -> u64
duration
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::duration
fn duration(self: @TState) -> u64
end
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::end
fn end(self: @TState) -> u64
released
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::released
fn released(self: @TState, token: ContractAddress) -> u256
releasable
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::releasable
fn releasable(self: @TState, token: ContractAddress) -> u256
vested_amount
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::vested_amount
fn vested_amount(self: @TState, token: ContractAddress, timestamp: u64) -> u256
release
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::release
fn release(ref self: TState, token: ContractAddress) -> u256
owner
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::owner
fn owner(self: @TState) -> ContractAddress
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::transfer_ownership
fn transfer_ownership(ref self: TState, new_owner: ContractAddress)
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::renounce_ownership
fn renounce_ownership(ref self: TState)
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::transferOwnership
fn transferOwnership(ref self: TState, newOwner: ContractAddress)
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABI::renounceOwnership
fn renounceOwnership(ref self: TState)
UnsafeNewContractStateTraitForVestingWalletABIForwardImpl
Fully qualified path: openzeppelin_presets::interfaces::vesting::UnsafeNewContractStateTraitForVestingWalletABIForwardImpl
pub trait UnsafeNewContractStateTraitForVestingWalletABIForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::interfaces::vesting::UnsafeNewContractStateTraitForVestingWalletABIForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
meta_tx_v0
Fully qualified path: openzeppelin_presets::meta_tx_v0
Modules
Modules
Modules
MetaTransactionV0
Fully qualified path: openzeppelin_presets::meta_tx_v0::MetaTransactionV0
Free functions
Structs
Enums
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::meta_tx_v0::MetaTransactionV0::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
ContractState
Fully qualified path: openzeppelin_presets::meta_tx_v0::MetaTransactionV0::ContractState
pub struct ContractState {}
Enums
Enums
Event
Fully qualified path: openzeppelin_presets::meta_tx_v0::MetaTransactionV0::Event
pub enum Event {}
universal_deployer
Fully qualified path: openzeppelin_presets::universal_deployer
Modules
Modules
Modules
UniversalDeployer
UniversalDeployerContract Preset
The Universal Deployer Contract is a standardized generic factory of Starknet contracts.
Fully qualified path: openzeppelin_presets::universal_deployer::UniversalDeployer
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::universal_deployer::UniversalDeployer::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
Storage
Fully qualified path: openzeppelin_presets::universal_deployer::UniversalDeployer::Storage
[storage]
pub struct Storage {}
ContractState
Fully qualified path: openzeppelin_presets::universal_deployer::UniversalDeployer::ContractState
pub struct ContractState {}
vesting
Fully qualified path: openzeppelin_presets::vesting
Modules
Modules
Modules
VestingWallet
Fully qualified path: openzeppelin_presets::vesting::VestingWallet
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: openzeppelin_presets::vesting::VestingWallet::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
Storage
Fully qualified path: openzeppelin_presets::vesting::VestingWallet::Storage
[storage]
pub struct Storage {
pub ownable: Storage,
pub vesting: Storage,
}
Members
ownable
Fully qualified path: openzeppelin_presets::vesting::VestingWallet::Storage::ownable
pub ownable: Storage
vesting
Fully qualified path: openzeppelin_presets::vesting::VestingWallet::Storage::vesting
pub vesting: Storage
ContractState
Fully qualified path: openzeppelin_presets::vesting::VestingWallet::ContractState
pub struct ContractState {
pub ownable: ComponentState<ContractState>,
pub vesting: ComponentState<ContractState>,
}
Members
ownable
Fully qualified path: openzeppelin_presets::vesting::VestingWallet::ContractState::ownable
pub ownable: ComponentState<ContractState>
vesting
Fully qualified path: openzeppelin_presets::vesting::VestingWallet::ContractState::vesting
pub vesting: ComponentState<ContractState>
dispatchers
Structs
Structs
AccountUpgradeableABIDispatcher
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct AccountUpgradeableABIDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcher::contract_address
pub contract_address: ContractAddress
ERC1155UpgradeableABIDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC1155UpgradeableABIDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcher::contract_address
pub contract_address: ContractAddress
ERC20UpgradeableABIDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC20UpgradeableABIDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcher::contract_address
pub contract_address: ContractAddress
ERC721UpgradeableABIDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC721UpgradeableABIDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcher::contract_address
pub contract_address: ContractAddress
EthAccountUpgradeableABIDispatcher
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct EthAccountUpgradeableABIDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcher::contract_address
pub contract_address: ContractAddress
MetaTransactionV0ABIDispatcher
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABIDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct MetaTransactionV0ABIDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABIDispatcher::contract_address
pub contract_address: ContractAddress
VestingWalletABIDispatcher
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct VestingWalletABIDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcher::contract_address
pub contract_address: ContractAddress
AccountUpgradeableABILibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABILibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct AccountUpgradeableABILibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABILibraryDispatcher::class_hash
pub class_hash: ClassHash
AccountUpgradeableABISafeLibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct AccountUpgradeableABISafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
AccountUpgradeableABISafeDispatcher
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct AccountUpgradeableABISafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcher::contract_address
pub contract_address: ContractAddress
ERC1155UpgradeableABILibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABILibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC1155UpgradeableABILibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABILibraryDispatcher::class_hash
pub class_hash: ClassHash
ERC1155UpgradeableABISafeLibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC1155UpgradeableABISafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
ERC1155UpgradeableABISafeDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC1155UpgradeableABISafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcher::contract_address
pub contract_address: ContractAddress
ERC20UpgradeableABILibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABILibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC20UpgradeableABILibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABILibraryDispatcher::class_hash
pub class_hash: ClassHash
ERC20UpgradeableABISafeLibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC20UpgradeableABISafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
ERC20UpgradeableABISafeDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC20UpgradeableABISafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcher::contract_address
pub contract_address: ContractAddress
ERC721UpgradeableABILibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABILibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC721UpgradeableABILibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABILibraryDispatcher::class_hash
pub class_hash: ClassHash
ERC721UpgradeableABISafeLibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC721UpgradeableABISafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
ERC721UpgradeableABISafeDispatcher
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ERC721UpgradeableABISafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcher::contract_address
pub contract_address: ContractAddress
EthAccountUpgradeableABILibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABILibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct EthAccountUpgradeableABILibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABILibraryDispatcher::class_hash
pub class_hash: ClassHash
EthAccountUpgradeableABISafeLibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct EthAccountUpgradeableABISafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
EthAccountUpgradeableABISafeDispatcher
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct EthAccountUpgradeableABISafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcher::contract_address
pub contract_address: ContractAddress
MetaTransactionV0ABILibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABILibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct MetaTransactionV0ABILibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABILibraryDispatcher::class_hash
pub class_hash: ClassHash
MetaTransactionV0ABISafeLibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABISafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct MetaTransactionV0ABISafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABISafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
MetaTransactionV0ABISafeDispatcher
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABISafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct MetaTransactionV0ABISafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABISafeDispatcher::contract_address
pub contract_address: ContractAddress
VestingWalletABILibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABILibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct VestingWalletABILibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABILibraryDispatcher::class_hash
pub class_hash: ClassHash
VestingWalletABISafeLibraryDispatcher
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct VestingWalletABISafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
VestingWalletABISafeDispatcher
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct VestingWalletABISafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcher::contract_address
pub contract_address: ContractAddress
Traits
Traits
AccountUpgradeableABIDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait
Part of the group: dispatchers
pub trait AccountUpgradeableABIDispatcherTrait<T>
Trait functions
execute
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>)
validate
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> felt252
is_valid_signature
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::is_valid_signature
fn is_valid_signature(self: T, hash: felt252, signature: Array<felt252>) -> felt252
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> bool
execute_from_outside_v2
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::execute_from_outside_v2
fn execute_from_outside_v2(
self: T, outside_execution: OutsideExecution, signature: Span<felt252>,
) -> Array<Span<felt252>>
is_valid_outside_execution_nonce
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::is_valid_outside_execution_nonce
fn is_valid_outside_execution_nonce(self: T, nonce: felt252) -> bool
validate_declare
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::validate_declare
fn __validate_declare__(self: T, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::validate_deploy
fn __validate_deploy__(
self: T, class_hash: felt252, contract_address_salt: felt252, public_key: felt252,
) -> felt252
get_public_key
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::get_public_key
fn get_public_key(self: T) -> felt252
set_public_key
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::set_public_key
fn set_public_key(self: T, new_public_key: felt252, signature: Span<felt252>)
isValidSignature
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::isValidSignature
fn isValidSignature(self: T, hash: felt252, signature: Array<felt252>) -> felt252
getPublicKey
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::getPublicKey
fn getPublicKey(self: T) -> felt252
setPublicKey
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::setPublicKey
fn setPublicKey(self: T, newPublicKey: felt252, signature: Span<felt252>)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABIDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash)
ERC1155UpgradeableABIDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait
Part of the group: dispatchers
pub trait ERC1155UpgradeableABIDispatcherTrait<T>
Trait functions
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress, token_id: u256) -> u256
balance_of_batch
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::balance_of_batch
fn balance_of_batch(self: T, accounts: Span<ContractAddress>, token_ids: Span<u256>) -> Span<u256>
safe_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::safe_transfer_from
fn safe_transfer_from(
self: T,
from: ContractAddress,
to: ContractAddress,
token_id: u256,
value: u256,
data: Span<felt252>,
)
safe_batch_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::safe_batch_transfer_from
fn safe_batch_transfer_from(
self: T,
from: ContractAddress,
to: ContractAddress,
token_ids: Span<u256>,
values: Span<u256>,
data: Span<felt252>,
)
is_approved_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::is_approved_for_all
fn is_approved_for_all(self: T, owner: ContractAddress, operator: ContractAddress) -> bool
set_approval_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::set_approval_for_all
fn set_approval_for_all(self: T, operator: ContractAddress, approved: bool)
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> bool
uri
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::uri
fn uri(self: T, token_id: u256) -> ByteArray
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::balanceOf
fn balanceOf(self: T, account: ContractAddress, tokenId: u256) -> u256
balanceOfBatch
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::balanceOfBatch
fn balanceOfBatch(self: T, accounts: Span<ContractAddress>, tokenIds: Span<u256>) -> Span<u256>
safeTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::safeTransferFrom
fn safeTransferFrom(
self: T,
from: ContractAddress,
to: ContractAddress,
tokenId: u256,
value: u256,
data: Span<felt252>,
)
safeBatchTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::safeBatchTransferFrom
fn safeBatchTransferFrom(
self: T,
from: ContractAddress,
to: ContractAddress,
tokenIds: Span<u256>,
values: Span<u256>,
data: Span<felt252>,
)
isApprovedForAll
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::isApprovedForAll
fn isApprovedForAll(self: T, owner: ContractAddress, operator: ContractAddress) -> bool
setApprovalForAll
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::setApprovalForAll
fn setApprovalForAll(self: T, operator: ContractAddress, approved: bool)
owner
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::owner
fn owner(self: T) -> ContractAddress
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::transfer_ownership
fn transfer_ownership(self: T, new_owner: ContractAddress)
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::renounce_ownership
fn renounce_ownership(self: T)
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::transferOwnership
fn transferOwnership(self: T, newOwner: ContractAddress)
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::renounceOwnership
fn renounceOwnership(self: T)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABIDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash)
ERC20UpgradeableABIDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait
Part of the group: dispatchers
pub trait ERC20UpgradeableABIDispatcherTrait<T>
Trait functions
total_supply
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::total_supply
fn total_supply(self: T) -> u256
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress) -> u256
allowance
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::allowance
fn allowance(self: T, owner: ContractAddress, spender: ContractAddress) -> u256
transfer
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::transfer
fn transfer(self: T, recipient: ContractAddress, amount: u256) -> bool
transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::transfer_from
fn transfer_from(self: T, sender: ContractAddress, recipient: ContractAddress, amount: u256) -> bool
approve
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::approve
fn approve(self: T, spender: ContractAddress, amount: u256) -> bool
name
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::name
fn name(self: T) -> ByteArray
symbol
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::symbol
fn symbol(self: T) -> ByteArray
decimals
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::decimals
fn decimals(self: T) -> u8
totalSupply
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::totalSupply
fn totalSupply(self: T) -> u256
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::balanceOf
fn balanceOf(self: T, account: ContractAddress) -> u256
transferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::transferFrom
fn transferFrom(self: T, sender: ContractAddress, recipient: ContractAddress, amount: u256) -> bool
owner
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::owner
fn owner(self: T) -> ContractAddress
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::transfer_ownership
fn transfer_ownership(self: T, new_owner: ContractAddress)
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::renounce_ownership
fn renounce_ownership(self: T)
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::transferOwnership
fn transferOwnership(self: T, newOwner: ContractAddress)
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::renounceOwnership
fn renounceOwnership(self: T)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABIDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash)
ERC721UpgradeableABIDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait
Part of the group: dispatchers
pub trait ERC721UpgradeableABIDispatcherTrait<T>
Trait functions
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress) -> u256
owner_of
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::owner_of
fn owner_of(self: T, token_id: u256) -> ContractAddress
safe_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::safe_transfer_from
fn safe_transfer_from(
self: T, from: ContractAddress, to: ContractAddress, token_id: u256, data: Span<felt252>,
)
transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::transfer_from
fn transfer_from(self: T, from: ContractAddress, to: ContractAddress, token_id: u256)
approve
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::approve
fn approve(self: T, to: ContractAddress, token_id: u256)
set_approval_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::set_approval_for_all
fn set_approval_for_all(self: T, operator: ContractAddress, approved: bool)
get_approved
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::get_approved
fn get_approved(self: T, token_id: u256) -> ContractAddress
is_approved_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::is_approved_for_all
fn is_approved_for_all(self: T, owner: ContractAddress, operator: ContractAddress) -> bool
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> bool
name
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::name
fn name(self: T) -> ByteArray
symbol
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::symbol
fn symbol(self: T) -> ByteArray
token_uri
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::token_uri
fn token_uri(self: T, token_id: u256) -> ByteArray
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::balanceOf
fn balanceOf(self: T, account: ContractAddress) -> u256
ownerOf
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::ownerOf
fn ownerOf(self: T, tokenId: u256) -> ContractAddress
safeTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::safeTransferFrom
fn safeTransferFrom(
self: T, from: ContractAddress, to: ContractAddress, tokenId: u256, data: Span<felt252>,
)
transferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::transferFrom
fn transferFrom(self: T, from: ContractAddress, to: ContractAddress, tokenId: u256)
setApprovalForAll
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::setApprovalForAll
fn setApprovalForAll(self: T, operator: ContractAddress, approved: bool)
getApproved
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::getApproved
fn getApproved(self: T, tokenId: u256) -> ContractAddress
isApprovedForAll
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::isApprovedForAll
fn isApprovedForAll(self: T, owner: ContractAddress, operator: ContractAddress) -> bool
tokenURI
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::tokenURI
fn tokenURI(self: T, tokenId: u256) -> ByteArray
owner
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::owner
fn owner(self: T) -> ContractAddress
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::transfer_ownership
fn transfer_ownership(self: T, new_owner: ContractAddress)
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::renounce_ownership
fn renounce_ownership(self: T)
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::transferOwnership
fn transferOwnership(self: T, newOwner: ContractAddress)
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::renounceOwnership
fn renounceOwnership(self: T)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABIDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash)
EthAccountUpgradeableABIDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait
Part of the group: dispatchers
pub trait EthAccountUpgradeableABIDispatcherTrait<T>
Trait functions
execute
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>)
validate
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> felt252
is_valid_signature
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::is_valid_signature
fn is_valid_signature(self: T, hash: felt252, signature: Array<felt252>) -> felt252
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> bool
execute_from_outside_v2
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::execute_from_outside_v2
fn execute_from_outside_v2(
self: T, outside_execution: OutsideExecution, signature: Span<felt252>,
) -> Array<Span<felt252>>
is_valid_outside_execution_nonce
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::is_valid_outside_execution_nonce
fn is_valid_outside_execution_nonce(self: T, nonce: felt252) -> bool
validate_declare
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::validate_declare
fn __validate_declare__(self: T, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::validate_deploy
fn __validate_deploy__(
self: T, class_hash: felt252, contract_address_salt: felt252, public_key: Secp256k1Point,
) -> felt252
get_public_key
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::get_public_key
fn get_public_key(self: T) -> Secp256k1Point
set_public_key
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::set_public_key
fn set_public_key(self: T, new_public_key: Secp256k1Point, signature: Span<felt252>)
isValidSignature
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::isValidSignature
fn isValidSignature(self: T, hash: felt252, signature: Array<felt252>) -> felt252
getPublicKey
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::getPublicKey
fn getPublicKey(self: T) -> Secp256k1Point
setPublicKey
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::setPublicKey
fn setPublicKey(self: T, newPublicKey: Secp256k1Point, signature: Span<felt252>)
upgrade
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABIDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash)
MetaTransactionV0ABIDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABIDispatcherTrait
Part of the group: dispatchers
pub trait MetaTransactionV0ABIDispatcherTrait<T>
Trait functions
execute_meta_tx_v0
Wrapper around the meta_tx_v0_syscall function.
Invokes the given entry point as a v0 meta transaction.
- The signature is replaced with the given signature.
- The caller is the OS (address 0).
- The transaction version is replaced by 0.
- The transaction hash is replaced by the corresponding version-0 transaction hash.
The context changes apply to the called contract and the inner contracts it calls, except for the caller, which is updated appropriately in subcalls.
NOTE: This syscall should only be used to allow support for old version-0 bound accounts, and should not be used for other purposes.
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABIDispatcherTrait::execute_meta_tx_v0
fn execute_meta_tx_v0(
self: T,
target: ContractAddress,
entry_point_selector: felt252,
calldata: Span<felt252>,
signature: Span<felt252>,
) -> Result<Span<felt252>, Array<felt252>>
VestingWalletABIDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait
Part of the group: dispatchers
pub trait VestingWalletABIDispatcherTrait<T>
Trait functions
start
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::start
fn start(self: T) -> u64
cliff
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::cliff
fn cliff(self: T) -> u64
duration
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::duration
fn duration(self: T) -> u64
end
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::end
fn end(self: T) -> u64
released
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::released
fn released(self: T, token: ContractAddress) -> u256
releasable
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::releasable
fn releasable(self: T, token: ContractAddress) -> u256
vested_amount
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::vested_amount
fn vested_amount(self: T, token: ContractAddress, timestamp: u64) -> u256
release
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::release
fn release(self: T, token: ContractAddress) -> u256
owner
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::owner
fn owner(self: T) -> ContractAddress
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::transfer_ownership
fn transfer_ownership(self: T, new_owner: ContractAddress)
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::renounce_ownership
fn renounce_ownership(self: T)
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::transferOwnership
fn transferOwnership(self: T, newOwner: ContractAddress)
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABIDispatcherTrait::renounceOwnership
fn renounceOwnership(self: T)
AccountUpgradeableABISafeDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait
Part of the group: dispatchers
pub trait AccountUpgradeableABISafeDispatcherTrait<T>
Trait functions
execute
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>) -> Result<(), Array<felt252>>
validate
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> Result<felt252, Array<felt252>>
is_valid_signature
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::is_valid_signature
fn is_valid_signature(
self: T, hash: felt252, signature: Array<felt252>,
) -> Result<felt252, Array<felt252>>
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> Result<bool, Array<felt252>>
execute_from_outside_v2
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::execute_from_outside_v2
fn execute_from_outside_v2(
self: T, outside_execution: OutsideExecution, signature: Span<felt252>,
) -> Result<Array<Span<felt252>>, Array<felt252>>
is_valid_outside_execution_nonce
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::is_valid_outside_execution_nonce
fn is_valid_outside_execution_nonce(self: T, nonce: felt252) -> Result<bool, Array<felt252>>
validate_declare
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::validate_declare
fn __validate_declare__(self: T, class_hash: felt252) -> Result<felt252, Array<felt252>>
validate_deploy
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::validate_deploy
fn __validate_deploy__(
self: T, class_hash: felt252, contract_address_salt: felt252, public_key: felt252,
) -> Result<felt252, Array<felt252>>
get_public_key
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::get_public_key
fn get_public_key(self: T) -> Result<felt252, Array<felt252>>
set_public_key
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::set_public_key
fn set_public_key(
self: T, new_public_key: felt252, signature: Span<felt252>,
) -> Result<(), Array<felt252>>
isValidSignature
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::isValidSignature
fn isValidSignature(
self: T, hash: felt252, signature: Array<felt252>,
) -> Result<felt252, Array<felt252>>
getPublicKey
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::getPublicKey
fn getPublicKey(self: T) -> Result<felt252, Array<felt252>>
setPublicKey
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::setPublicKey
fn setPublicKey(
self: T, newPublicKey: felt252, signature: Span<felt252>,
) -> Result<(), Array<felt252>>
upgrade
Fully qualified path: openzeppelin_presets::interfaces::account::AccountUpgradeableABISafeDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash) -> Result<(), Array<felt252>>
ERC1155UpgradeableABISafeDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait
Part of the group: dispatchers
pub trait ERC1155UpgradeableABISafeDispatcherTrait<T>
Trait functions
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress, token_id: u256) -> Result<u256, Array<felt252>>
balance_of_batch
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::balance_of_batch
fn balance_of_batch(
self: T, accounts: Span<ContractAddress>, token_ids: Span<u256>,
) -> Result<Span<u256>, Array<felt252>>
safe_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::safe_transfer_from
fn safe_transfer_from(
self: T,
from: ContractAddress,
to: ContractAddress,
token_id: u256,
value: u256,
data: Span<felt252>,
) -> Result<(), Array<felt252>>
safe_batch_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::safe_batch_transfer_from
fn safe_batch_transfer_from(
self: T,
from: ContractAddress,
to: ContractAddress,
token_ids: Span<u256>,
values: Span<u256>,
data: Span<felt252>,
) -> Result<(), Array<felt252>>
is_approved_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::is_approved_for_all
fn is_approved_for_all(
self: T, owner: ContractAddress, operator: ContractAddress,
) -> Result<bool, Array<felt252>>
set_approval_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::set_approval_for_all
fn set_approval_for_all(
self: T, operator: ContractAddress, approved: bool,
) -> Result<(), Array<felt252>>
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> Result<bool, Array<felt252>>
uri
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::uri
fn uri(self: T, token_id: u256) -> Result<ByteArray, Array<felt252>>
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::balanceOf
fn balanceOf(self: T, account: ContractAddress, tokenId: u256) -> Result<u256, Array<felt252>>
balanceOfBatch
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::balanceOfBatch
fn balanceOfBatch(
self: T, accounts: Span<ContractAddress>, tokenIds: Span<u256>,
) -> Result<Span<u256>, Array<felt252>>
safeTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::safeTransferFrom
fn safeTransferFrom(
self: T,
from: ContractAddress,
to: ContractAddress,
tokenId: u256,
value: u256,
data: Span<felt252>,
) -> Result<(), Array<felt252>>
safeBatchTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::safeBatchTransferFrom
fn safeBatchTransferFrom(
self: T,
from: ContractAddress,
to: ContractAddress,
tokenIds: Span<u256>,
values: Span<u256>,
data: Span<felt252>,
) -> Result<(), Array<felt252>>
isApprovedForAll
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::isApprovedForAll
fn isApprovedForAll(
self: T, owner: ContractAddress, operator: ContractAddress,
) -> Result<bool, Array<felt252>>
setApprovalForAll
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::setApprovalForAll
fn setApprovalForAll(
self: T, operator: ContractAddress, approved: bool,
) -> Result<(), Array<felt252>>
owner
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::owner
fn owner(self: T) -> Result<ContractAddress, Array<felt252>>
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::transfer_ownership
fn transfer_ownership(self: T, new_owner: ContractAddress) -> Result<(), Array<felt252>>
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::renounce_ownership
fn renounce_ownership(self: T) -> Result<(), Array<felt252>>
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::transferOwnership
fn transferOwnership(self: T, newOwner: ContractAddress) -> Result<(), Array<felt252>>
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::renounceOwnership
fn renounceOwnership(self: T) -> Result<(), Array<felt252>>
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc1155::ERC1155UpgradeableABISafeDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash) -> Result<(), Array<felt252>>
ERC20UpgradeableABISafeDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait
Part of the group: dispatchers
pub trait ERC20UpgradeableABISafeDispatcherTrait<T>
Trait functions
total_supply
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::total_supply
fn total_supply(self: T) -> Result<u256, Array<felt252>>
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress) -> Result<u256, Array<felt252>>
allowance
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::allowance
fn allowance(
self: T, owner: ContractAddress, spender: ContractAddress,
) -> Result<u256, Array<felt252>>
transfer
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::transfer
fn transfer(self: T, recipient: ContractAddress, amount: u256) -> Result<bool, Array<felt252>>
transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::transfer_from
fn transfer_from(
self: T, sender: ContractAddress, recipient: ContractAddress, amount: u256,
) -> Result<bool, Array<felt252>>
approve
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::approve
fn approve(self: T, spender: ContractAddress, amount: u256) -> Result<bool, Array<felt252>>
name
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::name
fn name(self: T) -> Result<ByteArray, Array<felt252>>
symbol
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::symbol
fn symbol(self: T) -> Result<ByteArray, Array<felt252>>
decimals
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::decimals
fn decimals(self: T) -> Result<u8, Array<felt252>>
totalSupply
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::totalSupply
fn totalSupply(self: T) -> Result<u256, Array<felt252>>
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::balanceOf
fn balanceOf(self: T, account: ContractAddress) -> Result<u256, Array<felt252>>
transferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::transferFrom
fn transferFrom(
self: T, sender: ContractAddress, recipient: ContractAddress, amount: u256,
) -> Result<bool, Array<felt252>>
owner
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::owner
fn owner(self: T) -> Result<ContractAddress, Array<felt252>>
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::transfer_ownership
fn transfer_ownership(self: T, new_owner: ContractAddress) -> Result<(), Array<felt252>>
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::renounce_ownership
fn renounce_ownership(self: T) -> Result<(), Array<felt252>>
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::transferOwnership
fn transferOwnership(self: T, newOwner: ContractAddress) -> Result<(), Array<felt252>>
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::renounceOwnership
fn renounceOwnership(self: T) -> Result<(), Array<felt252>>
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc20::ERC20UpgradeableABISafeDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash) -> Result<(), Array<felt252>>
ERC721UpgradeableABISafeDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait
Part of the group: dispatchers
pub trait ERC721UpgradeableABISafeDispatcherTrait<T>
Trait functions
balance_of
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress) -> Result<u256, Array<felt252>>
owner_of
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::owner_of
fn owner_of(self: T, token_id: u256) -> Result<ContractAddress, Array<felt252>>
safe_transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::safe_transfer_from
fn safe_transfer_from(
self: T, from: ContractAddress, to: ContractAddress, token_id: u256, data: Span<felt252>,
) -> Result<(), Array<felt252>>
transfer_from
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::transfer_from
fn transfer_from(
self: T, from: ContractAddress, to: ContractAddress, token_id: u256,
) -> Result<(), Array<felt252>>
approve
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::approve
fn approve(self: T, to: ContractAddress, token_id: u256) -> Result<(), Array<felt252>>
set_approval_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::set_approval_for_all
fn set_approval_for_all(
self: T, operator: ContractAddress, approved: bool,
) -> Result<(), Array<felt252>>
get_approved
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::get_approved
fn get_approved(self: T, token_id: u256) -> Result<ContractAddress, Array<felt252>>
is_approved_for_all
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::is_approved_for_all
fn is_approved_for_all(
self: T, owner: ContractAddress, operator: ContractAddress,
) -> Result<bool, Array<felt252>>
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> Result<bool, Array<felt252>>
name
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::name
fn name(self: T) -> Result<ByteArray, Array<felt252>>
symbol
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::symbol
fn symbol(self: T) -> Result<ByteArray, Array<felt252>>
token_uri
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::token_uri
fn token_uri(self: T, token_id: u256) -> Result<ByteArray, Array<felt252>>
balanceOf
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::balanceOf
fn balanceOf(self: T, account: ContractAddress) -> Result<u256, Array<felt252>>
ownerOf
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::ownerOf
fn ownerOf(self: T, tokenId: u256) -> Result<ContractAddress, Array<felt252>>
safeTransferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::safeTransferFrom
fn safeTransferFrom(
self: T, from: ContractAddress, to: ContractAddress, tokenId: u256, data: Span<felt252>,
) -> Result<(), Array<felt252>>
transferFrom
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::transferFrom
fn transferFrom(
self: T, from: ContractAddress, to: ContractAddress, tokenId: u256,
) -> Result<(), Array<felt252>>
setApprovalForAll
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::setApprovalForAll
fn setApprovalForAll(
self: T, operator: ContractAddress, approved: bool,
) -> Result<(), Array<felt252>>
getApproved
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::getApproved
fn getApproved(self: T, tokenId: u256) -> Result<ContractAddress, Array<felt252>>
isApprovedForAll
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::isApprovedForAll
fn isApprovedForAll(
self: T, owner: ContractAddress, operator: ContractAddress,
) -> Result<bool, Array<felt252>>
tokenURI
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::tokenURI
fn tokenURI(self: T, tokenId: u256) -> Result<ByteArray, Array<felt252>>
owner
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::owner
fn owner(self: T) -> Result<ContractAddress, Array<felt252>>
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::transfer_ownership
fn transfer_ownership(self: T, new_owner: ContractAddress) -> Result<(), Array<felt252>>
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::renounce_ownership
fn renounce_ownership(self: T) -> Result<(), Array<felt252>>
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::transferOwnership
fn transferOwnership(self: T, newOwner: ContractAddress) -> Result<(), Array<felt252>>
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::renounceOwnership
fn renounceOwnership(self: T) -> Result<(), Array<felt252>>
upgrade
Fully qualified path: openzeppelin_presets::interfaces::erc721::ERC721UpgradeableABISafeDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash) -> Result<(), Array<felt252>>
EthAccountUpgradeableABISafeDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait
Part of the group: dispatchers
pub trait EthAccountUpgradeableABISafeDispatcherTrait<T>
Trait functions
execute
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>) -> Result<(), Array<felt252>>
validate
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> Result<felt252, Array<felt252>>
is_valid_signature
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::is_valid_signature
fn is_valid_signature(
self: T, hash: felt252, signature: Array<felt252>,
) -> Result<felt252, Array<felt252>>
supports_interface
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> Result<bool, Array<felt252>>
execute_from_outside_v2
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::execute_from_outside_v2
fn execute_from_outside_v2(
self: T, outside_execution: OutsideExecution, signature: Span<felt252>,
) -> Result<Array<Span<felt252>>, Array<felt252>>
is_valid_outside_execution_nonce
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::is_valid_outside_execution_nonce
fn is_valid_outside_execution_nonce(self: T, nonce: felt252) -> Result<bool, Array<felt252>>
validate_declare
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::validate_declare
fn __validate_declare__(self: T, class_hash: felt252) -> Result<felt252, Array<felt252>>
validate_deploy
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::validate_deploy
fn __validate_deploy__(
self: T, class_hash: felt252, contract_address_salt: felt252, public_key: Secp256k1Point,
) -> Result<felt252, Array<felt252>>
get_public_key
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::get_public_key
fn get_public_key(self: T) -> Result<Secp256k1Point, Array<felt252>>
set_public_key
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::set_public_key
fn set_public_key(
self: T, new_public_key: Secp256k1Point, signature: Span<felt252>,
) -> Result<(), Array<felt252>>
isValidSignature
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::isValidSignature
fn isValidSignature(
self: T, hash: felt252, signature: Array<felt252>,
) -> Result<felt252, Array<felt252>>
getPublicKey
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::getPublicKey
fn getPublicKey(self: T) -> Result<Secp256k1Point, Array<felt252>>
setPublicKey
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::setPublicKey
fn setPublicKey(
self: T, newPublicKey: Secp256k1Point, signature: Span<felt252>,
) -> Result<(), Array<felt252>>
upgrade
Fully qualified path: openzeppelin_presets::interfaces::eth_account::EthAccountUpgradeableABISafeDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash) -> Result<(), Array<felt252>>
MetaTransactionV0ABISafeDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABISafeDispatcherTrait
Part of the group: dispatchers
pub trait MetaTransactionV0ABISafeDispatcherTrait<T>
Trait functions
execute_meta_tx_v0
Wrapper around the meta_tx_v0_syscall function.
Invokes the given entry point as a v0 meta transaction.
- The signature is replaced with the given signature.
- The caller is the OS (address 0).
- The transaction version is replaced by 0.
- The transaction hash is replaced by the corresponding version-0 transaction hash.
The context changes apply to the called contract and the inner contracts it calls, except for the caller, which is updated appropriately in subcalls.
NOTE: This syscall should only be used to allow support for old version-0 bound accounts, and should not be used for other purposes.
Fully qualified path: openzeppelin_presets::interfaces::meta_tx_v0::MetaTransactionV0ABISafeDispatcherTrait::execute_meta_tx_v0
fn execute_meta_tx_v0(
self: T,
target: ContractAddress,
entry_point_selector: felt252,
calldata: Span<felt252>,
signature: Span<felt252>,
) -> Result<Result<Span<felt252>, Array<felt252>>, Array<felt252>>
VestingWalletABISafeDispatcherTrait
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait
Part of the group: dispatchers
pub trait VestingWalletABISafeDispatcherTrait<T>
Trait functions
start
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::start
fn start(self: T) -> Result<u64, Array<felt252>>
cliff
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::cliff
fn cliff(self: T) -> Result<u64, Array<felt252>>
duration
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::duration
fn duration(self: T) -> Result<u64, Array<felt252>>
end
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::end
fn end(self: T) -> Result<u64, Array<felt252>>
released
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::released
fn released(self: T, token: ContractAddress) -> Result<u256, Array<felt252>>
releasable
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::releasable
fn releasable(self: T, token: ContractAddress) -> Result<u256, Array<felt252>>
vested_amount
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::vested_amount
fn vested_amount(self: T, token: ContractAddress, timestamp: u64) -> Result<u256, Array<felt252>>
release
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::release
fn release(self: T, token: ContractAddress) -> Result<u256, Array<felt252>>
owner
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::owner
fn owner(self: T) -> Result<ContractAddress, Array<felt252>>
transfer_ownership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::transfer_ownership
fn transfer_ownership(self: T, new_owner: ContractAddress) -> Result<(), Array<felt252>>
renounce_ownership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::renounce_ownership
fn renounce_ownership(self: T) -> Result<(), Array<felt252>>
transferOwnership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::transferOwnership
fn transferOwnership(self: T, newOwner: ContractAddress) -> Result<(), Array<felt252>>
renounceOwnership
Fully qualified path: openzeppelin_presets::interfaces::vesting::VestingWalletABISafeDispatcherTrait::renounceOwnership
fn renounceOwnership(self: T) -> Result<(), Array<felt252>>