@kanalabs/mirai
Version:
Mirai - Account Abstraction SDK (EVM + non-EVM)
17 lines (16 loc) • 1.14 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ERC1155_ABI = void 0;
exports.ERC1155_ABI = [
'function balanceOf(address account, uint256 id) view returns (uint256)',
'function balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[] memory)',
'function setApprovalForAll(address operator, bool approved)',
'function isApprovedForAll(address account, address operator) view returns (bool)',
'function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data)',
'function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data)',
'function uri(uint256 _id) external view returns (string memory)',
'event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 amount)',
'event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] amounts)',
'event ApprovalForAll(address indexed account, address indexed operator, bool approved)',
'event URI(string value, uint256 indexed id)',
];