UNPKG

@keccak256-evg/passport-sdk

Version:

T-REX Passport SDK for interacting with Passport and Registry contracts

131 lines 3.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PASSPORT_ABI = void 0; // Passport 合约 ABI exports.PASSPORT_ABI = [ { "inputs": [], "name": "passportId", "outputs": [{ "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getBoundWallets", "outputs": [{ "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWalletCount", "outputs": [{ "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "type": "address" }], "name": "isWalletBound", "outputs": [{ "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "unbindWallet", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getPendingBindWallets", "outputs": [{ "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "type": "address" }], "name": "requestBindWallet", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "type": "address" }], "name": "getPendingBindRequest", "outputs": [ { "type": "bool" }, { "type": "address" }, { "type": "uint256" }, { "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [{ "type": "address" }], "name": "cancelBindRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "acceptBindRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "rejectBindRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "requireUpgrade", "outputs": [{ "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "implementation", "outputs": [{ "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "registry", "outputs": [{ "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "type": "uint256" }], "name": "boundWallets", "outputs": [{ "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "type": "address" }], "name": "hasPendingBindRequest", "outputs": [{ "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "type": "address" }], "name": "cancelExpiredBindRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]; //# sourceMappingURL=Passport.js.map