Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give proper implmementations to the functions in AbstractFunctions #620

Open
Soupstraw opened this issue Dec 3, 2024 · 0 comments
Open

Comments

@Soupstraw
Copy link
Contributor

Soupstraw commented Dec 3, 2024

The HSAbstractFunctions implementation for AbstractFunctions has a lot of placeholder functions. These functions should be implemented properly or passed to the spec from the implementation via ExternalFunctions.

instance
HSAbstractFunctions : AbstractFunctions
HSAbstractFunctions = record
{ Implementation
; txscriptfee = λ tt y 0
; serSize = λ v v
; indexOfImp = record
{ indexOfDCert = λ _ _ nothing
; indexOfRwdAddr = λ _ _ nothing
; indexOfTxIn = λ _ _ nothing
; indexOfPolicyId = λ _ _ nothing
; indexOfVote = λ _ _ nothing
; indexOfProposal = λ _ _ nothing
}
; runPLCScript = λ _ _ _ _ false
; scriptSize = λ _ 0
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant