@keccak256-evg/passport-sdk
Version:
T-REX Passport SDK for interacting with Passport and Registry contracts
84 lines • 2.38 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PASSPORT_REGISTRY_ABI = void 0;
// PassportRegistry 合约 ABI
exports.PASSPORT_REGISTRY_ABI = [
{
"inputs": [],
"name": "createPassport",
"outputs": [{ "type": "address" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "type": "address" }],
"name": "walletToPassportId",
"outputs": [{ "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "type": "uint256" }],
"name": "passportIdToContractAddress",
"outputs": [{ "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "type": "address" }],
"name": "abolishedWallets",
"outputs": [{ "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "type": "address" }],
"name": "predictPassportAddress",
"outputs": [{ "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "upgradeMyPassport",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getPassportImplementation",
"outputs": [{ "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getPassportIdCounter",
"outputs": [{ "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "type": "address" }],
"name": "isWalletAbolished",
"outputs": [{ "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "type": "uint256" }, { "type": "address" }],
"name": "isWalletUnboundFromPassport",
"outputs": [{ "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "type": "address" }, { "type": "address" }],
"name": "hasPassport",
"outputs": [{ "type": "bool" }],
"stateMutability": "view",
"type": "function"
}
];
//# sourceMappingURL=PassportRegistry.js.map