You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now both realAddress and userAddress are set to 0x0 for scheduled data.
However, you may want to know which user transaction triggered the primitive. There are essentially 3 addresses you care about:
The address of the contract that emitted the event (can get this from getDynamicExtensionByName. Not sure why this utility function is specific to dynamic primitives though)
The address that created the transaction
The address that called the smart contract (note: in EVM these can be different due to internal transactions. In Cardano, these are always the game)
However, it's not clear we should actually do anything about this because:
Things work differently depending on the chain, which makes this a bit tricky to decide what is the most logical way to handle this
It's not strictly required since you can just include whatever address you care about inside the event you emit
It's something we can think about though if a compelling use-case comes up
The text was updated successfully, but these errors were encountered:
Right now both
realAddress
anduserAddress
are set to0x0
for scheduled data.However, you may want to know which user transaction triggered the primitive. There are essentially 3 addresses you care about:
getDynamicExtensionByName
. Not sure why this utility function is specific to dynamic primitives though)However, it's not clear we should actually do anything about this because:
It's something we can think about though if a compelling use-case comes up
The text was updated successfully, but these errors were encountered: