Skip to main content
Became Hot Network Question
added 113 characters in body
Source Link

dYdX has an event called LogDeposit(address indexed accountOwner, uint256 accountNumber, uint256 market, BalanceUpdate update, address from) within their SoloMargin contract. I am trying to get the signature hash for this using the following code:

from Crypto.Hash import keccak
keccak_hash = keccak.new(digest_bits=256)
keccak_hash.update(b'LogDeposit(address,uint256,uint256,BalanceUpdate,address)')
print(keccak_hash.hexdigest())

This produces the following signature hash: ad66b490ac5d24d41e7e33a2a9ac6645bf66b577553f31d1e2917df2f83f15a6. However, I do not think it is right. When I search for this topic in etherscan nothing is returned.

I am wondering if it has to do with the BalanceUpdate parameter. I am used to searching for the other types such as address and uint256, but this one I haven't seen and do not know if I am doing this right.

dYdX has an event called LogDeposit(address indexed accountOwner, uint256 accountNumber, uint256 market, BalanceUpdate update, address from). I am trying to get the signature hash for this using the following code:

from Crypto.Hash import keccak
keccak_hash = keccak.new(digest_bits=256)
keccak_hash.update(b'LogDeposit(address,uint256,uint256,BalanceUpdate,address)')
print(keccak_hash.hexdigest())

This produces the following signature hash: ad66b490ac5d24d41e7e33a2a9ac6645bf66b577553f31d1e2917df2f83f15a6. However, I do not think it is right. When I search for this topic in etherscan nothing is returned.

I am wondering if it has to do with the BalanceUpdate parameter. I am used to searching for the other types such as address and uint256, but this one I haven't seen and do not know if I am doing this right.

dYdX has an event called LogDeposit(address indexed accountOwner, uint256 accountNumber, uint256 market, BalanceUpdate update, address from) within their SoloMargin contract. I am trying to get the signature hash for this using the following code:

from Crypto.Hash import keccak
keccak_hash = keccak.new(digest_bits=256)
keccak_hash.update(b'LogDeposit(address,uint256,uint256,BalanceUpdate,address)')
print(keccak_hash.hexdigest())

This produces the following signature hash: ad66b490ac5d24d41e7e33a2a9ac6645bf66b577553f31d1e2917df2f83f15a6. However, I do not think it is right. When I search for this topic in etherscan nothing is returned.

I am wondering if it has to do with the BalanceUpdate parameter. I am used to searching for the other types such as address and uint256, but this one I haven't seen and do not know if I am doing this right.

deleted 61 characters in body
Source Link

dYdX has an event called LogDeposit(address indexed accountOwner, uint256 accountNumber, uint256 market, BalanceUpdate update, address from). I am trying to get the signature hash for this using the following code:

from Crypto.Hash import keccak
keccak_hash = keccak.new(digest_bits=256)
# keccak_hash.update(b'LogDeposit(address,uint256,uint256,BalanceUpdate,address)')
keccak_hash.update(b'LogCall(address,uint256,address)')
 
print(keccak_hash.hexdigest())

This produces the following signature hash: ad66b490ac5d24d41e7e33a2a9ac6645bf66b577553f31d1e2917df2f83f15a6. However, I do not think it is right. When I search for this topic in etherscan nothing is returned.

I am wondering if it has to do with the BalanceUpdate parameter. I am used to searching for the other types such as address and uint256, but this one I haven't seen and do not know if I am doing this right.

dYdX has an event called LogDeposit(address indexed accountOwner, uint256 accountNumber, uint256 market, BalanceUpdate update, address from). I am trying to get the signature hash for this using the following code:

from Crypto.Hash import keccak
keccak_hash = keccak.new(digest_bits=256)
# keccak_hash.update(b'LogDeposit(address,uint256,uint256,BalanceUpdate,address)')
keccak_hash.update(b'LogCall(address,uint256,address)')
 
print(keccak_hash.hexdigest())

This produces the following signature hash: ad66b490ac5d24d41e7e33a2a9ac6645bf66b577553f31d1e2917df2f83f15a6. However, I do not think it is right. When I search for this topic in etherscan nothing is returned.

I am wondering if it has to do with the BalanceUpdate parameter. I am used to searching for the other types such as address and uint256, but this one I haven't seen and do not know if I am doing this right.

dYdX has an event called LogDeposit(address indexed accountOwner, uint256 accountNumber, uint256 market, BalanceUpdate update, address from). I am trying to get the signature hash for this using the following code:

from Crypto.Hash import keccak
keccak_hash = keccak.new(digest_bits=256)
keccak_hash.update(b'LogDeposit(address,uint256,uint256,BalanceUpdate,address)')
print(keccak_hash.hexdigest())

This produces the following signature hash: ad66b490ac5d24d41e7e33a2a9ac6645bf66b577553f31d1e2917df2f83f15a6. However, I do not think it is right. When I search for this topic in etherscan nothing is returned.

I am wondering if it has to do with the BalanceUpdate parameter. I am used to searching for the other types such as address and uint256, but this one I haven't seen and do not know if I am doing this right.

Source Link

dYdX event log signature hash

dYdX has an event called LogDeposit(address indexed accountOwner, uint256 accountNumber, uint256 market, BalanceUpdate update, address from). I am trying to get the signature hash for this using the following code:

from Crypto.Hash import keccak
keccak_hash = keccak.new(digest_bits=256)
# keccak_hash.update(b'LogDeposit(address,uint256,uint256,BalanceUpdate,address)')
keccak_hash.update(b'LogCall(address,uint256,address)')

print(keccak_hash.hexdigest())

This produces the following signature hash: ad66b490ac5d24d41e7e33a2a9ac6645bf66b577553f31d1e2917df2f83f15a6. However, I do not think it is right. When I search for this topic in etherscan nothing is returned.

I am wondering if it has to do with the BalanceUpdate parameter. I am used to searching for the other types such as address and uint256, but this one I haven't seen and do not know if I am doing this right.