mirror of
				https://github.com/0glabs/0g-storage-node.git
				synced 2025-11-04 08:37:27 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			84 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "_format": "hh-sol-artifact-1",
 | 
						|
  "contractName": "DummyReward",
 | 
						|
  "sourceName": "contracts/test/DummyReward.sol",
 | 
						|
  "abi": [
 | 
						|
    {
 | 
						|
      "anonymous": false,
 | 
						|
      "inputs": [
 | 
						|
        {
 | 
						|
          "indexed": true,
 | 
						|
          "internalType": "uint256",
 | 
						|
          "name": "pricingIndex",
 | 
						|
          "type": "uint256"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "indexed": true,
 | 
						|
          "internalType": "address",
 | 
						|
          "name": "beneficiary",
 | 
						|
          "type": "address"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "indexed": true,
 | 
						|
          "internalType": "bytes32",
 | 
						|
          "name": "minerId",
 | 
						|
          "type": "bytes32"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "indexed": false,
 | 
						|
          "internalType": "uint256",
 | 
						|
          "name": "amount",
 | 
						|
          "type": "uint256"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "name": "DistributeReward",
 | 
						|
      "type": "event"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "inputs": [
 | 
						|
        {
 | 
						|
          "internalType": "uint256",
 | 
						|
          "name": "pricingIndex",
 | 
						|
          "type": "uint256"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "internalType": "address payable",
 | 
						|
          "name": "beneficiary",
 | 
						|
          "type": "address"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "internalType": "bytes32",
 | 
						|
          "name": "minerId",
 | 
						|
          "type": "bytes32"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "name": "claimMineReward",
 | 
						|
      "outputs": [],
 | 
						|
      "stateMutability": "nonpayable",
 | 
						|
      "type": "function"
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "inputs": [
 | 
						|
        {
 | 
						|
          "internalType": "uint256",
 | 
						|
          "name": "beforeLength",
 | 
						|
          "type": "uint256"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "internalType": "uint256",
 | 
						|
          "name": "uploadSectors",
 | 
						|
          "type": "uint256"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "name": "fillReward",
 | 
						|
      "outputs": [],
 | 
						|
      "stateMutability": "payable",
 | 
						|
      "type": "function"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "bytecode": "0x608060405234801561001057600080fd5b5060f18061001f6000396000f3fe60806040526004361060265760003560e01c806359e9670014602b578063b7a3c04c14603c575b600080fd5b603a60363660046058565b5050565b005b348015604757600080fd5b50603a60533660046079565b505050565b60008060408385031215606a57600080fd5b50508035926020909101359150565b600080600060608486031215608d57600080fd5b8335925060208401356001600160a01b038116811460aa57600080fd5b92959294505050604091909101359056fea264697066735822122007df1d2999303b3bd440ba3a542d4ba59318a16f2d33109615522c89b0f299dc64736f6c63430008100033",
 | 
						|
  "deployedBytecode": "0x60806040526004361060265760003560e01c806359e9670014602b578063b7a3c04c14603c575b600080fd5b603a60363660046058565b5050565b005b348015604757600080fd5b50603a60533660046079565b505050565b60008060408385031215606a57600080fd5b50508035926020909101359150565b600080600060608486031215608d57600080fd5b8335925060208401356001600160a01b038116811460aa57600080fd5b92959294505050604091909101359056fea264697066735822122007df1d2999303b3bd440ba3a542d4ba59318a16f2d33109615522c89b0f299dc64736f6c63430008100033",
 | 
						|
  "linkReferences": {},
 | 
						|
  "deployedLinkReferences": {}
 | 
						|
}
 |