StudServiceV3
Verified contract
Active on
Ethereum with 1,479 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x3dbd…dcf6
0xff48…b64e
0xde44…1bf5
Balances ($0.00)
No balances found for "StudServiceV3"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11823660 | 4 years ago | | | 0 | 0.0075085200 | |
| 11823660 | 4 years ago | | | 0 | 0.0073269000 | |
| 11823660 | 4 years ago | | | 0 | 0.0075085200 | |
| 11823660 | 4 years ago | | | 0 | 0.0073269000 | |
| 11823603 | 4 years ago | | | 0 | 0.010011360 | |
| 11823603 | 4 years ago | | | 0 | 0.0097692000 | |
| 11823076 | 4 years ago | | | 0 | 0.010011360 | |
| 11823075 | 4 years ago | | | 0 | 0.0097692000 | |
| 11823066 | 4 years ago | | | 0 | 0.0097692000 | |
| 11823065 | 4 years ago | | | 0 | 0.0095270400 |
ABI
ABI objects
Getter at block 21321857
getBaseFee() view returns (uint256)
50000000000000000
getBreedTypes() view returns (address)
0xde44367e55ef98332e7a61ec14482175eea11bf5
getCore() view returns (address)
0xff488fd296c38a24cccc60b43dd7254810dab64e
getHorsesInStud() view returns (uint256[])
[8727, 1651, 8504, 8486, 7927, 653, 480, 7652, 7557]
getOraclizeUrl() view returns (string)
json(https://api.zed.run/api/v1/remove_horse_stud).horse_id
getQueryPrice() view returns (uint256)
4008475869200390
Read-only
getBloodLineWeight(bytes32 bloodLine) view returns (uint256)
getBreedTypeWeight(bytes32 breedType) view returns (uint256)
getHorseIndex(uint256 horseId) view returns (uint256)
getMatingPrice(uint256 horseId) view returns (uint256)
getMinimumBreedPrice(uint256 horseId) view returns (uint256)
getStudInfo(uint256 horseId) view returns (bool, uint256, uint256, uint256)
getStudTime(uint256 horseId) view returns (uint256)
isCurentlyInStud(uint256 horseId) view returns (bool)
isHorseInStud(uint256 horseId) view returns (bool)
isStudServiceAdmin(address account) view returns (bool)
isTimeframeExist(uint256 duration) view returns (bool)
State-modifying
Events __callback(bytes32 _id, string _result)
__callback(bytes32 myid, string result, bytes proof)
addStudServiceAdmin(address account)
addTimeFrame(uint256 secondsFrame)
adminPutInStud(uint256 horseId, uint256 matingPrice, uint256 duration) payable
adminRemoveHorseFromstud(uint256 horseId)
makeAvailableForStud(uint256 horseId)
putInStud(uint256 horseId, uint256 matingPrice, uint256 duration) payable
removeFromStud(uint256 horseId)
removeTimeFrame(uint256 secondsFrame)
renounceStudServiceAdmin()
setBaseFee(uint256 baseFee)
setBloodlineWeight(bytes32 bloodType, uint256 weight)
setBreedTypeWeight(bytes32 breedType, uint256 weight)
setBreedTypesAddress(address breedTypes)
setCoreAddress(address core)
setOraclizeUrl(string newUrl)
HorseDisabledFromStud(uint256 horseId, uint256 timestamp)
HorseInStud(uint256 horseId, uint256 matingPrice, uint256 duration, uint256 timestamp)
HorseRemovedFromStud(uint256 horseId, uint256 timestamp)
StudServiceAdminAdded(address indexed account)
StudServiceAdminRemoved(address indexed account)
constructor(address core, address breedTypes)
fallback()
This contract contains no error objects.