Skip to content

Instantly share code, notes, and snippets.

@SuperCipher
Last active April 5, 2022 09:38
Show Gist options
  • Save SuperCipher/38f584b25b211465bbb72e3409013435 to your computer and use it in GitHub Desktop.
Save SuperCipher/38f584b25b211465bbb72e3409013435 to your computer and use it in GitHub Desktop.
exchange 0.0.2 integrate test
{"chain_id": 80001, "node_rpc": "https://polygon-mumbai.infura.io/v3/529aa367cbba407a98c67577f8b986a0", "Wallets": {"exchange": {"address": "0x7A51BA6C12AF5010FE596Ad5496823C1d96E7DD9"}, "seller": {"address": "0xe00BCef53DD14AE43963cfdd824e78c1858Ea3a8"}}, "exchange_contract": {"abi": [{"inputs": [], "name": "apiVersion", "outputs": [{"name": "", "type": "string"}], "stateMutability": "pure", "type": "function"}, {"inputs": [{"name": "_contract_owner", "type": "address"}, {"name": "_platform_signing_account", "type": "address"}, {"name": "_seller_eoa", "type": "address"}], "outputs": [], "stateMutability": "nonpayable", "type": "constructor", "name": "constructor"}, {"inputs": [{"name": "_platform_signature", "type": "bytes"}, {"name": "_buyer_address", "type": "address"}, {"components": [{"name": "seller_eoa", "type": "address"}, {"name": "sale_currency", "type": "address"}, {"name": "erc721_addresses", "type": "(address,uint256,uint256)[3]"}, {"name": "collection_start_time", "type": "uint256"}, {"name": "collection_end_time", "type": "uint256"}], "name": "_seller_info", "type": "tuple"}, {"name": "_seller_signature", "type": "bytes"}, {"name": "_buy_orders", "type": "(address,uint256)[3]"}, {"name": "_quota_limit", "type": "uint256"}, {"name": "_expected_quota", "type": "uint256"}, {"name": "_total_price", "type": "uint256"}, {"name": "_order_expiration", "type": "uint256"}], "name": "transactNFT", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_contract_owner", "type": "address"}], "name": "change_contract_owner", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_platform_signing_account", "type": "address"}], "name": "change_platform_signing_account", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "self_destruct", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "contract_owner", "outputs": [{"name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "platform_signing_account", "outputs": [{"name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "seller_eoa", "outputs": [{"name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [{"name": "", "type": "bytes32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "arg0", "type": "address"}], "name": "buyerToQuotaUsed", "outputs": [{"name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}], "address": "0x69007aD4ccc1fa410B3C82a607c550214e8389a0", "tx": "0xf835ad05a6479290ef43174775dd67e7da4b32ba6bde3c27a8b9ac33f168453e", "block_number": 25808881, "block_hash": "0x88fd52e9db7d857f35264a70b47e142c20e9d32fb0afcaa735c018f2a1d94596"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment