Contract 0x4763ce00cec794931908bd299f63c9d13bbd8f67 11

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6a3f694ad3b33e4629f154b07795ce077ff1b30fdd7164c5850eacd9684ea3b90x08b2da0a360448562023-10-05 2:11:446 mins ago0xdb361538eca53b0648de495eb7b87f2ed9a45e08 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00471005726.5
0x2c2224daebe65aa1f6ee2fbf0efbc44c6169509e8a2fee82b9a9ef1a57403de90x08b2da0a360448392023-10-05 2:11:107 mins ago0xdb361538eca53b0648de495eb7b87f2ed9a45e08 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00456176326.5
0x74406c8e8316fb15159ab15a932aa5ff82b45d48b9aaf0d2413c46b68804085d0x08b2da0a360441502023-10-05 1:48:0730 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.0041108525
0x865a10cc5511281a99c842eb5699870bc2ffb9f688e07e98e193a7221d703cbb0x08b2da0a360441362023-10-05 1:47:4031 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00436112525
0x1caedca6f9f20a82ef2bcbcd36157ff4a303e06f8a3254765daf75e8aa2720020x08b2da0a360441232023-10-05 1:47:1431 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00436107525
0x38c7160786db1792271ac14ae83e25b55c1480bf1bccf3ecdea60c697059baf20x08b2da0a360441092023-10-05 1:46:4631 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00437607525
0x8b6dc2b5c90e103b28bd5f120aed439cc9ed11219a806e342597506393a507300x08b2da0a360440942023-10-05 1:46:1632 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.004361725
0x3d4aa3402ffdcf9cfcbac00e4a2613c1b2fdaa22afbebe189d76c5e7492983410x08b2da0a360440802023-10-05 1:45:4832 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.004572525
0xdb54807c6d8076b7db5371ed14c447aa523e31f6bb38cdb1e8e17506c9a067fb0x08b2da0a360440562023-10-05 1:44:5933 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00398623541125.026748103
0x7dc1192f94e646b7e31e9b25cff16ce3f8b446fa62fb3cf6286304701e1d35f10x08b2da0a360440532023-10-05 1:44:5433 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00451500054525.026748103
0x30ee0709086e6774ad619706d7be91915d592807d0feac334366d643cb279c8c0x08b2da0a360440392023-10-05 1:44:2634 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00437132525
0xe1d24856bae540746e6f1e361e554e66bcd1ccf099ef9ac95565df45d2a25d6d0x08b2da0a360440392023-10-05 1:44:2634 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00443082525
0xb17086c175ad972318abbe8f14e3777cbf37ea29c5118959b957f2b2622d7aad0x08b2da0a360440252023-10-05 1:43:5834 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.0043016525
0x84112f0885d680f3f40af7bd1c64e56303cb13a76da18e79a72d731cfd1f89d10x08b2da0a360440162023-10-05 1:43:4035 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00557777525
0x55052d2682ac7f0fbb1a088450a334522e2cc5203d65e7a110c3ce8a8dd557c30x08b2da0a360440132023-10-05 1:43:3435 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00444232525
0xfc8ae48776ffe4f744a715d2fedcae6e17dee6c1d450ec8a651a68345b53828a0x08b2da0a360440072023-10-05 1:43:2135 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.004370925
0x81eea509a05788bf3a3be1b7adb600cd8b05de0a868bcb0c6f63158f79b1b28a0x08b2da0a360440002023-10-05 1:43:0835 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.005717325
0xe62f0aadaf5de91c70b17ceed18cece7e6471f18786239b02fc1eee97c866cfa0x08b2da0a360439942023-10-05 1:42:5635 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00557859813525.001
0xa94f13e16bc0d60e7f6b0c4225adf7123e5f4044535cb6c30de38d3e14338cba0x08b2da0a360439932023-10-05 1:42:5435 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00437327525
0x8c6a47c2951284ccf3f3324879ebed389d0752fa3782a59e8424ca3ea265d8680x08b2da0a360439762023-10-05 1:42:2036 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.004561418526.5
0xad0d78329567b976884819c572c5dfeccc27951701f395a2449a156da1b7bf270x08b2da0a360439562023-10-05 1:41:4037 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.004633922526.5
0x167bbfd96a4d714f90bd173ccd4f8083fcd0312c4e6de65065128d3b73c3cba30x08b2da0a360433612023-10-05 1:21:3857 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.0045464926
0xa1ac3d93161a7d53402adf6a0d95cf42b779ce8cc21e130e833e79dfd2770c790x08b2da0a360433522023-10-05 1:21:2057 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.005576825
0x461736ac912a271a3b5968a8ba05d488ac24dbca9bb1cb73a4723019d5d54d0f0x08b2da0a360433402023-10-05 1:20:5657 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.00564662525
0x16e200235ce2173013c1e0d444de7407aa374117b27c1acefd8c839eda8717ca0x08b2da0a360433332023-10-05 1:20:4058 mins ago0xcd19a5475983d85bdb77991fa886105743a9cbe9 IN  0x4763ce00cec794931908bd299f63c9d13bbd8f670 AVAX0.005577725
[ Download CSV Export 
Parent Txn Hash Block From To Value
Index Block
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BatchVRFCoordinatorV2

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 2 : BatchVRFCoordinatorV2.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

import "./VRFTypes.sol";

/**
 * @title BatchVRFCoordinatorV2
 * @notice The BatchVRFCoordinatorV2 contract acts as a proxy to write many random responses to the
 *   provided VRFCoordinatorV2 contract efficiently in a single transaction.
 */
contract BatchVRFCoordinatorV2 {
  VRFCoordinatorV2 public immutable COORDINATOR;

  event ErrorReturned(uint256 indexed requestId, string reason);
  event RawErrorReturned(uint256 indexed requestId, bytes lowLevelData);

  constructor(address coordinatorAddr) {
    COORDINATOR = VRFCoordinatorV2(coordinatorAddr);
  }

  /**
   * @notice fulfills multiple randomness requests with the provided proofs and commitments.
   * @param proofs the randomness proofs generated by the VRF provider.
   * @param rcs the request commitments corresponding to the randomness proofs.
   */
  function fulfillRandomWords(VRFTypes.Proof[] memory proofs, VRFTypes.RequestCommitment[] memory rcs) external {
    require(proofs.length == rcs.length, "input array arg lengths mismatch");
    for (uint256 i = 0; i < proofs.length; i++) {
      try COORDINATOR.fulfillRandomWords(proofs[i], rcs[i]) returns (
        uint96 /* payment */
      ) {
        continue;
      } catch Error(string memory reason) {
        uint256 requestId = getRequestIdFromProof(proofs[i]);
        emit ErrorReturned(requestId, reason);
      } catch (bytes memory lowLevelData) {
        uint256 requestId = getRequestIdFromProof(proofs[i]);
        emit RawErrorReturned(requestId, lowLevelData);
      }
    }
  }

  /**
   * @notice Returns the proving key hash associated with this public key.
   * @param publicKey the key to return the hash of.
   */
  function hashOfKey(uint256[2] memory publicKey) internal pure returns (bytes32) {
    return keccak256(abi.encode(publicKey));
  }

  /**
   * @notice Returns the request ID of the request associated with the given proof.
   * @param proof the VRF proof provided by the VRF oracle.
   */
  function getRequestIdFromProof(VRFTypes.Proof memory proof) internal pure returns (uint256) {
    bytes32 keyHash = hashOfKey(proof.pk);
    return uint256(keccak256(abi.encode(keyHash, proof.seed)));
  }
}

interface VRFCoordinatorV2 {
  function fulfillRandomWords(VRFTypes.Proof memory proof, VRFTypes.RequestCommitment memory rc)
    external
    returns (uint96);
}

File 2 of 2 : VRFTypes.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

/**
 * @title VRFTypes
 * @notice The VRFTypes library is a collection of types that is required to fulfill VRF requests
 * 	on-chain. They must be ABI-compatible with the types used by the coordinator contracts.
 */
library VRFTypes {
  // ABI-compatible with VRF.Proof.
  // This proof is used for VRF V2.
  struct Proof {
    uint256[2] pk;
    uint256[2] gamma;
    uint256 c;
    uint256 s;
    uint256 seed;
    address uWitness;
    uint256[2] cGammaWitness;
    uint256[2] sHashWitness;
    uint256 zInv;
  }

  // ABI-compatible with VRFCoordinatorV2.RequestCommitment.
  // This is only used for VRF V2.
  struct RequestCommitment {
    uint64 blockNum;
    uint64 subId;
    uint32 callbackGasLimit;
    uint32 numWords;
    address sender;
  }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "metadata": {
    "bytecodeHash": "none"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"coordinatorAddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"ErrorReturned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"lowLevelData","type":"bytes"}],"name":"RawErrorReturned","type":"event"},{"inputs":[],"name":"COORDINATOR","outputs":[{"internalType":"contract VRFCoordinatorV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256[2]","name":"pk","type":"uint256[2]"},{"internalType":"uint256[2]","name":"gamma","type":"uint256[2]"},{"internalType":"uint256","name":"c","type":"uint256"},{"internalType":"uint256","name":"s","type":"uint256"},{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"address","name":"uWitness","type":"address"},{"internalType":"uint256[2]","name":"cGammaWitness","type":"uint256[2]"},{"internalType":"uint256[2]","name":"sHashWitness","type":"uint256[2]"},{"internalType":"uint256","name":"zInv","type":"uint256"}],"internalType":"struct VRFTypes.Proof[]","name":"proofs","type":"tuple[]"},{"components":[{"internalType":"uint64","name":"blockNum","type":"uint64"},{"internalType":"uint64","name":"subId","type":"uint64"},{"internalType":"uint32","name":"callbackGasLimit","type":"uint32"},{"internalType":"uint32","name":"numWords","type":"uint32"},{"internalType":"address","name":"sender","type":"address"}],"internalType":"struct VRFTypes.RequestCommitment[]","name":"rcs","type":"tuple[]"}],"name":"fulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b50604051610bab380380610bab83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051610b1a610091600039600081816055015261011d0152610b1a6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806308b2da0a1461003b5780633b2bcbf114610050575b600080fd5b61004e610049366004610655565b6100a0565b005b6100777f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b805182511461010f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f696e70757420617272617920617267206c656e67746873206d69736d61746368604482015260640160405180910390fd5b60005b8251811015610320577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663af198b97848381518110610169576101696107b4565b6020026020010151848481518110610183576101836107b4565b60200260200101516040518363ffffffff1660e01b81526004016101a892919061080c565b6020604051808303816000875af1925050508015610201575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526101fe9181019061090c565b60015b61030c5761020d61093a565b806308c379a0036102915750610221610955565b8061022c5750610293565b6000610250858481518110610243576102436107b4565b6020026020010151610325565b9050807f4dcab4ce0e741a040f7e0f9b880557f8de685a9520d4bfac272a81c3c3802b2e836040516102829190610a6a565b60405180910390a2505061030e565b505b3d8080156102bd576040519150601f19603f3d011682016040523d82523d6000602084013e6102c2565b606091505b5060006102da858481518110610243576102436107b4565b9050807fbfd42bb5a1bf8153ea750f66ea4944f23f7b9ae51d0462177b9769aa652b61b5836040516102829190610a6a565b505b8061031881610a7d565b915050610112565b505050565b6000806103358360000151610394565b9050808360800151604051602001610357929190918252602082015260400190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905280516020909101209392505050565b6000816040516020016103a79190610adc565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60a0810181811067ffffffffffffffff82111715610413576104136103c4565b60405250565b610120810167ffffffffffffffff81118282101715610413576104136103c4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff8211171561047e5761047e6103c4565b6040525050565b60405161049181610419565b90565b600067ffffffffffffffff8211156104ae576104ae6103c4565b5060051b60200190565b600082601f8301126104c957600080fd5b6040516040810181811067ffffffffffffffff821117156104ec576104ec6103c4565b806040525080604084018581111561050357600080fd5b845b8181101561051d578035835260209283019201610505565b509195945050505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461054c57600080fd5b919050565b803567ffffffffffffffff8116811461054c57600080fd5b803563ffffffff8116811461054c57600080fd5b600082601f83011261058e57600080fd5b8135602061059b82610494565b604080516105a9838261043a565b84815260a094850287018401948482019350888611156105c857600080fd5b8488015b868110156106475781818b0312156105e45760008081fd5b83516105ef816103f3565b6105f882610551565b8152610605878301610551565b87820152610614858301610569565b858201526060610625818401610569565b908201526080610636838201610528565b9082015285529385019381016105cc565b509098975050505050505050565b6000806040838503121561066857600080fd5b823567ffffffffffffffff8082111561068057600080fd5b818501915085601f83011261069457600080fd5b813560206106a182610494565b6040516106ae828261043a565b8381526101a0938402860183019383820192508a8511156106ce57600080fd5b958301955b848710156107865780878c0312156106eb5760008081fd5b6106f3610485565b6106fd8c896104b8565b815261070c8c60408a016104b8565b85820152608080890135604083015260a0808a0135606084015260c0808b01358385015260e0925061073f838c01610528565b8285015261010091506107548f838d016104b8565b908401526107668e6101408c016104b8565b9183019190915261018089013590820152835295860195918301916106d3565b509650508601359250508082111561079d57600080fd5b506107aa8582860161057d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b8060005b60028110156108065781518452602093840193909101906001016107e7565b50505050565b6000610240820190506108208285516107e3565b602084015161083260408401826107e3565b5060408401516080830152606084015160a0830152608084015160c083015273ffffffffffffffffffffffffffffffffffffffff60a08501511660e083015260c0840151610100610885818501836107e3565b60e0860151915061089a6101408501836107e3565b85015161018084015250825167ffffffffffffffff9081166101a08401526020840151166101c0830152604083015163ffffffff9081166101e0840152606084015116610200830152608083015173ffffffffffffffffffffffffffffffffffffffff166102208301525b9392505050565b60006020828403121561091e57600080fd5b81516bffffffffffffffffffffffff8116811461090557600080fd5b600060033d11156104915760046000803e5060005160e01c90565b600060443d10156109635790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156109b157505050505090565b82850191508151818111156109c95750505050505090565b843d87010160208285010111156109e35750505050505090565b6109f26020828601018761043a565b509095945050505050565b60008151808452602060005b82811015610a24578481018201518682018301528101610a09565b82811115610a355760008284880101525b50807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401168601019250505092915050565b60208152600061090560208301846109fd565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610ad5577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b60408101818360005b6002811015610b04578151835260209283019290910190600101610ae5565b5050509291505056fea164736f6c634300080d000a000000000000000000000000d5d517abe5cf79b7e95ec98db0f0277788aff634

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000d5d517abe5cf79b7e95ec98db0f0277788aff634

-----Decoded View---------------
Arg [0] : coordinatorAddr (address): 0xd5d517abe5cf79b7e95ec98db0f0277788aff634

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d5d517abe5cf79b7e95ec98db0f0277788aff634


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.