export const Coin_ABI = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address", }, { indexed: true, internalType: "address", name: "spender", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "Approval", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address", }, { indexed: true, internalType: "address", name: "to", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "Transfer", type: "event", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, { internalType: "address", name: "spender", type: "address", }, ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "spender", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "balance", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, ]; export const CROSS_ADDRESS_ABI = [ { inputs: [ { internalType: "address payable", name: "_to", type: "address" }, { internalType: "bytes", name: "_ext", type: "bytes" }, ], name: "transfer", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "bytes", name: "_ext", type: "bytes" }, ], name: "transferERC20", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export const STARKNET_ERC20_ABI = [ { members: [ { name: "low", offset: 0, type: "felt", }, { name: "high", offset: 1, type: "felt", }, ], name: "Uint256", size: 2, type: "struct", }, { inputs: [ { name: "name", type: "felt", }, { name: "symbol", type: "felt", }, { name: "recipient", type: "felt", }, ], name: "constructor", outputs: [], type: "constructor", }, { inputs: [], name: "name", outputs: [ { name: "name", type: "felt", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "symbol", outputs: [ { name: "symbol", type: "felt", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "totalSupply", outputs: [ { name: "totalSupply", type: "Uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "decimals", outputs: [ { name: "decimals", type: "felt", }, ], stateMutability: "view", type: "function", }, { inputs: [ { name: "account", type: "felt", }, ], name: "balanceOf", outputs: [ { name: "balance", type: "Uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { name: "owner", type: "felt", }, { name: "spender", type: "felt", }, ], name: "allowance", outputs: [ { name: "remaining", type: "Uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { name: "recipient", type: "felt", }, { name: "amount", type: "Uint256", }, ], name: "transfer", outputs: [ { name: "success", type: "felt", }, ], type: "function", }, { inputs: [ { name: "sender", type: "felt", }, { name: "recipient", type: "felt", }, { name: "amount", type: "Uint256", }, ], name: "transferFrom", outputs: [ { name: "success", type: "felt", }, ], type: "function", }, { inputs: [ { name: "spender", type: "felt", }, { name: "amount", type: "Uint256", }, ], name: "approve", outputs: [ { name: "success", type: "felt", }, ], type: "function", }, { inputs: [ { name: "spender", type: "felt", }, { name: "added_value", type: "Uint256", }, ], name: "increaseAllowance", outputs: [ { name: "success", type: "felt", }, ], type: "function", }, { inputs: [ { name: "spender", type: "felt", }, { name: "subtracted_value", type: "Uint256", }, ], name: "decreaseAllowance", outputs: [ { name: "success", type: "felt", }, ], type: "function", }, { inputs: [ { name: "recipient", type: "felt", }, { name: "amount", type: "Uint256", }, ], name: "mint", outputs: [], type: "function", }, { inputs: [ { name: "user", type: "felt", }, { name: "amount", type: "Uint256", }, ], name: "burn", outputs: [], type: "function", }, ]; export const STARKNET_OB_SOURCE_ABI = [ { members: [ { name: "low", offset: 0, type: "felt", }, { name: "high", offset: 1, type: "felt", }, ], name: "Uint256", size: 2, type: "struct", }, { inputs: [ { name: "_token", type: "felt", }, { name: "_to", type: "felt", }, { name: "_amount", type: "Uint256", }, { name: "_ext", type: "felt", }, ], name: "transferERC20", outputs: [], type: "function", }, ]; export const ORBITER_ROUTER_V3_ABI = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "Transfer", type: "event", }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "bytes", name: "data", type: "bytes", }, ], name: "transfer", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes", }, ], name: "transferToken", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "contract IERC20", name: "token", type: "address", }, { internalType: "address[]", name: "tos", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]", }, ], name: "transferTokens", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "address[]", name: "tos", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]", }, ], name: "transfers", outputs: [], stateMutability: "payable", type: "function", }, ];