/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface, type ContractRunner } from "ethers"; import type { ArianeeStore, ArianeeStoreInterface } from "../ArianeeStore"; const _abi = [ { inputs: [ { internalType: "contract ERC20", name: "_acceptedToken", type: "address", }, { internalType: "contract ERC721", name: "_nonFungibleRegistry", type: "address", }, { internalType: "address", name: "_creditHistoryAddress", type: "address", }, { internalType: "address", name: "_arianeeEvent", type: "address", }, { internalType: "address", name: "_arianeeMessage", type: "address", }, { internalType: "address", name: "_arianeeUpdate", type: "address", }, { internalType: "uint256", name: "_ariaUSDExchange", type: "uint256", }, { internalType: "uint256", name: "_creditPricesUSD0", type: "uint256", }, { internalType: "uint256", name: "_creditPricesUSD1", type: "uint256", }, { internalType: "uint256", name: "_creditPricesUSD2", type: "uint256", }, { internalType: "uint256", name: "_creditPricesUSD3", type: "uint256", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "buyer", type: "address", }, { indexed: true, internalType: "address", name: "_receiver", type: "address", }, { indexed: true, internalType: "uint256", name: "_creditType", type: "uint256", }, { indexed: false, internalType: "uint256", name: "quantity", type: "uint256", }, ], name: "CreditBought", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_type", type: "uint256", }, { indexed: false, internalType: "uint256", name: "_quantity", type: "uint256", }, ], name: "CreditSpended", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_ariaUSDExchange", type: "uint256", }, ], name: "NewAriaUSDExchange", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_creditType", type: "uint256", }, { indexed: false, internalType: "uint256", name: "_price", type: "uint256", }, ], name: "NewCreditPrice", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "_percentInfra", type: "uint8", }, { indexed: false, internalType: "uint8", name: "_percentBrandsProvider", type: "uint8", }, { indexed: false, internalType: "uint8", name: "_percentOwnerProvider", type: "uint8", }, { indexed: false, internalType: "uint8", name: "_arianeeProject", type: "uint8", }, { indexed: false, internalType: "uint8", name: "_assetHolder", type: "uint8", }, ], name: "NewDispatchPercent", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { anonymous: false, inputs: [], name: "Pause", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "_addressType", type: "string", }, { indexed: false, internalType: "address", name: "_newAddress", type: "address", }, ], name: "SetAddress", type: "event", }, { anonymous: false, inputs: [], name: "Unpause", type: "event", }, { inputs: [ { internalType: "uint256", name: "_eventId", type: "uint256", }, { internalType: "address", name: "_providerOwner", type: "address", }, ], name: "acceptEvent", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "acceptedToken", outputs: [ { internalType: "contract ERC20Interface", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "ariaUSDExchange", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "arianeeEvent", outputs: [ { internalType: "contract iArianeeEvent", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "arianeeMessage", outputs: [ { internalType: "contract iArianeeMessage", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "arianeeProjectAddress", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "arianeeUpdate", outputs: [ { internalType: "contract iArianeeUpdate", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "authorizedExchangeAddress", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "authorizedMintAddress", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_creditType", type: "uint256", }, { internalType: "uint256", name: "_quantity", type: "uint256", }, { internalType: "address", name: "_to", type: "address", }, ], name: "buyCredit", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256", }, { internalType: "address", name: "_sender", type: "address", }, ], name: "canDestroy", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "address", name: "_to", type: "address", }, { internalType: "address", name: "_from", type: "address", }, { internalType: "uint256", name: "_tokenId", type: "uint256", }, ], name: "canTransfer", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "uint256", name: "_eventId", type: "uint256", }, { internalType: "uint256", name: "_tokenId", type: "uint256", }, { internalType: "bytes32", name: "_imprint", type: "bytes32", }, { internalType: "string", name: "_uri", type: "string", }, { internalType: "address", name: "_providerBrand", type: "address", }, ], name: "createEvent", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_messageId", type: "uint256", }, { internalType: "uint256", name: "_tokenId", type: "uint256", }, { internalType: "bytes32", name: "_imprint", type: "bytes32", }, { internalType: "address", name: "_providerBrand", type: "address", }, ], name: "createMessage", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "creditHistory", outputs: [ { internalType: "contract iArianeeCreditHistory", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_creditType", type: "uint256", }, ], name: "creditPriceUSD", outputs: [ { internalType: "uint256", name: "_creditPriceUSD", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_oldStoreAddress", type: "address", }, ], name: "getAriaFromOldStore", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_creditType", type: "uint256", }, ], name: "getCreditPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256", }, { internalType: "bytes32", name: "_imprint", type: "bytes32", }, { internalType: "string", name: "_uri", type: "string", }, { internalType: "address", name: "_encryptedInitialKey", type: "address", }, { internalType: "uint256", name: "_tokenRecoveryTimestamp", type: "uint256", }, { internalType: "bool", name: "_initialKeyIsRequestKey", type: "bool", }, { internalType: "address", name: "_providerBrand", type: "address", }, ], name: "hydrateToken", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "nonFungibleRegistry", outputs: [ { internalType: "contract ERC721Interface", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint8", name: "_receiver", type: "uint8", }, ], name: "percentOfDispatch", outputs: [ { internalType: "uint8", name: "_percent", type: "uint8", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "protocolInfraAddress", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_messageId", type: "uint256", }, { internalType: "address", name: "_walletProvider", type: "address", }, ], name: "readMessage", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256", }, { internalType: "address", name: "_walletProvider", type: "address", }, ], name: "readUpdateSmartAsset", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_eventId", type: "uint256", }, { internalType: "address", name: "_providerOwner", type: "address", }, ], name: "refuseEvent", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256", }, { internalType: "bytes32", name: "_hash", type: "bytes32", }, { internalType: "bool", name: "_keepRequestToken", type: "bool", }, { internalType: "address", name: "_providerOwner", type: "address", }, { internalType: "bytes", name: "_signature", type: "bytes", }, { internalType: "address", name: "_newOwner", type: "address", }, ], name: "requestToken", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256", }, { internalType: "bytes32", name: "_hash", type: "bytes32", }, { internalType: "bool", name: "_keepRequestToken", type: "bool", }, { internalType: "address", name: "_providerOwner", type: "address", }, { internalType: "bytes", name: "_signature", type: "bytes", }, ], name: "requestToken", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256", }, { internalType: "address", name: "_to", type: "address", }, ], name: "reserveToken", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_ariaUSDExchange", type: "uint256", }, ], name: "setAriaUSDExchange", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_arianeeProjectAddress", type: "address", }, ], name: "setArianeeProjectAddress", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_authorizedExchangeAddress", type: "address", }, ], name: "setAuthorizedExchangeAddress", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_newAuthorizedMintAddress", type: "address", }, ], name: "setAuthorizedMintAddress", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_creditType", type: "uint256", }, { internalType: "uint256", name: "_price", type: "uint256", }, ], name: "setCreditPrice", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint8", name: "_percentInfra", type: "uint8", }, { internalType: "uint8", name: "_percentBrandsProvider", type: "uint8", }, { internalType: "uint8", name: "_percentOwnerProvider", type: "uint8", }, { internalType: "uint8", name: "_arianeeProject", type: "uint8", }, { internalType: "uint8", name: "_assetHolder", type: "uint8", }, ], name: "setDispatchPercent", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_protocolInfraAddress", type: "address", }, ], name: "setProtocolInfraAddress", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256", }, { internalType: "bytes32", name: "_imprint", type: "bytes32", }, { internalType: "address", name: "_providerBrand", type: "address", }, ], name: "updateSmartAsset", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "withdrawArias", outputs: [], stateMutability: "nonpayable", type: "function", }, ] as const; export class ArianeeStore__factory { static readonly abi = _abi; static createInterface(): ArianeeStoreInterface { return new Interface(_abi) as ArianeeStoreInterface; } static connect( address: string, runner?: ContractRunner | null ): ArianeeStore { return new Contract(address, _abi, runner) as unknown as ArianeeStore; } }