1

I've seen a couple smart contracts (eg the contract decompiled in this answer) use this pattern: Code[Code.Length:Code.Length+x]

This surprised me because I would expect Code.Length to mark the end of Code. What would the result of this expression be and what could the purpose be for using this pattern?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.