@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
135 lines (133 loc) • 4.31 kB
text/typescript
declare const contract: {
readonly id: 366;
readonly address: "0x35dc49cafab1e2e46723ad5e0a82e71cff73558e";
readonly contract_name: "ConsumerTest";
readonly display_name: "Consumer Test";
readonly is_deprecated: false;
readonly is_proxy: false;
readonly proxy_to: false;
readonly created_at: 1689920739;
readonly abi: readonly [{
readonly type: "constructor";
readonly stateMutability: "payable";
readonly inputs: readonly [{
readonly type: "address";
readonly name: "_vrfCoordinator";
}];
}, {
readonly name: "OnlyCoordinatorCanFulfill";
readonly type: "error";
readonly inputs: readonly [];
}, {
readonly name: "bulkTestRequestRandomness";
readonly type: "function";
readonly stateMutability: "payable";
readonly inputs: readonly [{
readonly type: "uint256";
readonly name: "_callbackGaslimit";
}, {
readonly type: "uint256";
readonly name: "_gasPrice";
}, {
readonly type: "address";
readonly name: "_refundAddr";
}, {
readonly type: "uint256[]";
readonly name: "_tokenIds";
}];
readonly outputs: readonly [];
}, {
readonly name: "getManyOracleAddressOf";
readonly type: "function";
readonly stateMutability: "view";
readonly inputs: readonly [{
readonly type: "uint256[]";
readonly name: "_tokenIds";
}];
readonly outputs: readonly [{
readonly type: "address[]";
readonly name: "_oracleAddresses";
}];
}, {
readonly name: "getManyRandomResults";
readonly type: "function";
readonly stateMutability: "view";
readonly inputs: readonly [{
readonly type: "uint256[]";
readonly name: "_tokenIds";
}];
readonly outputs: readonly [{
readonly type: "uint256[]";
readonly name: "_randomResults";
}];
}, {
readonly name: "oracleAddr";
readonly type: "function";
readonly stateMutability: "view";
readonly inputs: readonly [{
readonly type: "uint256";
}];
readonly outputs: readonly [{
readonly type: "address";
}];
}, {
readonly name: "randomHashOfToken";
readonly type: "function";
readonly stateMutability: "view";
readonly inputs: readonly [{
readonly type: "bytes32";
}];
readonly outputs: readonly [{
readonly type: "uint256";
}];
}, {
readonly name: "randomResult";
readonly type: "function";
readonly stateMutability: "view";
readonly inputs: readonly [{
readonly type: "uint256";
}];
readonly outputs: readonly [{
readonly type: "uint256";
}];
}, {
readonly name: "rawFulfillRandomSeed";
readonly type: "function";
readonly stateMutability: "nonpayable";
readonly inputs: readonly [{
readonly type: "bytes32";
readonly name: "_reqHash";
}, {
readonly type: "uint256";
readonly name: "_randomSeed";
}];
readonly outputs: readonly [];
}, {
readonly name: "testRequestRandomnessWithNotConsumerAddress";
readonly type: "function";
readonly stateMutability: "payable";
readonly inputs: readonly [{
readonly type: "uint256";
readonly name: "_callbackGasLimit";
}, {
readonly type: "uint256";
readonly name: "_gasPrice";
}, {
readonly type: "address";
readonly name: "_refundAddr";
}, {
readonly type: "uint256";
readonly name: "_tokenId";
}];
readonly outputs: readonly [];
}, {
readonly name: "vrfCoordinator";
readonly type: "function";
readonly stateMutability: "view";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly type: "address";
}];
}];
};
export { contract as default };